# Latest

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

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

**Page:** 1041

---

## [Bay Area meetup reminder](https://forum.ansible.com/t/bay-area-meetup-reminder/12972)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 0\
**Last updated:** [June 17, 2013, 4:54pm UTC](https://forum.ansible.com/t/bay-area-meetup-reminder/12972 "2013-06-17T16:54:04Z")

</div>

This Thursday, in Mountain View: https://www.eventbrite.com/event/7036623731

---

## [Sets arithmetic, variable precedence](https://forum.ansible.com/t/sets-arithmetic-variable-precedence/12949)

<div class="topic-metadata">

**Author:** [@martin\_f\_krafft](https://forum.ansible.com/u/martin_f_krafft)\
**Replies:** 10\
**Last updated:** [June 17, 2013, 4:01am UTC](https://forum.ansible.com/t/sets-arithmetic-variable-precedence/12949 "2013-06-17T04:01:03Z")

</div>

Hello list, how would you approach the following problem, which I have simplified for the purpose of this list? Let's assume you want Ansible to configure NTP clients on your hosts. Let's assume furthermore that you…

---

## [Compare files on client and server machine](https://forum.ansible.com/t/compare-files-on-client-and-server-machine/12971)

<div class="topic-metadata">

**Author:** [@celine](https://forum.ansible.com/u/celine)\
**Replies:** 1\
**Last updated:** [June 17, 2013, 3:47am UTC](https://forum.ansible.com/t/compare-files-on-client-and-server-machine/12971 "2013-06-17T03:47:34Z")

</div>

Hi, I am new to ansible and hope that my post can be approved soon. I wish to ask if ansible is capable of comparing files between client and server machine. I did the action statement below but it compares between 2 …

---

## [run command in background](https://forum.ansible.com/t/run-command-in-background/12970)

<div class="topic-metadata">

**Author:** [@Balazs\_Pocze](https://forum.ansible.com/u/Balazs_Pocze)\
**Replies:** 1\
**Last updated:** [June 16, 2013, 9:15pm UTC](https://forum.ansible.com/t/run-command-in-background/12970 "2013-06-16T21:15:06Z")

</div>

Hi Guys! I'm trying to solve this, but I have a few hours of frustrating trying, and I am out of ideas. Basic background: I just wanna to clone some mysql servers through the network, and here is a simple way to do …

---

## [Execute multiple commands in a single SSH session?](https://forum.ansible.com/t/execute-multiple-commands-in-a-single-ssh-session/12962)

<div class="topic-metadata">

**Author:** [@Will\_McLendon](https://forum.ansible.com/u/Will_McLendon)\
**Replies:** 13\
**Last updated:** [June 16, 2013, 2:43am UTC](https://forum.ansible.com/t/execute-multiple-commands-in-a-single-ssh-session/12962 "2013-06-16T02:43:37Z")

</div>

Hello, I’m coming from the network admin side, and I am hoping to use Ansible to solve some issues we have (eg Customer calls and says “change the SNMP string on all 300 of our routers/switches. By the way, they’re not …

---

## [Playbook variables, documentation confusing](https://forum.ansible.com/t/playbook-variables-documentation-confusing/12965)

<div class="topic-metadata">

**Author:** [@martin\_f\_krafft](https://forum.ansible.com/u/martin_f_krafft)\
**Replies:** 6\
**Last updated:** [June 15, 2013, 4:19pm UTC](https://forum.ansible.com/t/playbook-variables-documentation-confusing/12965 "2013-06-15T16:19:44Z")

</div>

Dear list, I am using the tip of Ansible development: % ansible-playbook --version ansible-playbook 1.3 (devel 0bd5fe9951) last updated 2013/06/15 16:06:49 (GMT +200) On http://www.ansibleworks.com/docs/playbooks…

---

## [Undefined variables](https://forum.ansible.com/t/undefined-variables/12963)

<div class="topic-metadata">

**Author:** [@martin\_f\_krafft](https://forum.ansible.com/u/martin_f_krafft)\
**Replies:** 11\
**Last updated:** [June 15, 2013, 4:18pm UTC](https://forum.ansible.com/t/undefined-variables/12963 "2013-06-15T16:18:05Z")

</div>

Hello, When Ansible encounters an undefined variable, it just uses the variable instance verbatim, e.g.: % ansible yellow.virt.local -m debug -a 'msg=x${foo}x' yellow.virt.local | success \>\> { "msg": "x${foo…

---

## [Variables not working in playbook](https://forum.ansible.com/t/variables-not-working-in-playbook/12966)

<div class="topic-metadata">

**Author:** [@martin\_f\_krafft](https://forum.ansible.com/u/martin_f_krafft)\
**Replies:** 3\
**Last updated:** [June 15, 2013, 4:13pm UTC](https://forum.ansible.com/t/variables-not-working-in-playbook/12966 "2013-06-15T16:13:04Z")

</div>

Dear list, I am a bit stomped. I have the following test playbook: % cat test.yml - hosts: localhost gather\_facts: yes vars: msg: test tasks: - debug: msg=$msg - debug: msg=$ans…

---

## [sending vars to templates](https://forum.ansible.com/t/sending-vars-to-templates/12959)

<div class="topic-metadata">

**Author:** [@Arunoda\_Susiripala](https://forum.ansible.com/u/Arunoda_Susiripala)\
**Replies:** 1\
**Last updated:** [June 14, 2013, 8:39pm UTC](https://forum.ansible.com/t/sending-vars-to-templates/12959 "2013-06-14T20:39:51Z")

</div>

Hi, I have a simple template and it uses some vars. now I need to send vars to it when invoking the actions I’m planning to use the single template in few places, so I need send vars in each template action call? Is i…

---

## [How can I determine child groups](https://forum.ansible.com/t/how-can-i-determine-child-groups/12960)

<div class="topic-metadata">

**Author:** [@Jurgen\_Haas1](https://forum.ansible.com/u/Jurgen_Haas1)\
**Replies:** 4\
**Last updated:** [June 14, 2013, 3:41pm UTC](https://forum.ansible.com/t/how-can-i-determine-child-groups/12960 "2013-06-14T15:41:37Z")

</div>

Is there a variable which tells me which groups are childs of what other groups?

---

## [gather facts from multiple groups?](https://forum.ansible.com/t/gather-facts-from-multiple-groups/12902)

<div class="topic-metadata">

**Author:** [@James8](https://forum.ansible.com/u/James8)\
**Replies:** 24\
**Last updated:** [June 14, 2013, 12:22pm UTC](https://forum.ansible.com/t/gather-facts-from-multiple-groups/12902 "2013-06-14T12:22:17Z")

</div>

Hi, Its been a while since I have posted, which is really a compliment to all the awesome modules. We have signifcan number of our projects covered by ansible. Has anyone seen an issue gathering facts and getting Au…

---

## [Dependancies and Plays?](https://forum.ansible.com/t/dependancies-and-plays/12957)

<div class="topic-metadata">

**Author:** [@Dylan\_Martin](https://forum.ansible.com/u/Dylan_Martin)\
**Replies:** 2\
**Last updated:** [June 14, 2013, 12:17am UTC](https://forum.ansible.com/t/dependancies-and-plays/12957 "2013-06-14T00:17:42Z")

</div>

Hi everyone. Is there a good way to specify that a play needs whatever is done by another play? EG I have a playbook that installs apache. I have another playbook that installs a wiki and yet another that installs wordp…

---

## [Getting the local IP](https://forum.ansible.com/t/getting-the-local-ip/12956)

<div class="topic-metadata">

**Author:** [@Mathias\_Bogaert](https://forum.ansible.com/u/Mathias_Bogaert)\
**Replies:** 7\
**Last updated:** [June 13, 2013, 8:37pm UTC](https://forum.ansible.com/t/getting-the-local-ip/12956 "2013-06-13T20:37:03Z")

</div>

Hi, How do I insert my public facing IP (from the machine running Ansible aka client)? Usecase: insert my own IP in sshguard’s whitelist. Thanks! Mathias

---

## [issue with copy module](https://forum.ansible.com/t/issue-with-copy-module/12950)

<div class="topic-metadata">

**Author:** [@jean-marc\_pouchoulon](https://forum.ansible.com/u/jean-marc_pouchoulon)\
**Replies:** 6\
**Last updated:** [June 13, 2013, 6:46pm UTC](https://forum.ansible.com/t/issue-with-copy-module/12950 "2013-06-13T18:46:51Z")

</div>

hi, I’v got a weird problem with copy module. sudo ansible-playbook ./test.yml -e host=vmldmz PLAY \[vmldmz-haproxy4\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* GATHERING FACTS \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Feature idea: remember notifications when errors occured](https://forum.ansible.com/t/feature-idea-remember-notifications-when-errors-occured/12955)

<div class="topic-metadata">

**Author:** [@Jurgen\_Haas1](https://forum.ansible.com/u/Jurgen_Haas1)\
**Replies:** 2\
**Last updated:** [June 13, 2013, 6:38pm UTC](https://forum.ansible.com/t/feature-idea-remember-notifications-when-errors-occured/12955 "2013-06-13T18:38:49Z")

</div>

When playbooks are failing, Ansible is kind enough to write a temporary script which contains the list of hosts that haven’t been completed because of some failures in one of the playbooks. However, what I’m somehow mis…

---

## [New 1.2 feature -- group\_vars and host\_vars can now be stored with playbooks](https://forum.ansible.com/t/new-1-2-feature-group-vars-and-host-vars-can-now-be-stored-with-playbooks/12892)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 10\
**Last updated:** [June 13, 2013, 3:22pm UTC](https://forum.ansible.com/t/new-1-2-feature-group-vars-and-host-vars-can-now-be-stored-with-playbooks/12892 "2013-06-13T15:22:56Z")

</div>

Small feature added for 1.2 I’ve made it possible to now be able to store group\_vars/ and host\_vars/ directories of variable data alongside playbooks, in addition to requiring them to be in inventory paths. In fact, bo…

---

## [multiple security groups for ec2 instance](https://forum.ansible.com/t/multiple-security-groups-for-ec2-instance/12953)

<div class="topic-metadata">

**Author:** [@Daniil\_Sobol](https://forum.ansible.com/u/Daniil_Sobol)\
**Replies:** 0\
**Last updated:** [June 13, 2013, 6:09am UTC](https://forum.ansible.com/t/multiple-security-groups-for-ec2-instance/12953 "2013-06-13T06:09:08Z")

</div>

Seems that my previous post was lost somewhere. So I want to ask again: is there some way to map ec2 instance to multiple security groups? If not, please approve my pull request: https://github.com/ansible/ansible/pull/…

---

## [Thinking about new modules: test module](https://forum.ansible.com/t/thinking-about-new-modules-test-module/12948)

<div class="topic-metadata">

**Author:** [@shirou](https://forum.ansible.com/u/shirou)\
**Replies:** 7\
**Last updated:** [June 13, 2013, 3:01am UTC](https://forum.ansible.com/t/thinking-about-new-modules-test-module/12948 "2013-06-13T03:01:37Z")

</div>

Hi all, I have a new module idea but no implementation at all. This email is just a problem presentation. Recently, DevOps people in Japan begin to use serverspec\[1\] to test target host environment. The serverspec i…

---

## [roles and non-relative dirs](https://forum.ansible.com/t/roles-and-non-relative-dirs/12951)

<div class="topic-metadata">

**Author:** [@Seth\_Vidal](https://forum.ansible.com/u/Seth_Vidal)\
**Replies:** 1\
**Last updated:** [June 12, 2013, 8:35pm UTC](https://forum.ansible.com/t/roles-and-non-relative-dirs/12951 "2013-06-12T20:35:08Z")

</div>

Our structure is such that I want to refer to roles in non-relative dirs. A canonical absolute path: for files, tasks, etc I defined a global vars file that I load that has $files and $tasks etc, defined. I wanted to…

---

## [HP-UX facts](https://forum.ansible.com/t/hp-ux-facts/12908)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 2\
**Last updated:** [June 12, 2013, 8:33pm UTC](https://forum.ansible.com/t/hp-ux-facts/12908 "2013-06-12T20:33:42Z")

</div>

Thanks very much, will take a look at this shortly!

---

## [Ansible 1.2 released!](https://forum.ansible.com/t/ansible-1-2-released/12937)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 3\
**Last updated:** [June 12, 2013, 8:31pm UTC](https://forum.ansible.com/t/ansible-1-2-released/12937 "2013-06-12T20:31:50Z")

</div>

Hi everyone! I’m super happy to announce that Ansible 1.2 (“Right Now”) is now released! Right now! You can read details here: http://blog.ansibleworks.com The new content will be up on PyPi very shortly also, and is …

---

## [Ansible on CentOS/RHEL 5](https://forum.ansible.com/t/ansible-on-centos-rhel-5/12924)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 4\
**Last updated:** [June 12, 2013, 2:00pm UTC](https://forum.ansible.com/t/ansible-on-centos-rhel-5/12924 "2013-06-12T14:00:49Z")

</div>

Got it. So it seemed from your initial question you were trying to get it to work with yum, where yum is installed on the “box” python. Apologies as I was confused. (It is definitely true that you only need 2.4 or high…

---

## [Ansible surviving restarting of networking service](https://forum.ansible.com/t/ansible-surviving-restarting-of-networking-service/12946)

<div class="topic-metadata">

**Author:** [@Mathias\_Bogaert](https://forum.ansible.com/u/Mathias_Bogaert)\
**Replies:** 1\
**Last updated:** [June 12, 2013, 10:47am UTC](https://forum.ansible.com/t/ansible-surviving-restarting-of-networking-service/12946 "2013-06-12T10:47:36Z")

</div>

Hi, I’ve completed a template for interface bonding on some of my metal (Ubuntu Server 13.04), see here: https://gist.github.com/analytically/5760207 The next step is to restart networking to let the bond take over. B…

---

## [Problem with: yum module, with\_items, composite-variable](https://forum.ansible.com/t/problem-with-yum-module-with-items-composite-variable/12439)

<div class="topic-metadata">

**Author:** [@Asad\_Khan](https://forum.ansible.com/u/Asad_Khan)\
**Replies:** 14\
**Last updated:** [June 12, 2013, 10:44am UTC](https://forum.ansible.com/t/problem-with-yum-module-with-items-composite-variable/12439 "2013-06-12T10:44:31Z")

</div>

Variable resolution seems to fail on the second iteration of a with\_items used with yum, but only if the variable is “composite” i.e. an expression involving other variables. Here is the playbook: vars: pkg\_list: jd…

---

## [when\_string and when and errors going from ansible 1.1 to 1.2](https://forum.ansible.com/t/when-string-and-when-and-errors-going-from-ansible-1-1-to-1-2/12945)

<div class="topic-metadata">

**Author:** [@Seth\_Vidal](https://forum.ansible.com/u/Seth_Vidal)\
**Replies:** 0\
**Last updated:** [June 11, 2013, 6:16pm UTC](https://forum.ansible.com/t/when-string-and-when-and-errors-going-from-ansible-1-1-to-1-2/12945 "2013-06-11T18:16:21Z")

</div>

Hi, I had some conditional tasks like this: when\_string: ${inventory\_hostname} not in ${result.list\_vms} They worked in 1.1 In 1.2 they aborted with: fatal: \[127.0.0.1\] =\> Conditional expression must evaluate to Tru…

---

## [trouble with custom facts](https://forum.ansible.com/t/trouble-with-custom-facts/12939)

<div class="topic-metadata">

**Author:** [@David\_Birdsong](https://forum.ansible.com/u/David_Birdsong)\
**Replies:** 9\
**Last updated:** [June 11, 2013, 5:57pm UTC](https://forum.ansible.com/t/trouble-with-custom-facts/12939 "2013-06-11T17:57:54Z")

</div>

I’ve written a simple module that spits back ansible facts, but I can’t get the following task to show any of the values on debug. Here’s the output from test-module:

---

## [Command module and idempotancy.](https://forum.ansible.com/t/command-module-and-idempotancy/12943)

<div class="topic-metadata">

**Author:** [@Steve\_Irvine](https://forum.ansible.com/u/Steve_Irvine)\
**Replies:** 4\
**Last updated:** [June 11, 2013, 5:46pm UTC](https://forum.ansible.com/t/command-module-and-idempotancy/12943 "2013-06-11T17:46:36Z")

</div>

Hi all, I’m writing a playbook to install check\_mk. There are packages in the Ubuntu repos but they are old. The developers provide up to date debs, so currently I use the copy module to drop the deb on the target then…

---

## [How can I force the process of fact gathering?](https://forum.ansible.com/t/how-can-i-force-the-process-of-fact-gathering/12936)

<div class="topic-metadata">

**Author:** [@pancho\_horrillo](https://forum.ansible.com/u/pancho_horrillo)\
**Replies:** 4\
**Last updated:** [June 11, 2013, 4:36pm UTC](https://forum.ansible.com/t/how-can-i-force-the-process-of-fact-gathering/12936 "2013-06-11T16:36:23Z")

</div>

Hi! Scenario: An ansible play modifies the facts of a box (i.e., by configuring the secondary interface of an AWS instance), rendering the previously gathered facts for that box inaccurate (the IP address of the sec…

---

## [S3 module - attempting to create folders via dest parameter ?](https://forum.ansible.com/t/s3-module-attempting-to-create-folders-via-dest-parameter/12903)

<div class="topic-metadata">

**Author:** [@Brice\_Burgess](https://forum.ansible.com/u/Brice_Burgess)\
**Replies:** 6\
**Last updated:** [June 11, 2013, 2:55pm UTC](https://forum.ansible.com/t/s3-module-attempting-to-create-folders-via-dest-parameter/12903 "2013-06-11T14:55:41Z")

</div>

Is it possible to use the S3 module to create folders within a bucket? I am using ansible 1.1 and am getting; msg: unsupported parameter for module: dest The docs lead me to believe that the dest param is available to…

---

## [Unable to execute ansible-playbook (when using shebang header with multiple options)](https://forum.ansible.com/t/unable-to-execute-ansible-playbook-when-using-shebang-header-with-multiple-options/12944)

<div class="topic-metadata">

**Author:** [@rabbit](https://forum.ansible.com/u/rabbit)\
**Replies:** 0\
**Last updated:** [June 11, 2013, 1:22pm UTC](https://forum.ansible.com/t/unable-to-execute-ansible-playbook-when-using-shebang-header-with-multiple-options/12944 "2013-06-11T13:22:52Z")

</div>

Hi guys, When I executing ansible-playbook command manually it works like a charm: $ ansible-playbook --inventory-file=…/hosts --private-key=/root/.ssh/ansible.private.key test.yml PLAY \[fakegroup\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

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

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