# Archives

**URL:** https://forum.ansible.com/c/archives/31.md?page=540

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

**Page:** 541

---

## [Wait for image pull and deployer pod](https://forum.ansible.com/t/wait-for-image-pull-and-deployer-pod/22952)

<div class="topic-metadata">

**Author:** [@Shaun\_Glass](https://forum.ansible.com/u/Shaun_Glass)\
**Replies:** 0\
**Last updated:** [November 3, 2016, 10:26am UTC](https://forum.ansible.com/t/wait-for-image-pull-and-deployer-pod/22952 "2016-11-03T10:26:06Z")

</div>

Good Day, Deploying Openshift Origin via Ansible and get the following errors : FAILED - RETRYING: TASK: openshift\_metrics : Wait for image pull and deployer pod (8 retries left). FAILED - RETRYING: TASK: openshift\_ho…

---

## [Unable to grant privileges using mysql\_user module](https://forum.ansible.com/t/unable-to-grant-privileges-using-mysql-user-module/22951)

<div class="topic-metadata">

**Author:** [@Mona\_Gopal](https://forum.ansible.com/u/Mona_Gopal)\
**Replies:** 0\
**Last updated:** [November 3, 2016, 5:57am UTC](https://forum.ansible.com/t/unable-to-grant-privileges-using-mysql-user-module/22951 "2016-11-03T05:57:00Z")

</div>

Hi, I am trying to create a mysql user ‘webaxnuser’ and grant privileges to it. Below is the task to do the same. - name: create use with all priv mysql\_user: login\_user=root login\_password=pass login\_host=188.16.2.3…

---

## [executable: /bin/bash not always respected](https://forum.ansible.com/t/executable-bin-bash-not-always-respected/22950)

<div class="topic-metadata">

**Author:** [@DigitalHermit](https://forum.ansible.com/u/DigitalHermit)\
**Replies:** 0\
**Last updated:** [November 2, 2016, 11:47pm UTC](https://forum.ansible.com/t/executable-bin-bash-not-always-respected/22950 "2016-11-02T23:47:35Z")

</div>

Hello all: First post here. I am a relatively new user to Ansible and find it quite powerful. Alas, I’ve run into some oddness that I haven’t been able to figure out. I have a playbook here: https://github.com/kwanlow…

---

## [failed\_when - multiple conditions](https://forum.ansible.com/t/failed-when-multiple-conditions/16773)

<div class="topic-metadata">

**Author:** [@profhase85](https://forum.ansible.com/u/profhase85)\
**Replies:** 5\
**Last updated:** [November 2, 2016, 10:06pm UTC](https://forum.ansible.com/t/failed-when-multiple-conditions/16773 "2016-11-02T22:06:45Z")

</div>

Hi, when trying to install keys to a java keystore I am using the following task: \` name: java install ssl certs shell: source /etc/profile.d/java.sh; cd $JAVA\_HOME/jre/lib/security; $JAVA\_HOME/bin/keytool -impor…

---

## [Retaining double-quotes in resulting file created from template](https://forum.ansible.com/t/retaining-double-quotes-in-resulting-file-created-from-template/22948)

<div class="topic-metadata">

**Author:** [@ZillaYT](https://forum.ansible.com/u/ZillaYT)\
**Replies:** 1\
**Last updated:** [November 2, 2016, 8:10pm UTC](https://forum.ansible.com/t/retaining-double-quotes-in-resulting-file-created-from-template/22948 "2016-11-02T20:10:46Z")

</div>

I have a template that does has this line host\_ip = "http://{{ ansible\_default\_ipv4.address }}" which results into a line in the dest file that has, for example \` host\_ip = http://10.10.10.10 \` However, how do modi…

---

## [commiter docs](https://forum.ansible.com/t/commiter-docs/22944)

<div class="topic-metadata">

**Author:** [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Replies:** 1\
**Last updated:** [November 2, 2016, 6:33pm UTC](https://forum.ansible.com/t/commiter-docs/22944 "2016-11-02T18:33:43Z")

</div>

Just to make sure everyone is on the same page and our process is clear to all, I’ve added a PR for ‘committer docs’ to the community repo. https://github.com/ansible/community/pull/134 ​

---

## [How to get fetch files from non-inventory servers ?](https://forum.ansible.com/t/how-to-get-fetch-files-from-non-inventory-servers/22937)

<div class="topic-metadata">

**Author:** [@kapil](https://forum.ansible.com/u/kapil)\
**Replies:** 4\
**Last updated:** [November 2, 2016, 6:00pm UTC](https://forum.ansible.com/t/how-to-get-fetch-files-from-non-inventory-servers/22937 "2016-11-02T18:00:50Z")

</div>

Hi all, How to get fetch files from non-inventory servers ? After searching in docs for 2 days, I cannot find any explicit scp/sftp module. This could be due to fact that ansible already does file transfers bw servers…

---

## [openstack instance creation](https://forum.ansible.com/t/openstack-instance-creation/22946)

<div class="topic-metadata">

**Author:** [@Javier\_Rojas](https://forum.ansible.com/u/Javier_Rojas)\
**Replies:** 0\
**Last updated:** [November 2, 2016, 5:15pm UTC](https://forum.ansible.com/t/openstack-instance-creation/22946 "2016-11-02T17:15:46Z")

</div>

Hi, this is my first playbook, so please be gentle (I’m pretty sure I’ve depleted my google searches for 1 month) I’m trying to create an image with the os\_server module $cat tasks/main.yml

---

## [A question about the S3 Lifecyle module](https://forum.ansible.com/t/a-question-about-the-s3-lifecyle-module/22879)

<div class="topic-metadata">

**Author:** [@Benjamin\_Copeland1](https://forum.ansible.com/u/Benjamin_Copeland1)\
**Replies:** 1\
**Last updated:** [November 2, 2016, 4:41pm UTC](https://forum.ansible.com/t/a-question-about-the-s3-lifecyle-module/22879 "2016-11-02T16:41:57Z")

</div>

Hello All, I want to be able to use the S3 lifecycle module to have exclude rules? I want to be able to delete most files in a bucket, but exclude a couple of folders. I want to be able to setup lifecycle rules for eve…

---

## [Issues with 'when' filter on with\_items loop](https://forum.ansible.com/t/issues-with-when-filter-on-with-items-loop/22945)

<div class="topic-metadata">

**Author:** [@Jon\_Langemak](https://forum.ansible.com/u/Jon_Langemak)\
**Replies:** 0\
**Last updated:** [November 2, 2016, 4:26pm UTC](https://forum.ansible.com/t/issues-with-when-filter-on-with-items-loop/22945 "2016-11-02T16:26:59Z")

</div>

Hi All, been tearing my hair out this AM on this one so I think Im just doing something wrong. Long story short, I have two lists in my playbook. One that contains a set of commands from a device and another that contain…

---

## [Need to import code from ansible module](https://forum.ansible.com/t/need-to-import-code-from-ansible-module/22938)

<div class="topic-metadata">

**Author:** [@Evelio\_VILA](https://forum.ansible.com/u/Evelio_VILA)\
**Replies:** 1\
**Last updated:** [November 2, 2016, 2:00pm UTC](https://forum.ansible.com/t/need-to-import-code-from-ansible-module/22938 "2016-11-02T14:00:15Z")

</div>

Hello list! So basically I need to import some python code from an Ansible custom module. I can’t put that code under the Ansible utils repo. What would be the best solution to accomplish this? From what I can see Ans…

---

## [Long running install task sometimes fails with ssh broken pipe issue](https://forum.ansible.com/t/long-running-install-task-sometimes-fails-with-ssh-broken-pipe-issue/22940)

<div class="topic-metadata">

**Author:** [@Deepa\_Yr](https://forum.ansible.com/u/Deepa_Yr)\
**Replies:** 2\
**Last updated:** [November 2, 2016, 1:10pm UTC](https://forum.ansible.com/t/long-running-install-task-sometimes-fails-with-ssh-broken-pipe-issue/22940 "2016-11-02T13:10:52Z")

</div>

Hi I have a task which installs my product. Installation takes couple of hours to complete. Sometimes the task completes fine. Sometimes it fails with broken pipe issue. {“failed”: true, “msg”: “SSH encountered an unkn…

---

## [Question on Ansible remote copy](https://forum.ansible.com/t/question-on-ansible-remote-copy/22934)

<div class="topic-metadata">

**Author:** [@GC-Ansible-User](https://forum.ansible.com/u/GC-Ansible-User)\
**Replies:** 1\
**Last updated:** [November 2, 2016, 12:49am UTC](https://forum.ansible.com/t/question-on-ansible-remote-copy/22934 "2016-11-02T00:49:39Z")

</div>

Have a question regarding remote to remote copy of files. I have a situation where I need to generate a file on one remote server. The file then has to be copied across multiple servers (the list of servers is specified…

---

## [Ansible 2.2 behaviour on includes.](https://forum.ansible.com/t/ansible-2-2-behaviour-on-includes/22936)

<div class="topic-metadata">

**Author:** [@ansible.user14](https://forum.ansible.com/u/ansible.user14)\
**Replies:** 1\
**Last updated:** [November 2, 2016, 12:16am UTC](https://forum.ansible.com/t/ansible-2-2-behaviour-on-includes/22936 "2016-11-02T00:16:45Z")

</div>

Hi, I have one script which includes another and now with ansible 2.2 it generates a fatal error: script 1: t.yml

---

## [Task fails when using ansible-pull, but works when running remotely?](https://forum.ansible.com/t/task-fails-when-using-ansible-pull-but-works-when-running-remotely/22913)

<div class="topic-metadata">

**Author:** [@Ben\_Sebborn](https://forum.ansible.com/u/Ben_Sebborn)\
**Replies:** 5\
**Last updated:** [November 1, 2016, 10:13pm UTC](https://forum.ansible.com/t/task-fails-when-using-ansible-pull-but-works-when-running-remotely/22913 "2016-11-01T22:13:27Z")

</div>

Hi We are using EC2, with auto scale. When a new server is built, we install ansible and initiate ansible-pull. This pulls down the playscript from our repo. It always gets stuck here: hosts: localhost name: Ins…

---

## [Juniper Network Automation using Ansible Tower Network Credentials](https://forum.ansible.com/t/juniper-network-automation-using-ansible-tower-network-credentials/22915)

<div class="topic-metadata">

**Author:** [@Lance\_Le\_Roux](https://forum.ansible.com/u/Lance_Le_Roux)\
**Replies:** 2\
**Last updated:** [November 1, 2016, 10:01pm UTC](https://forum.ansible.com/t/juniper-network-automation-using-ansible-tower-network-credentials/22915 "2016-11-01T22:01:55Z")

</div>

I am trying to use the network credentials in Ansible Tower however it doesn’t seem to work. I am using variable ANSIBLE\_NET\_USERNAME and ANSIBLE\_NET\_PASSWORD however they don’t exist when I run my template. playbook.ya…

---

## [error: TypeError: run\_command() got an unexpected keyword argument 'encoding'](https://forum.ansible.com/t/error-typeerror-run-command-got-an-unexpected-keyword-argument-encoding/22935)

<div class="topic-metadata">

**Author:** [@eric.anderson](https://forum.ansible.com/u/eric.anderson)\
**Replies:** 0\
**Last updated:** [November 1, 2016, 9:46pm UTC](https://forum.ansible.com/t/error-typeerror-run-command-got-an-unexpected-keyword-argument-encoding/22935 "2016-11-01T21:46:43Z")

</div>

I’m using ansible 2.2.0.0 and running in to a problem every time I use “sh”. I’ve run this same playbook against a vm on virtualbox on my local machine, but the user had very broad permissions. Now I’m trying to run agai…

---

## [How to convert a csv file](https://forum.ansible.com/t/how-to-convert-a-csv-file/22931)

<div class="topic-metadata">

**Author:** [@Takeshi\_Kuramochi](https://forum.ansible.com/u/Takeshi_Kuramochi)\
**Replies:** 0\
**Last updated:** [November 1, 2016, 10:14am UTC](https://forum.ansible.com/t/how-to-convert-a-csv-file/22931 "2016-11-01T10:14:39Z")

</div>

Hi Everyone, I have created a playbook which reads a csv file and converts it into variables then executes the task. My playbook is actually fine – and gives me what I expect to see, but I want to make my csv file forma…

---

## [Certificate issuance and copying files across servers](https://forum.ansible.com/t/certificate-issuance-and-copying-files-across-servers/22925)

<div class="topic-metadata">

**Author:** [@marko](https://forum.ansible.com/u/marko)\
**Replies:** 3\
**Last updated:** [November 1, 2016, 6:42am UTC](https://forum.ansible.com/t/certificate-issuance-and-copying-files-across-servers/22925 "2016-11-01T06:42:39Z")

</div>

During our server provisioning process we issue certificates for new servers. Certificates are issued by running a script on our CA host after which the certificate files need to be copied to the provisioned server. We’…

---

## [Module documentation fails to parse](https://forum.ansible.com/t/module-documentation-fails-to-parse/22929)

<div class="topic-metadata">

**Author:** [@Ted\_Timmons](https://forum.ansible.com/u/Ted_Timmons)\
**Replies:** 2\
**Last updated:** [October 31, 2016, 9:10pm UTC](https://forum.ansible.com/t/module-documentation-fails-to-parse/22929 "2016-10-31T21:10:07Z")

</div>

Hi, I added a PR for a new module in -extras, but something is wrong in the documentation causing it to fail to parse. Can someone tell me what’s wrong? https://github.com/tedder/ansible-modules-extras/blob/7d6c2e7d614a…

---

## [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…

[Previous page](https://forum.ansible.com/c/archives/31.md?page=539)

[Next page](https://forum.ansible.com/c/archives/31.md?page=541)
