# Latest

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

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

**Page:** 845

---

## [parallel execution of playbook at a time in multiple hosts](https://forum.ansible.com/t/parallel-execution-of-playbook-at-a-time-in-multiple-hosts/18936)

<div class="topic-metadata">

**Author:** [@anandkumar](https://forum.ansible.com/u/anandkumar)\
**Replies:** 25\
**Last updated:** [August 10, 2015, 3:37pm UTC](https://forum.ansible.com/t/parallel-execution-of-playbook-at-a-time-in-multiple-hosts/18936 "2015-08-10T15:37:05Z")

</div>

While executing the playbook the following output i obtained.Tasks execution below are done in sequential manner. This is not the requirement because if i want to run this playbook in multiple hosts at a time it takes mo…

---

## [Automation comparison: Ansible vs BMC Bladelogic](https://forum.ansible.com/t/automation-comparison-ansible-vs-bmc-bladelogic/18982)

<div class="topic-metadata">

**Author:** [@William\_Leemans](https://forum.ansible.com/u/William_Leemans)\
**Replies:** 0\
**Last updated:** [August 10, 2015, 3:27pm UTC](https://forum.ansible.com/t/automation-comparison-ansible-vs-bmc-bladelogic/18982 "2015-08-10T15:27:57Z")

</div>

Hello, I have been asked by my client to provide a comparison of their automation software (BMC BladeLogic) vs other automation software. Is there some place where I can find (real) functional comparisons between Ansib…

---

## [locale\_gen: Managing locales on RedHat-based systems using deflocale](https://forum.ansible.com/t/locale-gen-managing-locales-on-redhat-based-systems-using-deflocale/18981)

<div class="topic-metadata">

**Author:** [@Will\_F](https://forum.ansible.com/u/Will_F)\
**Replies:** 0\
**Last updated:** [August 10, 2015, 2:24pm UTC](https://forum.ansible.com/t/locale-gen-managing-locales-on-redhat-based-systems-using-deflocale/18981 "2015-08-10T14:24:08Z")

</div>

Ansible’s ‘locale\_gen’ module is useful on Debian-based systems but doesn’t work on modern RedHat-based systems. It relies on the locale-gen utility but that isn’t available on RedHat. However, a similar tool called defl…

---

## [apt module reporting changes when there are none](https://forum.ansible.com/t/apt-module-reporting-changes-when-there-are-none/16026)

<div class="topic-metadata">

**Author:** [@Jeff\_Geerling](https://forum.ansible.com/u/Jeff_Geerling)\
**Replies:** 8\
**Last updated:** [August 10, 2015, 2:10pm UTC](https://forum.ansible.com/t/apt-module-reporting-changes-when-there-are-none/16026 "2015-08-10T14:10:07Z")

</div>

In my Git role on Galaxy, I have the following task to install certain packages on Debian hosts: name: Ensure git’s dependencies are installed (Debian). apt: “pkg={{ item }} state=installed” with\_items: libcurl4-gnut…

---

## [Undocumented feature? (ask\_vault\_pass in ansible.cfg)](https://forum.ansible.com/t/undocumented-feature-ask-vault-pass-in-ansible-cfg/18976)

<div class="topic-metadata">

**Author:** [@Carlos\_A\_Carnero\_Del](https://forum.ansible.com/u/Carlos_A_Carnero_Del)\
**Replies:** 1\
**Last updated:** [August 10, 2015, 2:06pm UTC](https://forum.ansible.com/t/undocumented-feature-ask-vault-pass-in-ansible-cfg/18976 "2015-08-10T14:06:05Z")

</div>

Hi, at my organization almost every playbook uses the vault, so we need to constantly pass the --ask-vault-pass option when invoking Ansible. Thinking that I could save a few characters from being typed by using the ans…

---

## [question in when & with\_nested loops](https://forum.ansible.com/t/question-in-when-with-nested-loops/18978)

<div class="topic-metadata">

**Author:** [@user27](https://forum.ansible.com/u/user27)\
**Replies:** 1\
**Last updated:** [August 10, 2015, 1:13pm UTC](https://forum.ansible.com/t/question-in-when-with-nested-loops/18978 "2015-08-10T13:13:07Z")

</div>

when item\[0\] in item\[1\] with\_nested: \[1,2\] \[1,3\] will make all loop,just like:(1 in 1)? and then also do (1 in 3)?..,but how to let it not do the (1 in 3)?

---

## [question in when with\_nested](https://forum.ansible.com/t/question-in-when-with-nested/18977)

<div class="topic-metadata">

**Author:** [@user27](https://forum.ansible.com/u/user27)\
**Replies:** 0\
**Last updated:** [August 10, 2015, 6:20am UTC](https://forum.ansible.com/t/question-in-when-with-nested/18977 "2015-08-10T06:20:21Z")

</div>

when item\[0\] in item\[1\] with\_nested: - \[1,2\], - \[1,3\],will make all loop,just like:(1 in 1)? and then also do (1 in 3)?..,but how to let it not do the (1 in 3)?

---

## [Ansible Docker module not picking up variables](https://forum.ansible.com/t/ansible-docker-module-not-picking-up-variables/18974)

<div class="topic-metadata">

**Author:** [@Kamesh\_Sampath](https://forum.ansible.com/u/Kamesh_Sampath)\
**Replies:** 1\
**Last updated:** [August 8, 2015, 8:03pm UTC](https://forum.ansible.com/t/ansible-docker-module-not-picking-up-variables/18974 "2015-08-08T20:03:42Z")

</div>

I am a newbie with ansible, I am trying to spin up a docker container with the following command \` name: Swarm node is running docker: docker\_api\_version: 1.18 name: swarm-node image: swarm command: join --addr={…

---

## [rpm\_key: Fedora 22: Failed to find required executable gpg](https://forum.ansible.com/t/rpm-key-fedora-22-failed-to-find-required-executable-gpg/18852)

<div class="topic-metadata">

**Author:** [@Nusenu1](https://forum.ansible.com/u/Nusenu1)\
**Replies:** 2\
**Last updated:** [August 8, 2015, 2:00pm UTC](https://forum.ansible.com/t/rpm-key-fedora-22-failed-to-find-required-executable-gpg/18852 "2015-08-08T14:00:27Z")

</div>

The rpm\_key module fails on Fedora 22 due to missing gpg binary. Fedora 22 has no gpg executable but only gpg2. Is it my responsibility to provide a link gpg -\> gpg2 or should the module cover this out of the box?

---

## [duplicate parameter was found in the argument string](https://forum.ansible.com/t/duplicate-parameter-was-found-in-the-argument-string/18972)

<div class="topic-metadata">

**Author:** [@Bob\_Tanner](https://forum.ansible.com/u/Bob_Tanner)\
**Replies:** 1\
**Last updated:** [August 7, 2015, 11:07pm UTC](https://forum.ansible.com/t/duplicate-parameter-was-found-in-the-argument-string/18972 "2015-08-07T23:07:10Z")

</div>

Stumble upon what I believe might be regression. Playbook looks like this: hosts: nagios\_server vars: backuppc\_client: username: “rsyncbackuppc” shell: “/bin/bash” home: “/var/lib/rsyncbackup” comment: “Backuppc…

---

## [the python mysqldb module is required](https://forum.ansible.com/t/the-python-mysqldb-module-is-required/14251)

<div class="topic-metadata">

**Author:** [@nORKy](https://forum.ansible.com/u/nORKy)\
**Replies:** 7\
**Last updated:** [August 7, 2015, 9:16pm UTC](https://forum.ansible.com/t/the-python-mysqldb-module-is-required/14251 "2015-08-07T21:16:57Z")

</div>

Hi, I have a problem with ansible 1.4.1 and 1.4.3. When I start my playbook with a MySQL\_db task, it says: the python mysqldb module is required But, in the target host, the module is present : $ python Python 2.…

---

## [Update hosts file with host in group](https://forum.ansible.com/t/update-hosts-file-with-host-in-group/18971)

<div class="topic-metadata">

**Author:** [@Roy](https://forum.ansible.com/u/Roy)\
**Replies:** 0\
**Last updated:** [August 7, 2015, 8:10pm UTC](https://forum.ansible.com/t/update-hosts-file-with-host-in-group/18971 "2015-08-07T20:10:35Z")

</div>

Hi, I want to create host file with following requirements My inventory file \[hadoop:children\] hadoop-master hadoop-slave hadoop-gateway \[hadoop-master\] hnn001.test.abc.com hnn002.test.abc.com \[hadoop-slave\] h…

---

## [ansible azure module - deletion of cloud services when deleting vm's](https://forum.ansible.com/t/ansible-azure-module-deletion-of-cloud-services-when-deleting-vms/18897)

<div class="topic-metadata">

**Author:** [@Patrick\_Crews](https://forum.ansible.com/u/Patrick_Crews)\
**Replies:** 2\
**Last updated:** [August 7, 2015, 7:13pm UTC](https://forum.ansible.com/t/ansible-azure-module-deletion-of-cloud-services-when-deleting-vms/18897 "2015-08-07T19:13:51Z")

</div>

Hello, I have been working with the azure module: http://docs.ansible.com/ansible/azure\_module.html and have found it very functional so far. The one request I would have is that the user be provided the option of als…

---

## [crontabs outside /var/spool/crontabs with SysV cron](https://forum.ansible.com/t/crontabs-outside-var-spool-crontabs-with-sysv-cron/18969)

<div class="topic-metadata">

**Author:** [@Nate\_Coraor](https://forum.ansible.com/u/Nate_Coraor)\
**Replies:** 4\
**Last updated:** [August 7, 2015, 6:18pm UTC](https://forum.ansible.com/t/crontabs-outside-var-spool-crontabs-with-sysv-cron/18969 "2015-08-07T18:18:56Z")

</div>

SysV cron (as found on e.g. Solaris and derivatives) works a bit differently than vixie/ISC cron in regards to crontabs other than a user’s self-modifiable crontab. Rather than reading /etc/cron.d/\* and merging them into…

---

## [pre-task attribute error](https://forum.ansible.com/t/pre-task-attribute-error/18967)

<div class="topic-metadata">

**Author:** [@iacopo\_carraro](https://forum.ansible.com/u/iacopo_carraro)\
**Replies:** 0\
**Last updated:** [August 7, 2015, 10:50am UTC](https://forum.ansible.com/t/pre-task-attribute-error/18967 "2015-08-07T10:50:23Z")

</div>

Hello there, i’m trying to include a yml file as a pre-task in my playbook. The problem is i can’t pass custom parameters to it. Here is my code: pre\_tasks: - { include: includes/notifications-start.yml, msg: my-msg …

---

## ['tuple' object has no attribute 'iteritems'](https://forum.ansible.com/t/tuple-object-has-no-attribute-iteritems/18959)

<div class="topic-metadata">

**Author:** [@Randy\_Bush](https://forum.ansible.com/u/Randy_Bush)\
**Replies:** 4\
**Last updated:** [August 7, 2015, 7:28am UTC](https://forum.ansible.com/t/tuple-object-has-no-attribute-iteritems/18959 "2015-08-07T07:28:34Z")

</div>

\- name: run syslog-ng version command: syslog-ng --version register: ver\_out changed\_when: false - name: set ver set\_fact: ver="{{ ver\_out.stdout.splitlines()\[0\]|regex\_replace('\[^\\d.\]+', …

---

## [What version of docker-py to use now with docker 1.7.1?](https://forum.ansible.com/t/what-version-of-docker-py-to-use-now-with-docker-1-7-1/18966)

<div class="topic-metadata">

**Author:** [@Barry\_Kaplan](https://forum.ansible.com/u/Barry_Kaplan)\
**Replies:** 0\
**Last updated:** [August 7, 2015, 7:10am UTC](https://forum.ansible.com/t/what-version-of-docker-py-to-use-now-with-docker-1-7-1/18966 "2015-08-07T07:10:56Z")

</div>

Before 1.9.2 I had to pin docker-py to 1.1.0. Now for 1.9.2 to no error I have to pin docker-py to 1.2.3. But with 1.2.3 I get the following error: ConnectionError(ProtocolError(‘Connection aborted.’, error(111, ‘Conn…

---

## [how do fire handler with condition?](https://forum.ansible.com/t/how-do-fire-handler-with-condition/18950)

<div class="topic-metadata">

**Author:** [@Ichiro\_MATSUNAGA](https://forum.ansible.com/u/Ichiro_MATSUNAGA)\
**Replies:** 6\
**Last updated:** [August 7, 2015, 5:06am UTC](https://forum.ansible.com/t/how-do-fire-handler-with-condition/18950 "2015-08-07T05:06:35Z")

</div>

Hi I want to fire handler with condition. for example, when change httpd.conf, i want to restart apache on staging, bun not want on production. what should i do? inventory/staging httpd\_restart=true inventory/produc…

---

## [how to exit the ansible run, or handle it, when any remote node fails a task](https://forum.ansible.com/t/how-to-exit-the-ansible-run-or-handle-it-when-any-remote-node-fails-a-task/18965)

<div class="topic-metadata">

**Author:** [@Kathy\_Allen](https://forum.ansible.com/u/Kathy_Allen)\
**Replies:** 2\
**Last updated:** [August 6, 2015, 8:15pm UTC](https://forum.ansible.com/t/how-to-exit-the-ansible-run-or-handle-it-when-any-remote-node-fails-a-task/18965 "2015-08-06T20:15:36Z")

</div>

Hi. I’m working on some orchestration where I need to run a task across sets of N remote nodes. If that task fails on any one of the remote nodes, the orchestration needs to halt (or be handled somehow). In my test, I c…

---

## [User module hanging on ansible playbooks](https://forum.ansible.com/t/user-module-hanging-on-ansible-playbooks/18964)

<div class="topic-metadata">

**Author:** [@doug1](https://forum.ansible.com/u/doug1)\
**Replies:** 0\
**Last updated:** [August 6, 2015, 4:11pm UTC](https://forum.ansible.com/t/user-module-hanging-on-ansible-playbooks/18964 "2015-08-06T16:11:08Z")

</div>

Strangely, our user module has begun to hang on creation of new user. We’ve never experienced this before and in most cases, multiple users are using the same ansible repo and some users run into the hang while others do…

---

## [Adding facts module](https://forum.ansible.com/t/adding-facts-module/18963)

<div class="topic-metadata">

**Author:** [@Marcin\_Stolarek](https://forum.ansible.com/u/Marcin_Stolarek)\
**Replies:** 0\
**Last updated:** [August 6, 2015, 3:29pm UTC](https://forum.ansible.com/t/adding-facts-module/18963 "2015-08-06T15:29:40Z")

</div>

Hi, At our site we found interesting to have a facts module providing information about network interfaces configuration available via DHCP. This can be used to write a static configuration basing on current DHCP (we us…

---

## [Ansible not pulling in group\_vars](https://forum.ansible.com/t/ansible-not-pulling-in-group-vars/18894)

<div class="topic-metadata">

**Author:** [@datsun80](https://forum.ansible.com/u/datsun80)\
**Replies:** 8\
**Last updated:** [August 6, 2015, 2:52pm UTC](https://forum.ansible.com/t/ansible-not-pulling-in-group-vars/18894 "2015-08-06T14:52:11Z")

</div>

I moved my inventory files to their own directory and now the group\_vars are not loading. Ansible Docs state: Tip: In Ansible 1.2 or later the group\_vars/ and host\_vars/ directories can exist in either the playbook dir…

---

## [We need WinRM connection options (rehash)](https://forum.ansible.com/t/we-need-winrm-connection-options-rehash/18901)

<div class="topic-metadata">

**Author:** [@Trond\_Hindenes](https://forum.ansible.com/u/Trond_Hindenes)\
**Replies:** 5\
**Last updated:** [August 6, 2015, 1:54pm UTC](https://forum.ansible.com/t/we-need-winrm-connection-options-rehash/18901 "2015-08-06T13:54:35Z")

</div>

Group, I think we need to start discussing what to do with the various WinRM connection options again. Current state: We allow Basic and Kerberos-authenticated connections to the ssl port only (5986 by default) The h…

---

## [Environment specific files](https://forum.ansible.com/t/environment-specific-files/18957)

<div class="topic-metadata">

**Author:** [@ssk](https://forum.ansible.com/u/ssk)\
**Replies:** 2\
**Last updated:** [August 6, 2015, 1:50pm UTC](https://forum.ansible.com/t/environment-specific-files/18957 "2015-08-06T13:50:14Z")

</div>

Hi, Is there a way to arrange all environment specific files ? I have some property files and certificates specific to production and wonder if ansible can identify the same files out of production folders when running …

---

## [Adding facts module](https://forum.ansible.com/t/adding-facts-module/18962)

<div class="topic-metadata">

**Author:** [@Marcin\_Stolarek](https://forum.ansible.com/u/Marcin_Stolarek)\
**Replies:** 0\
**Last updated:** [August 6, 2015, 11:50am UTC](https://forum.ansible.com/t/adding-facts-module/18962 "2015-08-06T11:50:40Z")

</div>

Hi, At our site we found interesting to have a facts module providing information about network interfaces configuration available via DHCP. This can be used to write a static configuration basing on current DHCP (we us…

---

## [update ansible roles from playbook](https://forum.ansible.com/t/update-ansible-roles-from-playbook/18961)

<div class="topic-metadata">

**Author:** [@Vasilii\_Alferov](https://forum.ansible.com/u/Vasilii_Alferov)\
**Replies:** 0\
**Last updated:** [August 6, 2015, 9:21am UTC](https://forum.ansible.com/t/update-ansible-roles-from-playbook/18961 "2015-08-06T09:21:14Z")

</div>

I am working on ansible playbook to deploy our software, which in turn includes some ansible automation part. Can anybody suggest a way to update an ansible role from git before running it, solving bootstrap problem. B…

---

## [Triggering handlers from role dependency](https://forum.ansible.com/t/triggering-handlers-from-role-dependency/18960)

<div class="topic-metadata">

**Author:** [@mike6](https://forum.ansible.com/u/mike6)\
**Replies:** 0\
**Last updated:** [August 6, 2015, 9:05am UTC](https://forum.ansible.com/t/triggering-handlers-from-role-dependency/18960 "2015-08-06T09:05:38Z")

</div>

Hi, I’m trying to find out what would be the best way to trigger a handler if something in a role dependency changed. The scenario is quite common I think, and goes like this: Role jvm Role application1 (depending on…

---

## [how to use variables from one role in another role](https://forum.ansible.com/t/how-to-use-variables-from-one-role-in-another-role/18952)

<div class="topic-metadata">

**Author:** [@Stri](https://forum.ansible.com/u/Stri)\
**Replies:** 2\
**Last updated:** [August 6, 2015, 8:50am UTC](https://forum.ansible.com/t/how-to-use-variables-from-one-role-in-another-role/18952 "2015-08-06T08:50:18Z")

</div>

Hi, How to set a variable inside role A and use it inside role B ? Role B is listed in dependencies sections in meta/main.yml of role A and I see its output then call role A. I have tried to use set\_fact module or regi…

---

## [Serial across groups](https://forum.ansible.com/t/serial-across-groups/18908)

<div class="topic-metadata">

**Author:** [@David\_Edmonds](https://forum.ansible.com/u/David_Edmonds)\
**Replies:** 3\
**Last updated:** [August 6, 2015, 8:21am UTC](https://forum.ansible.com/t/serial-across-groups/18908 "2015-08-06T08:21:03Z")

</div>

Hi, I’m working on a deployment playbook at the moment, for an application made of multiple components running across multiple groups of servers. Most of the servers are load-balanced, so we would like to do rolling upg…

---

## [register and looping](https://forum.ansible.com/t/register-and-looping/18927)

<div class="topic-metadata">

**Author:** [@kevin\_parker](https://forum.ansible.com/u/kevin_parker)\
**Replies:** 3\
**Last updated:** [August 6, 2015, 5:31am UTC](https://forum.ansible.com/t/register-and-looping/18927 "2015-08-06T05:31:14Z")

</div>

i am trying to use “ipmitools” to check power status and based on the result i will start/reset the server.But i am not able to continue as register: and looping are not working .Is there any alternate approach for achie…

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

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