# Latest

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

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

**Page:** 713

---

## [Add module search path with Ansible 2.x API](https://forum.ansible.com/t/add-module-search-path-with-ansible-2-x-api/22928)

<div class="topic-metadata">

**Author:** [@Evelio\_VILA](https://forum.ansible.com/u/Evelio_VILA)\
**Replies:** 0\
**Last updated:** [October 31, 2016, 6:27pm UTC](https://forum.ansible.com/t/add-module-search-path-with-ansible-2-x-api/22928 "2016-10-31T18:27:04Z")

</div>

Hi list, I have a custom python module A that imports another custom module B. In Ansible pre 2.x API I was able to do something like ansible.utils.plugins.action\_loader.add\_package(my.custom.package.B) to add the pac…

---

## [Kerberos Delegation Issues](https://forum.ansible.com/t/kerberos-delegation-issues/22541)

<div class="topic-metadata">

**Author:** [@Surred](https://forum.ansible.com/u/Surred)\
**Replies:** 10\
**Last updated:** [October 31, 2016, 6:06pm UTC](https://forum.ansible.com/t/kerberos-delegation-issues/22541 "2016-10-31T18:06:50Z")

</div>

Hello, I’m having issues getting the double hop scenario working. To test kerberos delegation I have a simple PowerShell script that does a Get-ChildItem on a UNC path. When running the command manually on the host it w…

---

## [Public meeting on core/extras repo merges](https://forum.ansible.com/t/public-meeting-on-core-extras-repo-merges/22906)

<div class="topic-metadata">

**Author:** [@Matt\_Davis](https://forum.ansible.com/u/Matt_Davis)\
**Replies:** 1\
**Last updated:** [October 31, 2016, 5:04pm UTC](https://forum.ansible.com/t/public-meeting-on-core-extras-repo-merges/22906 "2016-10-31T17:04:06Z")

</div>

Hi all, The Ansible core team will be holding a public meeting on Monday Oct 31 at 1700 UTC regarding logistics and timing around merging the ansible-modules-core and ansible-modules-extras GitHub repos back into the ma…

---

## [Public meeting on core/extras repo merges](https://forum.ansible.com/t/public-meeting-on-core-extras-repo-merges/22905)

<div class="topic-metadata">

**Author:** [@Matt\_Davis](https://forum.ansible.com/u/Matt_Davis)\
**Replies:** 1\
**Last updated:** [October 31, 2016, 5:02pm UTC](https://forum.ansible.com/t/public-meeting-on-core-extras-repo-merges/22905 "2016-10-31T17:02:51Z")

</div>

Hi all, The Ansible core team will be holding a public meeting on Monday Oct 31 at 1700 UTC regarding logistics and timing around merging the ansible-modules-core and ansible-modules-extras GitHub repos back into the ma…

---

## [Passing a list in a list to loop](https://forum.ansible.com/t/passing-a-list-in-a-list-to-loop/22909)

<div class="topic-metadata">

**Author:** [@Neil\_Watson](https://forum.ansible.com/u/Neil_Watson)\
**Replies:** 2\
**Last updated:** [October 31, 2016, 4:33pm UTC](https://forum.ansible.com/t/passing-a-list-in-a-list-to-loop/22909 "2016-10-31T16:33:33Z")

</div>

Greetings, Below is an example of a playbook to manager some docker containers. I’ve built a data structure that my tasks can loop over. The trouble is that one task attribute, published\_ports requires a whole list, but…

---

## [How can I filter some host via openstack.py](https://forum.ansible.com/t/how-can-i-filter-some-host-via-openstack-py/22927)

<div class="topic-metadata">

**Author:** [@Yang\_Liu](https://forum.ansible.com/u/Yang_Liu)\
**Replies:** 0\
**Last updated:** [October 31, 2016, 9:02am UTC](https://forum.ansible.com/t/how-can-i-filter-some-host-via-openstack-py/22927 "2016-10-31T09:02:11Z")

</div>

Hi all: I use this https://github.com/ansible/ansible/blob/devel/contrib/inventory/openstack.py to get a dynamic inventory from openstack. /etc/ansible/openstack.py --list will list all host which in a openstack projec…

---

## [ansible install issue](https://forum.ansible.com/t/ansible-install-issue/22926)

<div class="topic-metadata">

**Author:** [@hzj.zh](https://forum.ansible.com/u/hzj.zh)\
**Replies:** 0\
**Last updated:** [October 31, 2016, 8:45am UTC](https://forum.ansible.com/t/ansible-install-issue/22926 "2016-10-31T08:45:09Z")

</div>

hello，all after i installed the ansible2.2.0.0 version with tarball file, but looks like something is missing, when i execute a adhoc, it returns error linux-t9kx:~/ansible-2.2.0.0-0.4.rc4 # ansible --version ansible…

---

## [Git module: How to provide a config setting when cloning a repository](https://forum.ansible.com/t/git-module-how-to-provide-a-config-setting-when-cloning-a-repository/22924)

<div class="topic-metadata">

**Author:** [@Jurgen\_Haas2](https://forum.ansible.com/u/Jurgen_Haas2)\
**Replies:** 0\
**Last updated:** [October 31, 2016, 7:28am UTC](https://forum.ansible.com/t/git-module-how-to-provide-a-config-setting-when-cloning-a-repository/22924 "2016-10-31T07:28:12Z")

</div>

I wonder if it’s possible to provide some config values when initially cloning a repository. The command line would look like this: git clone -b 2.17.0 --recurse-submodules --config filter.lfs.smudge=true https://github…

---

## [synchronize fails with become module](https://forum.ansible.com/t/synchronize-fails-with-become-module/22923)

<div class="topic-metadata">

**Author:** [@ijunaidsubhani](https://forum.ansible.com/u/ijunaidsubhani)\
**Replies:** 0\
**Last updated:** [October 30, 2016, 6:31pm UTC](https://forum.ansible.com/t/synchronize-fails-with-become-module/22923 "2016-10-30T18:31:53Z")

</div>

I am trying to use the synchronize module to copy file from Ansible node to remote node. I want these files to exist as UserB on the remote nodes but I do not have access to UserB directly. Instead UserA has sudo privile…

---

## [Calling other Powershell Module](https://forum.ansible.com/t/calling-other-powershell-module/22922)

<div class="topic-metadata">

**Author:** [@jborean](https://forum.ansible.com/u/jborean)\
**Replies:** 1\
**Last updated:** [October 30, 2016, 5:02pm UTC](https://forum.ansible.com/t/calling-other-powershell-module/22922 "2016-10-30T17:02:21Z")

</div>

Hi I was wondering if there was functionality to call another powershell module from another similar to how the find module calls the stat module to get file information. I am in the middle of building a win\_find module…

---

## [too many unfinished roles on ansible galaxy](https://forum.ansible.com/t/too-many-unfinished-roles-on-ansible-galaxy/22921)

<div class="topic-metadata">

**Author:** [@pixel\_fairy](https://forum.ansible.com/u/pixel_fairy)\
**Replies:** 0\
**Last updated:** [October 30, 2016, 3:04am UTC](https://forum.ansible.com/t/too-many-unfinished-roles-on-ansible-galaxy/22921 "2016-10-30T03:04:53Z")

</div>

there are many unfinished roles on galaxy. role authors, can you please wait until your role is functional and ready before posting it on galaxy?

---

## [Best practices to configure roles](https://forum.ansible.com/t/best-practices-to-configure-roles/22920)

<div class="topic-metadata">

**Author:** [@Adrian\_Wallaschek](https://forum.ansible.com/u/Adrian_Wallaschek)\
**Replies:** 0\
**Last updated:** [October 29, 2016, 9:28pm UTC](https://forum.ansible.com/t/best-practices-to-configure-roles/22920 "2016-10-29T21:28:54Z")

</div>

Hi, I try to build a playbook that kind of leaves the trivial ranges usually handled in books. Consequentially I did not find anything suitable in the books I have and my development skills do not help me further. Assu…

---

## [I cant't change master with mysql\_replication](https://forum.ansible.com/t/i-cantt-change-master-with-mysql-replication/22919)

<div class="topic-metadata">

**Author:** [@rarirure\_luis](https://forum.ansible.com/u/rarirure_luis)\
**Replies:** 0\
**Last updated:** [October 29, 2016, 2:27pm UTC](https://forum.ansible.com/t/i-cantt-change-master-with-mysql-replication/22919 "2016-10-29T14:27:25Z")

</div>

Hi. I’m afraid my expressions may be rude or hard to read, because I’m not so good at English. I want to change master with mysql\_replication but error. \` TASK \[dbtier : Semi-synchronous - Change master\] \*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [How-to Variable in Variable](https://forum.ansible.com/t/how-to-variable-in-variable/22912)

<div class="topic-metadata">

**Author:** [@bonheur.sorn](https://forum.ansible.com/u/bonheur.sorn)\
**Replies:** 5\
**Last updated:** [October 29, 2016, 12:23pm UTC](https://forum.ansible.com/t/how-to-variable-in-variable/22912 "2016-10-29T12:23:27Z")

</div>

Hi everyone I’m new to Ansible and I’m trying to automate the generation of Cisco router configuration files. For the same config template, I will have several hardware models and I’d like to keep the code simple. \` #…

---

## [Change user while executing ansible script.](https://forum.ansible.com/t/change-user-while-executing-ansible-script/22916)

<div class="topic-metadata">

**Author:** [@Nitin\_Mathur](https://forum.ansible.com/u/Nitin_Mathur)\
**Replies:** 3\
**Last updated:** [October 29, 2016, 1:29am UTC](https://forum.ansible.com/t/change-user-while-executing-ansible-script/22916 "2016-10-29T01:29:17Z")

</div>

Hi, I am trying to figure out, if the below scenario is possible and if so, how I can achieve it. My target machine and ansible host is the same machine. There are 2 users, user-1(non-sudo privilege), user-2 (sudo priv…

---

## [Ansible vsphere\_guest: "pysphere module required" - but it's installed](https://forum.ansible.com/t/ansible-vsphere-guest-pysphere-module-required-but-its-installed/22918)

<div class="topic-metadata">

**Author:** [@Jeff\_Richards](https://forum.ansible.com/u/Jeff_Richards)\
**Replies:** 0\
**Last updated:** [October 28, 2016, 11:30pm UTC](https://forum.ansible.com/t/ansible-vsphere-guest-pysphere-module-required-but-its-installed/22918 "2016-10-28T23:30:36Z")

</div>

Hi, I’m trying to kick off a VMware deployment, using the vsphere\_guest module, but it’s failing with “pysphere module required”. So pip confirms it’s installed: $ pip list | grep sphere pysphere (0.1.7) And I can a…

---

## [Create user in mongodb with ansible playbook](https://forum.ansible.com/t/create-user-in-mongodb-with-ansible-playbook/22917)

<div class="topic-metadata">

**Author:** [@Rayees\_Namathponnan](https://forum.ansible.com/u/Rayees_Namathponnan)\
**Replies:** 0\
**Last updated:** [October 28, 2016, 11:09pm UTC](https://forum.ansible.com/t/create-user-in-mongodb-with-ansible-playbook/22917 "2016-10-28T23:09:21Z")

</div>

Hi All, I am using below ansible script to create admin user in mongoDB, \` name: Enable at boot and start mongodb service: name=mongod.service enabled=yes state=started name: Add the admin user to the replicaset …

---

## [Tower: setup.sh fails trying to find yum on Ubuntu](https://forum.ansible.com/t/tower-setup-sh-fails-trying-to-find-yum-on-ubuntu/22086)

<div class="topic-metadata">

**Author:** [@Vasily\_Kirichenko](https://forum.ansible.com/u/Vasily_Kirichenko)\
**Replies:** 3\
**Last updated:** [October 28, 2016, 8:20pm UTC](https://forum.ansible.com/t/tower-setup-sh-fails-trying-to-find-yum-on-ubuntu/22086 "2016-10-28T20:20:50Z")

</div>

Ubuntu 14.04.2 \` TASK: \[preflight | Preflight check - Verify yum is recent enough on OL6\] \*\*\*\*\*\* fatal: \[localhost\] =\> error while evaluating conditional: ansible\_distribution == ‘OracleLinux’ and ansible\_distribution…

---

## [passing parameters to roles](https://forum.ansible.com/t/passing-parameters-to-roles/22914)

<div class="topic-metadata">

**Author:** [@Neil\_Watson](https://forum.ansible.com/u/Neil_Watson)\
**Replies:** 3\
**Last updated:** [October 28, 2016, 8:08pm UTC](https://forum.ansible.com/t/passing-parameters-to-roles/22914 "2016-10-28T20:08:48Z")

</div>

Greetings, I’m trying to pass a data structure to a role, but it’s not working out. What have I done wrong? main.yml:

---

## [Getting hostvars from an intersection of groups](https://forum.ansible.com/t/getting-hostvars-from-an-intersection-of-groups/19592)

<div class="topic-metadata">

**Author:** [@Mehul\_Ved](https://forum.ansible.com/u/Mehul_Ved)\
**Replies:** 10\
**Last updated:** [October 28, 2016, 6:41pm UTC](https://forum.ansible.com/t/getting-hostvars-from-an-intersection-of-groups/19592 "2016-10-28T18:41:59Z")

</div>

I have 4 machines on rackspace - two sets of machines, for production and beta. Each set has a web server and db server. Here’s what the metadata for each machine would look like metadata: { group: web, set: producti…

---

## [How can I debug my inventory? I need something like: ansible-playbook -i staging/ --list-vars](https://forum.ansible.com/t/how-can-i-debug-my-inventory-i-need-something-like-ansible-playbook-i-staging-list-vars/22911)

<div class="topic-metadata">

**Author:** [@Stephane\_Klein1](https://forum.ansible.com/u/Stephane_Klein1)\
**Replies:** 1\
**Last updated:** [October 28, 2016, 2:22pm UTC](https://forum.ansible.com/t/how-can-i-debug-my-inventory-i-need-something-like-ansible-playbook-i-staging-list-vars/22911 "2016-10-28T14:22:52Z")

</div>

Hi, I try to refactor my inventory files, how can I test / debug / check my inventory? I need something like: ansible-playbook -i staging/ --list-vars Best regards, Stéphane

---

## [roles configuring other roles?](https://forum.ansible.com/t/roles-configuring-other-roles/22903)

<div class="topic-metadata">

**Author:** [@lesh](https://forum.ansible.com/u/lesh)\
**Replies:** 1\
**Last updated:** [October 28, 2016, 1:20pm UTC](https://forum.ansible.com/t/roles-configuring-other-roles/22903 "2016-10-28T13:20:03Z")

</div>

Hi, I’d like for roles I assign to a host to append some data to this hosts configuration, facts, or something else, readable by other roles. To be concrete, a web server role should specify config for local\_firewall, …

---

## [Ansible cron module creates jobs for the wrong user](https://forum.ansible.com/t/ansible-cron-module-creates-jobs-for-the-wrong-user/22735)

<div class="topic-metadata">

**Author:** [@Jay\_LaCroix](https://forum.ansible.com/u/Jay_LaCroix)\
**Replies:** 1\
**Last updated:** [October 28, 2016, 11:40am UTC](https://forum.ansible.com/t/ansible-cron-module-creates-jobs-for-the-wrong-user/22735 "2016-10-28T11:40:12Z")

</div>

I have noticed, since upgrading to 2.1.2.0 from 2.1.1.0, that the cron module is now creating cron jobs for the root user, in addition to the user specified. For example: name: install cron job (ansible run) cron: use…

---

## [Copying whole directory from amazon S3 using ansible](https://forum.ansible.com/t/copying-whole-directory-from-amazon-s3-using-ansible/14189)

<div class="topic-metadata">

**Author:** [@Rohan\_Deshpande](https://forum.ansible.com/u/Rohan_Deshpande)\
**Replies:** 2\
**Last updated:** [October 28, 2016, 11:06am UTC](https://forum.ansible.com/t/copying-whole-directory-from-amazon-s3-using-ansible/14189 "2016-10-28T11:06:03Z")

</div>

I have a script that downloads stuff from amazon S3 Downloading file works perfectly but in one scenario i want to download whole directory from the bucket. Ansible seems to require file name in object and destination …

---

## [How to get ansible sequence number of running](https://forum.ansible.com/t/how-to-get-ansible-sequence-number-of-running/22910)

<div class="topic-metadata">

**Author:** [@harold\_T](https://forum.ansible.com/u/harold_T)\
**Replies:** 0\
**Last updated:** [October 28, 2016, 7:35am UTC](https://forum.ansible.com/t/how-to-get-ansible-sequence-number-of-running/22910 "2016-10-28T07:35:39Z")

</div>

Here is run.yml and rozofs.yml, I want to get the sequence number of each running. there is 4 IP address, 90,91,92,93, I want to know where I can get 1,2,3,4 from each running. I am use "echo " to put each IP address, I…

---

## [host\_add uniqueness:  name, ansible\_host & ansible\_ssh\_extra\_args ?](https://forum.ansible.com/t/host-add-uniqueness-name-ansible-host-ansible-ssh-extra-args/22908)

<div class="topic-metadata">

**Author:** [@alexandre](https://forum.ansible.com/u/alexandre)\
**Replies:** 2\
**Last updated:** [October 28, 2016, 5:07am UTC](https://forum.ansible.com/t/host-add-uniqueness-name-ansible-host-ansible-ssh-extra-args/22908 "2016-10-28T05:07:07Z")

</div>

Hi, I use docker to run (network namespaced) VPN… I have to use a custom ProxyCommand, per VPN, to access the other side with Ansible, so far so good… So I’m using Ansible to find the right container and then add\_host…

---

## [Ansible 2.2.0 RC3 is ready for testing](https://forum.ansible.com/t/ansible-2-2-0-rc3-is-ready-for-testing/22882)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 1\
**Last updated:** [October 27, 2016, 11:06pm UTC](https://forum.ansible.com/t/ansible-2-2-0-rc3-is-ready-for-testing/22882 "2016-10-27T23:06:55Z")

</div>

Hi all, we’re happy to announce that RC3 for 2.2.0 is now available for testing. This release candidate addresses the following bugs: Fixed a bug where a custom module could overwrite connection-based variables. Fixed…

---

## [how to get the ansible virt module to wait for a machine to finish shutting down](https://forum.ansible.com/t/how-to-get-the-ansible-virt-module-to-wait-for-a-machine-to-finish-shutting-down/21047)

<div class="topic-metadata">

**Author:** [@Rob\_Verduijn](https://forum.ansible.com/u/Rob_Verduijn)\
**Replies:** 3\
**Last updated:** [October 27, 2016, 9:50pm UTC](https://forum.ansible.com/t/how-to-get-the-ansible-virt-module-to-wait-for-a-machine-to-finish-shutting-down/21047 "2016-10-27T21:50:58Z")

</div>

Hello, When shutting down a kvm guest using the task name: shut down kvm guest virt: name=kvm-guest state=shutdown Ansible will continue when the virsh shutdown kvm-guest command is finished. However I want it to w…

---

## [Ansible 2.2.0 RC4 is ready for testing](https://forum.ansible.com/t/ansible-2-2-0-rc4-is-ready-for-testing/22907)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 0\
**Last updated:** [October 27, 2016, 7:01pm UTC](https://forum.ansible.com/t/ansible-2-2-0-rc4-is-ready-for-testing/22907 "2016-10-27T19:01:32Z")

</div>

Hi all, we’re happy to announce that RC4 for 2.2.0 is now available for testing. This release candidate addresses the following bugs: Fixed a bug related to the calculation of the max number of forks to use, which was…

---

## [Multiple Sub Elements Iteration](https://forum.ansible.com/t/multiple-sub-elements-iteration/22904)

<div class="topic-metadata">

**Author:** [@Yasin\_Amadmia](https://forum.ansible.com/u/Yasin_Amadmia)\
**Replies:** 0\
**Last updated:** [October 27, 2016, 4:31pm UTC](https://forum.ansible.com/t/multiple-sub-elements-iteration/22904 "2016-10-27T16:31:45Z")

</div>

Given a variable v1 head : first x : \[ ‘a’ , ‘b’, ‘c’ \] y : \[ ‘d’, ‘e’ \] z : \[ ‘f’, ‘g’, ‘h’ \] head: second x : \[ ‘a2’ , ‘b2’, ‘c2’ \] y : \[ ‘d2’, ‘e2’ \] z : \[ ‘f2’, ‘g2’, ‘h2’ \] I want to iterate over x,y…

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

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