# Latest

**URL:** https://forum.ansible.com/latest.md?page=1019

[Latest](https://forum.ansible.com/latest.md) · [Categories](https://forum.ansible.com/categories.md) · [Tags](https://forum.ansible.com/tags.md)

**Page:** 1020

---

## [Copy: ability to let the action fail if remote file is modified?](https://forum.ansible.com/t/copy-ability-to-let-the-action-fail-if-remote-file-is-modified/13638)

<div class="topic-metadata">

**Author:** [@Fredrik\_Jonson](https://forum.ansible.com/u/Fredrik_Jonson)\
**Replies:** 2\
**Last updated:** [October 9, 2013, 3:17pm UTC](https://forum.ansible.com/t/copy-ability-to-let-the-action-fail-if-remote-file-is-modified/13638 "2013-10-09T15:17:24Z")

</div>

Hi all, I'm concerned that I'll deploy configuration files with the copy action, and later on manually edit the files on the server\[0\] and forget about copying the changes to the source file in mercurial. Next time I …

---

## [Generating Lists & Dictionaries on the fly? Is it possible?](https://forum.ansible.com/t/generating-lists-dictionaries-on-the-fly-is-it-possible/13637)

<div class="topic-metadata">

**Author:** [@Dan7](https://forum.ansible.com/u/Dan7)\
**Replies:** 7\
**Last updated:** [October 9, 2013, 3:07pm UTC](https://forum.ansible.com/t/generating-lists-dictionaries-on-the-fly-is-it-possible/13637 "2013-10-09T15:07:08Z")

</div>

Hey, I’m interested in generating variables/facts on the fly. I want to gather those facts from the server and put them into an iteratable list of dictionaries. Is it possible? I know about register. But I don’t know …

---

## [Error when using the route53 module for multiple hosts](https://forum.ansible.com/t/error-when-using-the-route53-module-for-multiple-hosts/13537)

<div class="topic-metadata">

**Author:** [@Joost\_Cassee](https://forum.ansible.com/u/Joost_Cassee)\
**Replies:** 4\
**Last updated:** [October 9, 2013, 2:56pm UTC](https://forum.ansible.com/t/error-when-using-the-route53-module-for-multiple-hosts/13537 "2013-10-09T14:56:26Z")

</div>

Hi, When I use the route53 module to create DNS records for multiple hosts, I sometimes get this error: “The request was rejected because Route 53 was still processing a prior request.” It would be useful if this erro…

---

## [question relative to include + with\_items deprecation in 1.5](https://forum.ansible.com/t/question-relative-to-include-with-items-deprecation-in-1-5/13642)

<div class="topic-metadata">

**Author:** [@Jerome\_Wagner](https://forum.ansible.com/u/Jerome_Wagner)\
**Replies:** 6\
**Last updated:** [October 9, 2013, 2:41pm UTC](https://forum.ansible.com/t/question-relative-to-include-with-items-deprecation-in-1-5/13642 "2013-10-09T14:41:41Z")

</div>

Hello, I saw the deprecation warning appear today. Will this also apply to " role + with\_items " ? I have no “include + with\_items” but several “role + with\_item” and the deprecation warning also shows on my roles + w…

---

## [Child groups in External Inventory](https://forum.ansible.com/t/child-groups-in-external-inventory/13644)

<div class="topic-metadata">

**Author:** [@Phillip\_Verheyden](https://forum.ansible.com/u/Phillip_Verheyden)\
**Replies:** 2\
**Last updated:** [October 9, 2013, 2:20pm UTC](https://forum.ansible.com/t/child-groups-in-external-inventory/13644 "2013-10-09T14:20:59Z")

</div>

I have customized the Rackspace inventory a bit to provide a bit better grouping for my specific scenario. Basically, I have special naming conventions for my servers: --- So if I need a production Tomcat and Apache se…

---

## [group\_by vs. register for OS decision](https://forum.ansible.com/t/group-by-vs-register-for-os-decision/13643)

<div class="topic-metadata">

**Author:** [@hakim\_greenland](https://forum.ansible.com/u/hakim_greenland)\
**Replies:** 1\
**Last updated:** [October 9, 2013, 2:20pm UTC](https://forum.ansible.com/t/group-by-vs-register-for-os-decision/13643 "2013-10-09T14:20:46Z")

</div>

Hello list, I have a question concerning the group\_by example on git https://github.com/ansible/ansible-examples/blob/master/language\_features/group\_by.yml I would like to see the register example too: " # Addition…

---

## [yum command and variable fed to with\_items](https://forum.ansible.com/t/yum-command-and-variable-fed-to-with-items/13627)

<div class="topic-metadata">

**Author:** [@Marc\_Trudel](https://forum.ansible.com/u/Marc_Trudel)\
**Replies:** 3\
**Last updated:** [October 9, 2013, 1:07pm UTC](https://forum.ansible.com/t/yum-command-and-variable-fed-to-with-items/13627 "2013-10-09T13:07:14Z")

</div>

Greetings, I am trying to copy a number of packages to a remote machine for install using something like this: https://gist.github.com/stelcheck/6881400 For some reason, the copy iterates over the elements in the pack…

---

## [Path to group\_vars etc. when inventory is a directory](https://forum.ansible.com/t/path-to-group-vars-etc-when-inventory-is-a-directory/13631)

<div class="topic-metadata">

**Author:** [@Grzegorz\_Nosek](https://forum.ansible.com/u/Grzegorz_Nosek)\
**Replies:** 4\
**Last updated:** [October 9, 2013, 12:10am UTC](https://forum.ansible.com/t/path-to-group-vars-etc-when-inventory-is-a-directory/13631 "2013-10-09T00:10:32Z")

</div>

Hi, I have the following setup: .../group\_vars/all.yml etc .../hosts/static \<- an ini file .../hosts/database \<- a script ansible-playbook -i .../hosts (v1.2, didn't try 1.3 yet in this scenario) fails to find the g…

---

## [add\_host with Rackspace Provisioning Multiple Servers](https://forum.ansible.com/t/add-host-with-rackspace-provisioning-multiple-servers/13634)

<div class="topic-metadata">

**Author:** [@Phillip\_Verheyden](https://forum.ansible.com/u/Phillip_Verheyden)\
**Replies:** 1\
**Last updated:** [October 9, 2013, 12:09am UTC](https://forum.ansible.com/t/add-host-with-rackspace-provisioning-multiple-servers/13634 "2013-10-09T00:09:16Z")

</div>

Sorry if this got double-sent; it didn’t seem to work from my other email address. I’m running into some trouble with Rackspace provisioning. I am attempting to provision a new host and then add it to the in-memory host …

---

## [Ansible 1.3.3 update](https://forum.ansible.com/t/ansible-1-3-3-update/13635)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 0\
**Last updated:** [October 8, 2013, 11:21pm UTC](https://forum.ansible.com/t/ansible-1-3-3-update/13635 "2013-10-08T23:21:12Z")

</div>

Quick update… I’ve pushed Ansible 1.3.3 to pip, which is mostly the work of James Cammarata, and contains very few updates. This primarily improves reliability of accelerate mode addressing some bugs we identified with …

---

## [add\_host after Rackspace Provisioning](https://forum.ansible.com/t/add-host-after-rackspace-provisioning/13633)

<div class="topic-metadata">

**Author:** [@Phillip\_Verheyden](https://forum.ansible.com/u/Phillip_Verheyden)\
**Replies:** 5\
**Last updated:** [October 8, 2013, 8:27pm UTC](https://forum.ansible.com/t/add-host-after-rackspace-provisioning/13633 "2013-10-08T20:27:16Z")

</div>

I’m running into some trouble with Rackspace provisioning. I am attempting to provision a new host and then add it to the in-memory host to continue with the rest of the plays. The provisioning looks like this: name: …

---

## [Ansible 1.3.2 doesn't seem to work with ec2 samples?](https://forum.ansible.com/t/ansible-1-3-2-doesnt-seem-to-work-with-ec2-samples/13619)

<div class="topic-metadata">

**Author:** [@Simon\_Matic\_Langford](https://forum.ansible.com/u/Simon_Matic_Langford)\
**Replies:** 11\
**Last updated:** [October 8, 2013, 4:12pm UTC](https://forum.ansible.com/t/ansible-1-3-2-doesnt-seem-to-work-with-ec2-samples/13619 "2013-10-08T16:12:05Z")

</div>

Hi, I’ve just clean installed ansible 1.3.2 from rquillo’s PPA on my Ubuntu 12.04 system. I created a playbook file (ansible-ec2.yml) with the following contents from the ec2 module documentation: Launch instances, ru…

---

## [use ansible command machine as packager](https://forum.ansible.com/t/use-ansible-command-machine-as-packager/13629)

<div class="topic-metadata">

**Author:** [@Jerome\_Wagner](https://forum.ansible.com/u/Jerome_Wagner)\
**Replies:** 1\
**Last updated:** [October 8, 2013, 3:08pm UTC](https://forum.ansible.com/t/use-ansible-command-machine-as-packager/13629 "2013-10-08T15:08:13Z")

</div>

Hello, I would like to use ansible to create/prepare packages (yum packages, .tgz files, …) before they are deployed to other hosts. do you think it is a good idea to have 127.0.0.1 in the inventory and target this hos…

---

## [Ansible HA](https://forum.ansible.com/t/ansible-ha/13621)

<div class="topic-metadata">

**Author:** [@Nick\_Maslov](https://forum.ansible.com/u/Nick_Maslov)\
**Replies:** 6\
**Last updated:** [October 8, 2013, 3:03pm UTC](https://forum.ansible.com/t/ansible-ha/13621 "2013-10-08T15:03:23Z")

</div>

Hi guys, I\`m in the process of implementation of Ansible playbooks for Openstack/Ceph rollout. As part of our requirements, we have HA to pretty much anything. I believe, that HA is not applicable for Ansible, since it…

---

## [Does add\_host modify hosts file or is this an in-memory operation?](https://forum.ansible.com/t/does-add-host-modify-hosts-file-or-is-this-an-in-memory-operation/12298)

<div class="topic-metadata">

**Author:** [@John\_Wong](https://forum.ansible.com/u/John_Wong)\
**Replies:** 18\
**Last updated:** [October 8, 2013, 3:00pm UTC](https://forum.ansible.com/t/does-add-host-modify-hosts-file-or-is-this-an-in-memory-operation/12298 "2013-10-08T15:00:13Z")

</div>

The documentation doesn’t specify it, and the library is just documentation. Actually as a side question, where is the logic of this add\_host module?? But anyway, If my hosts file has \[live-webserver:children\] live-m…

---

## [Strange behavior with set\_fact](https://forum.ansible.com/t/strange-behavior-with-set-fact/13620)

<div class="topic-metadata">

**Author:** [@Marc\_Trudel](https://forum.ansible.com/u/Marc_Trudel)\
**Replies:** 1\
**Last updated:** [October 8, 2013, 2:54pm UTC](https://forum.ansible.com/t/strange-behavior-with-set-fact/13620 "2013-10-08T14:54:54Z")

</div>

Greetings, I am having one really weird behavior that I cannot seem to be able to explain with set\_fact. Consider this YML file in one of my role: https://gist.github.com/stelcheck/6866552 For some reason, if I try t…

---

## [Anyone around DC interested in hosting a meetup before LISA? (Nov 5)](https://forum.ansible.com/t/anyone-around-dc-interested-in-hosting-a-meetup-before-lisa-nov-5/13630)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 0\
**Last updated:** [October 8, 2013, 1:54pm UTC](https://forum.ansible.com/t/anyone-around-dc-interested-in-hosting-a-meetup-before-lisa-nov-5/13630 "2013-10-08T13:54:36Z")

</div>

Hi guys, We’re going to be in DC for LISA and are looking to do a meetup with the DevOps DC crowd. We may have some options on locations for Tuesday, Nov 5, but wanted to check to see if any users here might like to h…

---

## [Feature Poll: Configuration option 'additional\_roles\_path' for common roles](https://forum.ansible.com/t/feature-poll-configuration-option-additional-roles-path-for-common-roles/13563)

<div class="topic-metadata">

**Author:** [@Thomas\_Omans](https://forum.ansible.com/u/Thomas_Omans)\
**Replies:** 2\
**Last updated:** [October 8, 2013, 4:48am UTC](https://forum.ansible.com/t/feature-poll-configuration-option-additional-roles-path-for-common-roles/13563 "2013-10-08T04:48:51Z")

</div>

In my usage of roles, I’ve found that I have a collection of project specific roles (db server, deploy webapp, etc) and another class of more common, shared roles (install via tarball, sync through git, etc). In a given…

---

## [Recursively chown'ing a directory](https://forum.ansible.com/t/recursively-chowning-a-directory/13626)

<div class="topic-metadata">

**Author:** [@C\_Morgan\_Hamill](https://forum.ansible.com/u/C_Morgan_Hamill)\
**Replies:** 0\
**Last updated:** [October 8, 2013, 2:41am UTC](https://forum.ansible.com/t/recursively-chowning-a-directory/13626 "2013-10-08T02:41:03Z")

</div>

You can also do chmod -R u=rwX,g=rX,o=rX /some/dir. See man chmod for explanation. I was going to submit a patch months ago to make the mode argument in the file, copy, etc. modules take symbolic args as above, but I go…

---

## [Sublime Text and syntax highlighting](https://forum.ansible.com/t/sublime-text-and-syntax-highlighting/13625)

<div class="topic-metadata">

**Author:** [@C\_Morgan\_Hamill](https://forum.ansible.com/u/C_Morgan_Hamill)\
**Replies:** 0\
**Last updated:** [October 8, 2013, 2:36am UTC](https://forum.ansible.com/t/sublime-text-and-syntax-highlighting/13625 "2013-10-08T02:36:02Z")

</div>

You can add the .yml extension. And I think .yaml works too. I wrote the patch, so it’s likely I’m right. But you never know…

---

## [use of system env var](https://forum.ansible.com/t/use-of-system-env-var/13622)

<div class="topic-metadata">

**Author:** [@Jean\_Philippe\_Caruan](https://forum.ansible.com/u/Jean_Philippe_Caruan)\
**Replies:** 1\
**Last updated:** [October 7, 2013, 10:35pm UTC](https://forum.ansible.com/t/use-of-system-env-var/13622 "2013-10-07T22:35:59Z")

</div>

Hi, I would like to use the gem module to install buildr. This gem needs to have an envvar defined. The command is : sudo env JAVA\_HOME=$JAVA\_HOME gem install buildr -v 1.4.3 (see http://buildr.apache.org/installing.…

---

## [Hi all, it's development-branch bug squashing week!](https://forum.ansible.com/t/hi-all-its-development-branch-bug-squashing-week/13623)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 0\
**Last updated:** [October 7, 2013, 4:16pm UTC](https://forum.ansible.com/t/hi-all-its-development-branch-bug-squashing-week/13623 "2013-10-07T16:16:26Z")

</div>

Hi, All of us are engaged in massive bug squashing all week long this week. If you would like to help out and would like to join the process, stop by ansible on irc.freenode.net and we’ll help with questions and help i…

---

## [accelerate and hg trust problem](https://forum.ansible.com/t/accelerate-and-hg-trust-problem/13618)

<div class="topic-metadata">

**Author:** [@Li\_Ming\_Tsai](https://forum.ansible.com/u/Li_Ming_Tsai)\
**Replies:** 6\
**Last updated:** [October 7, 2013, 1:44pm UTC](https://forum.ansible.com/t/accelerate-and-hg-trust-problem/13618 "2013-10-07T13:44:52Z")

</div>

Hi, I have accelerate=true in one of my playbooks, however pip install with a hg module will fail with a trust issue like this: hosts: webservers user: XXX accelerate: true Obtaining flickrapi from hg+https://bitbu…

---

## [Playbook for git deployments](https://forum.ansible.com/t/playbook-for-git-deployments/13616)

<div class="topic-metadata">

**Author:** [@Sam\_S](https://forum.ansible.com/u/Sam_S)\
**Replies:** 7\
**Last updated:** [October 7, 2013, 12:33pm UTC](https://forum.ansible.com/t/playbook-for-git-deployments/13616 "2013-10-07T12:33:27Z")

</div>

I realize there’s a module for deploying code from a Git repo. However, I’m looking for advice on how to handle the post deployment tasks. My main concern is having the “.git” folder in the documentroot on production ser…

---

## [Using ansbile to launch a long running process on a remote host](https://forum.ansible.com/t/using-ansbile-to-launch-a-long-running-process-on-a-remote-host/13617)

<div class="topic-metadata">

**Author:** [@Soumya\_Simanta](https://forum.ansible.com/u/Soumya_Simanta)\
**Replies:** 1\
**Last updated:** [October 6, 2013, 9:44pm UTC](https://forum.ansible.com/t/using-ansbile-to-launch-a-long-running-process-on-a-remote-host/13617 "2013-10-06T21:44:38Z")

</div>

I’m new to Ansible. I’m trying to start a process on a remote host using a very simple Ansbile Playbook. Here is how my playbook looks like - hosts: somehost gather\_facts: no user: ubuntu tasks: - name: …

---

## [Could this be a bug in copy module?](https://forum.ansible.com/t/could-this-be-a-bug-in-copy-module/13591)

<div class="topic-metadata">

**Author:** [@Steven\_Truong](https://forum.ansible.com/u/Steven_Truong)\
**Replies:** 8\
**Last updated:** [October 6, 2013, 2:29pm UTC](https://forum.ansible.com/t/could-this-be-a-bug-in-copy-module/13591 "2013-10-06T14:29:36Z")

</div>

Hi all, I happened to name my file that has a string “raw” in it and copy module failed to do the right thing. Is there a list of reserved keywords that we should not use? Thanks, Steven. print module\_args run the c…

---

## [Read a file content as a variable](https://forum.ansible.com/t/read-a-file-content-as-a-variable/13615)

<div class="topic-metadata">

**Author:** [@Yapeng\_Wu](https://forum.ansible.com/u/Yapeng_Wu)\
**Replies:** 5\
**Last updated:** [October 6, 2013, 4:21am UTC](https://forum.ansible.com/t/read-a-file-content-as-a-variable/13615 "2013-10-06T04:21:57Z")

</div>

Hello, I am new to Ansible. I am trying to figure out if I could do the following step: run command A; A will generate a file:B read content B copy a template file C to another location change content C with content B…

---

## [Accessing a list of dictionaries, within a list of dictionaries, using with\_items](https://forum.ansible.com/t/accessing-a-list-of-dictionaries-within-a-list-of-dictionaries-using-with-items/13612)

<div class="topic-metadata">

**Author:** [@Robert\_Warner](https://forum.ansible.com/u/Robert_Warner)\
**Replies:** 1\
**Last updated:** [October 5, 2013, 8:03pm UTC](https://forum.ansible.com/t/accessing-a-list-of-dictionaries-within-a-list-of-dictionaries-using-with-items/13612 "2013-10-05T20:03:18Z")

</div>

I asked in IRC about this, and was asked to post this here. We use ansible to deploy multiple instances of our application. Our playbooks bring in application config data by including a var file that has a list of dicti…

---

## [Docs reorganization now available](https://forum.ansible.com/t/docs-reorganization-now-available/13614)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 2\
**Last updated:** [October 5, 2013, 12:49am UTC](https://forum.ansible.com/t/docs-reorganization-now-available/13614 "2013-10-05T00:49:31Z")

</div>

Hello everyone, I’ve pushed a major update to the documentation that breaks things into many more chapters, and also adds a few more sections to various chapters. http://www.ansibleworks.com/docs/ New sections on look…

---

## [How to use jump/gateway hosts](https://forum.ansible.com/t/how-to-use-jump-gateway-hosts/13603)

<div class="topic-metadata">

**Author:** [@Baron\_Schwartz](https://forum.ansible.com/u/Baron_Schwartz)\
**Replies:** 12\
**Last updated:** [October 5, 2013, 12:20am UTC](https://forum.ansible.com/t/how-to-use-jump-gateway-hosts/13603 "2013-10-05T00:20:21Z")

</div>

Hi! I cannot find anywhere in the documentation how to use a gateway host (jump host, bastion host, etc). All of our hosts are inside an unreachable network with only one host reachable. We SSH to that host and then on t…

[Previous page](https://forum.ansible.com/latest.md?page=1018)

[Next page](https://forum.ansible.com/latest.md?page=1020)
