# Latest

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

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

**Page:** 515

---

## [ansible sudo example in docs fails](https://forum.ansible.com/t/ansible-sudo-example-in-docs-fails/28778)

<div class="topic-metadata">

**Author:** [@Dean\_Schulze](https://forum.ansible.com/u/Dean_Schulze)\
**Replies:** 1\
**Last updated:** [October 13, 2018, 5:48am UTC](https://forum.ansible.com/t/ansible-sudo-example-in-docs-fails/28778 "2018-10-13T05:48:21Z")

</div>

I’m new to Ansible and working through the Getting Started in the docs. It shows to use sudo mode just add --sudo flag, but that fails: ansible tv -m ping (works) ansible tv -m ping --sudo (fails with sudo: a password …

---

## [Using ansible on Windows through ssh](https://forum.ansible.com/t/using-ansible-on-windows-through-ssh/28766)

<div class="topic-metadata">

**Author:** [@aaldi](https://forum.ansible.com/u/aaldi)\
**Replies:** 3\
**Last updated:** [October 12, 2018, 8:25pm UTC](https://forum.ansible.com/t/using-ansible-on-windows-through-ssh/28766 "2018-10-12T20:25:56Z")

</div>

I’ve noticed some posts from a year ago (here, and here) about using OpenSSH on windows and avoiding WinRM. Are there any updates to this? Has this been implemented yet?

---

## [Unable to connect to remote host on Ansible Tower setup](https://forum.ansible.com/t/unable-to-connect-to-remote-host-on-ansible-tower-setup/28775)

<div class="topic-metadata">

**Author:** [@Spyridoula\_Tragopoul](https://forum.ansible.com/u/Spyridoula_Tragopoul)\
**Replies:** 5\
**Last updated:** [October 12, 2018, 3:40pm UTC](https://forum.ansible.com/t/unable-to-connect-to-remote-host-on-ansible-tower-setup/28775 "2018-10-12T15:40:17Z")

</div>

Hi everyone, I am trying to run ./setup.sh using only remote host but I am getting this error: TASK \[config\_dynamic : Ensure user is root\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Ending summary of a playbook](https://forum.ansible.com/t/ending-summary-of-a-playbook/28776)

<div class="topic-metadata">

**Author:** [@Chris\_Bidwell](https://forum.ansible.com/u/Chris_Bidwell)\
**Replies:** 1\
**Last updated:** [October 12, 2018, 3:10pm UTC](https://forum.ansible.com/t/ending-summary-of-a-playbook/28776 "2018-10-12T15:10:08Z")

</div>

Hey all, Is there any way to write out where I would get a summary of a playbook, other than what is already given with the passes, fails, changed, etc. Let’s say I write a playbook listing all servers/workstations that…

---

## [ios\_facts failing to populate all interfaces (edit and running-config) #44463](https://forum.ansible.com/t/ios-facts-failing-to-populate-all-interfaces-edit-and-running-config-44463/28754)

<div class="topic-metadata">

**Author:** [@bill\_paxton](https://forum.ansible.com/u/bill_paxton)\
**Replies:** 3\
**Last updated:** [October 12, 2018, 2:54pm UTC](https://forum.ansible.com/t/ios-facts-failing-to-populate-all-interfaces-edit-and-running-config-44463/28754 "2018-10-12T14:54:48Z")

</div>

\[ios\_facts failing to populate all interfaces #44463\](http://ios\_facts failing to populate all interfaces #44463) Any chance this issue is being addressed? Its been over a month since OP. Thanks Bill

---

## [Specifying WIndows systems in a mixed host environment](https://forum.ansible.com/t/specifying-windows-systems-in-a-mixed-host-environment/28771)

<div class="topic-metadata">

**Author:** [@Hunter\_Tom](https://forum.ansible.com/u/Hunter_Tom)\
**Replies:** 2\
**Last updated:** [October 12, 2018, 1:26pm UTC](https://forum.ansible.com/t/specifying-windows-systems-in-a-mixed-host-environment/28771 "2018-10-12T13:26:23Z")

</div>

Hello All: Please help! Problem - I have a hosts file separated out with different branches of an organization as such: \[branch01\] server01 server02 server03 \[branch02\] server04 server05 …etc The problem is t…

---

## [Getting error when trying to install IIS on Windows server.](https://forum.ansible.com/t/getting-error-when-trying-to-install-iis-on-windows-server/28772)

<div class="topic-metadata">

**Author:** [@Ameya\_Agashe](https://forum.ansible.com/u/Ameya_Agashe)\
**Replies:** 2\
**Last updated:** [October 12, 2018, 4:28am UTC](https://forum.ansible.com/t/getting-error-when-trying-to-install-iis-on-windows-server/28772 "2018-10-12T04:28:38Z")

</div>

Hi All, I need your assistance to resolve this issue. Error details when I run in -vvv option: Using module file /opt/ansible/local/lib/python2.7/site-packages/ansible/modules/windows/win\_feature.py \<127.0.0.1\> PUT /…

---

## [with\_subelements works where loop with subelements filter fails](https://forum.ansible.com/t/with-subelements-works-where-loop-with-subelements-filter-fails/28770)

<div class="topic-metadata">

**Author:** [@Guy\_Knights1](https://forum.ansible.com/u/Guy_Knights1)\
**Replies:** 1\
**Last updated:** [October 11, 2018, 9:23pm UTC](https://forum.ansible.com/t/with-subelements-works-where-loop-with-subelements-filter-fails/28770 "2018-10-11T21:23:40Z")

</div>

I have the following tasks in a block, which I’ve modified to use the new ‘loop’ structure: \` name: process ipv6 rules if they exist block: name: create all ipv6 firewall log statements from ‘firewall’ variable ipta…

---

## [Want to access the server information from CSV file.](https://forum.ansible.com/t/want-to-access-the-server-information-from-csv-file/28763)

<div class="topic-metadata">

**Author:** [@Shyam](https://forum.ansible.com/u/Shyam)\
**Replies:** 4\
**Last updated:** [October 11, 2018, 7:25pm UTC](https://forum.ansible.com/t/want-to-access-the-server-information-from-csv-file/28763 "2018-10-11T19:25:45Z")

</div>

Hi all, Im trying to access the server information from CSV file. Based on this information, I want to target the host. The CSV file contains the following information. based on this CSV file, when ever we pass the ins…

---

## [user is not allowed to execute '/bin/sh -c echo BECOME-SUCCESS](https://forum.ansible.com/t/user-is-not-allowed-to-execute-bin-sh-c-echo-become-success/28679)

<div class="topic-metadata">

**Author:** [@Riahi\_Mohamed-Amine](https://forum.ansible.com/u/Riahi_Mohamed-Amine)\
**Replies:** 1\
**Last updated:** [October 11, 2018, 7:04pm UTC](https://forum.ansible.com/t/user-is-not-allowed-to-execute-bin-sh-c-echo-become-success/28679 "2018-10-11T19:04:54Z")

</div>

Hi i’m trying to run may first playbook with become\_user : cftadmin and i got this error msg : fatal: \[ANS\_IAWGAP01\]: FAILED! =\> {“changed”: false, “module\_stderr”: “Failed to add the host to the list of known hosts (/…

---

## [Ansible nested dictionary seems to do weird stuff with identical sub-groups](https://forum.ansible.com/t/ansible-nested-dictionary-seems-to-do-weird-stuff-with-identical-sub-groups/28764)

<div class="topic-metadata">

**Author:** [@I\_Viridis](https://forum.ansible.com/u/I_Viridis)\
**Replies:** 1\
**Last updated:** [October 11, 2018, 6:57pm UTC](https://forum.ansible.com/t/ansible-nested-dictionary-seems-to-do-weird-stuff-with-identical-sub-groups/28764 "2018-10-11T18:57:36Z")

</div>

\` inventory.yml europe: children: germany: children: on-premise: hosts: 127.0.0.1: datacenter: hosts: 127.0.0.2: france: children: on-premise: hosts: 127.0.0.3: datacenter: hosts: 127.0.0.4: \` Running…

---

## [host-specific ansible.cfg?](https://forum.ansible.com/t/host-specific-ansible-cfg/28768)

<div class="topic-metadata">

**Author:** [@erichymowitz](https://forum.ansible.com/u/erichymowitz)\
**Replies:** 4\
**Last updated:** [October 11, 2018, 6:08pm UTC](https://forum.ansible.com/t/host-specific-ansible-cfg/28768 "2018-10-11T18:08:35Z")

</div>

Greetings. Short question – Where/how can I set configuration settings (not variables) based on the target host? Long question – My standard ansible.cfg includes: \[privilege\_escalation\] #become=True #become\_method=…

---

## [inventory in multi-user environment](https://forum.ansible.com/t/inventory-in-multi-user-environment/28759)

<div class="topic-metadata">

**Author:** [@rjwagner.dba](https://forum.ansible.com/u/rjwagner.dba)\
**Replies:** 3\
**Last updated:** [October 11, 2018, 5:22pm UTC](https://forum.ansible.com/t/inventory-in-multi-user-environment/28759 "2018-10-11T17:22:14Z")

</div>

Hi all - I’m new to AWX/Tower. I have a simple use case but can’t figure out how to implement w/ Tower. I have a group of users who need to install an Oracle client on a set of hosts. The set of hosts changes regularly. …

---

## [AWX 2.0.1](https://forum.ansible.com/t/awx-2-0-1/28767)

<div class="topic-metadata">

**Author:** [@shanemcd](https://forum.ansible.com/u/shanemcd)\
**Replies:** 0\
**Last updated:** [October 11, 2018, 3:34pm UTC](https://forum.ansible.com/t/awx-2-0-1/28767 "2018-10-11T15:34:28Z")

</div>

Hi all, We released AWX 2.0.1 today, which mostly contains fixes for regressions in 2.0.0. A full git changelog is available on the release page: https://github.com/ansible/awx/releases/tag/2.0.1 We are committed to i…

---

## [How to filter data from ansible json format output for a specific element](https://forum.ansible.com/t/how-to-filter-data-from-ansible-json-format-output-for-a-specific-element/28765)

<div class="topic-metadata">

**Author:** [@abhijith.devaraju](https://forum.ansible.com/u/abhijith.devaraju)\
**Replies:** 2\
**Last updated:** [October 11, 2018, 10:06am UTC](https://forum.ansible.com/t/how-to-filter-data-from-ansible-json-format-output-for-a-specific-element/28765 "2018-10-11T10:06:24Z")

</div>

Hello All, I am using API call to fetch some data in json format. I would like to use/filter only part of data for my further tasks. Can someone help me out in filtering the json format for the element ? API call respo…

---

## [Ansible 2.7 - changes to python library look-up ?](https://forum.ansible.com/t/ansible-2-7-changes-to-python-library-look-up/28751)

<div class="topic-metadata">

**Author:** [@ajfogg](https://forum.ansible.com/u/ajfogg)\
**Replies:** 4\
**Last updated:** [October 11, 2018, 9:27am UTC](https://forum.ansible.com/t/ansible-2-7-changes-to-python-library-look-up/28751 "2018-10-11T09:27:35Z")

</div>

Hi all, A quick question as I’m slightly knee-deep in troubleshooting an upgrade to Ansible 2.7, but did the way searching for python libraries / site-package directories change, specifically with regard to the Azure cl…

---

## [Unable to deploy deploy resources in k8s cluster : This module requires the OpenShift Python client](https://forum.ansible.com/t/unable-to-deploy-deploy-resources-in-k8s-cluster-this-module-requires-the-openshift-python-client/28762)

<div class="topic-metadata">

**Author:** [@James\_James](https://forum.ansible.com/u/James_James)\
**Replies:** 0\
**Last updated:** [October 11, 2018, 2:44am UTC](https://forum.ansible.com/t/unable-to-deploy-deploy-resources-in-k8s-cluster-this-module-requires-the-openshift-python-client/28762 "2018-10-11T02:44:52Z")

</div>

Hi, I am trying to deploy a simple nodejs app in GKE k8s cluster from AWX and I can’t see the problem. My problem looks like : https://github.com/ansible/ansible/issues/43637 I have installed : pip install openshift …

---

## [Ansible Python API: how to transfer files to remote in ansible custom module](https://forum.ansible.com/t/ansible-python-api-how-to-transfer-files-to-remote-in-ansible-custom-module/28703)

<div class="topic-metadata">

**Author:** [@hangsu](https://forum.ansible.com/u/hangsu)\
**Replies:** 4\
**Last updated:** [October 10, 2018, 11:08pm UTC](https://forum.ansible.com/t/ansible-python-api-how-to-transfer-files-to-remote-in-ansible-custom-module/28703 "2018-10-10T23:08:53Z")

</div>

Is there anyway to add files into the zip ansible control node send over to remotes? That's the zip Ansiballz generate, which contains the module and any imports from module\_utils. This is for a new style python custom …

---

## [Ansible Reboot Check](https://forum.ansible.com/t/ansible-reboot-check/28760)

<div class="topic-metadata">

**Author:** [@Chris\_Bidwell](https://forum.ansible.com/u/Chris_Bidwell)\
**Replies:** 2\
**Last updated:** [October 10, 2018, 10:40pm UTC](https://forum.ansible.com/t/ansible-reboot-check/28760 "2018-10-10T22:40:38Z")

</div>

Hey all, take a look at this and lemme know where I’m hosed at. The errors are a bit misleading:

---

## [how to use an pipe like \< \< in ansible ?](https://forum.ansible.com/t/how-to-use-an-pipe-like-in-ansible/28388)

<div class="topic-metadata">

**Author:** [@Henrik\_Schuetze](https://forum.ansible.com/u/Henrik_Schuetze)\
**Replies:** 4\
**Last updated:** [October 10, 2018, 7:20pm UTC](https://forum.ansible.com/t/how-to-use-an-pipe-like-in-ansible/28388 "2018-10-10T19:20:30Z")

</div>

i want to use a command like: read CURRENT\_LOG CURRENT\_POS \< \<( mysql -BNe “SHOW MASTER STATUS”); echo CURRENT\_LOG=$CURRENT\_LOG CURRENT\_POS=$CURRENT\_POS (credits: https://dba.stackexchange.com/questions/34934/how-to-re…

---

## [How to configure AWX for using an unreleased version of Ansible](https://forum.ansible.com/t/how-to-configure-awx-for-using-an-unreleased-version-of-ansible/28629)

<div class="topic-metadata">

**Author:** [@Davide\_Cavestro](https://forum.ansible.com/u/Davide_Cavestro)\
**Replies:** 4\
**Last updated:** [October 10, 2018, 2:51pm UTC](https://forum.ansible.com/t/how-to-configure-awx-for-using-an-unreleased-version-of-ansible/28629 "2018-10-10T14:51:32Z")

</div>

I have installed AWX using the galaxy role obtained from ansible-galaxy install geerlingguy.awx. AFAIK it installs the devel branch of awx, however jobs still use the stable version of ansible. Is there a way to contro…

---

## [Ansible win\_robocopy gives error as "No Destination Directory Specified"](https://forum.ansible.com/t/ansible-win-robocopy-gives-error-as-no-destination-directory-specified/28756)

<div class="topic-metadata">

**Author:** [@Abhijeet\_Kamble](https://forum.ansible.com/u/Abhijeet_Kamble)\
**Replies:** 0\
**Last updated:** [October 10, 2018, 9:01am UTC](https://forum.ansible.com/t/ansible-win-robocopy-gives-error-as-no-destination-directory-specified/28756 "2018-10-10T09:01:40Z")

</div>

Hi, I am facing issues while using ansible with win\_robocopy , I face this issue when I specify any path with some space. { “\_ansible\_parsed”: true, “src”: “C:\\We bs\\Service\\”, “changed”: false, “\_ansible\_no\_log”: …

---

## [copy files from remote linux host to another remote linux host with one to one mapping of hosts.](https://forum.ansible.com/t/copy-files-from-remote-linux-host-to-another-remote-linux-host-with-one-to-one-mapping-of-hosts/28755)

<div class="topic-metadata">

**Author:** [@abhizersaifee03](https://forum.ansible.com/u/abhizersaifee03)\
**Replies:** 0\
**Last updated:** [October 10, 2018, 8:59am UTC](https://forum.ansible.com/t/copy-files-from-remote-linux-host-to-another-remote-linux-host-with-one-to-one-mapping-of-hosts/28755 "2018-10-10T08:59:31Z")

</div>

I have 100 old servers having some different applications and 100 new servers as old’s replacement. I want to copy the log files of old servers to its respective new server using Ansible. How can I do it. It looks someth…

---

## [strange error message from file lookup plugin](https://forum.ansible.com/t/strange-error-message-from-file-lookup-plugin/28740)

<div class="topic-metadata">

**Author:** [@christian.tremel](https://forum.ansible.com/u/christian.tremel)\
**Replies:** 2\
**Last updated:** [October 10, 2018, 7:35am UTC](https://forum.ansible.com/t/strange-error-message-from-file-lookup-plugin/28740 "2018-10-10T07:35:51Z")

</div>

until now i believed that the file lookup only bites when the file is available (ssh key in this example), but instead it fails if it not exists. any hints on the reason of this strange behaviour? error message: \` TAS…

---

## [cannot find ansible.cfg and /etc/ansible on Mac Mojave](https://forum.ansible.com/t/cannot-find-ansible-cfg-and-etc-ansible-on-mac-mojave/28718)

<div class="topic-metadata">

**Author:** [@Ronnie10](https://forum.ansible.com/u/Ronnie10)\
**Replies:** 3\
**Last updated:** [October 10, 2018, 1:09am UTC](https://forum.ansible.com/t/cannot-find-ansible-cfg-and-etc-ansible-on-mac-mojave/28718 "2018-10-10T01:09:40Z")

</div>

Hi there, I installed ansible 2.6.5 using pip, however I could find ansible.cfg and /etc/ansible folder in my macbook, I tried to create my own /etc/ansible but it doesn’t work. Any other way to get that fixed? Thank y…

---

## [awx ssh keys](https://forum.ansible.com/t/awx-ssh-keys/28748)

<div class="topic-metadata">

**Author:** [@Sidh](https://forum.ansible.com/u/Sidh)\
**Replies:** 2\
**Last updated:** [October 9, 2018, 9:12pm UTC](https://forum.ansible.com/t/awx-ssh-keys/28748 "2018-10-09T21:12:53Z")

</div>

Hi All, How to use same template by multiple team members using their own ssh keys (in case if we don’t have service account)?Any ideas ? Sidh

---

## [Errors with Jobs after upgrading from 1.8 to 2.0](https://forum.ansible.com/t/errors-with-jobs-after-upgrading-from-1-8-to-2-0/28749)

<div class="topic-metadata">

**Author:** [@Chuck\_Payne](https://forum.ansible.com/u/Chuck_Payne)\
**Replies:** 2\
**Last updated:** [October 9, 2018, 6:13pm UTC](https://forum.ansible.com/t/errors-with-jobs-after-upgrading-from-1-8-to-2-0/28749 "2018-10-09T18:13:46Z")

</div>

This weekend I upgraded from 1.8 to 2.0, now any job that is ran I am getting the following error… Call to /api/v2/jobs/74/relaunch/ failed. returned status: 500. A server error has occurred. Has anyone seen this error…

---

## [AWX ignores ansible.cfg library paths](https://forum.ansible.com/t/awx-ignores-ansible-cfg-library-paths/28752)

<div class="topic-metadata">

**Author:** [@aestrangwood](https://forum.ansible.com/u/aestrangwood)\
**Replies:** 0\
**Last updated:** [October 9, 2018, 3:43pm UTC](https://forum.ansible.com/t/awx-ignores-ansible-cfg-library-paths/28752 "2018-10-09T15:43:36Z")

</div>

I have tried to set relative paths in ansible.cfg in particular “library”, now i can set this and run my ansible locally without issue. But if i run the same ansible scripts from AWX none of the modules are found. For e…

---

## [Continuous patching for large build pool](https://forum.ansible.com/t/continuous-patching-for-large-build-pool/28735)

<div class="topic-metadata">

**Author:** [@bglowacki](https://forum.ansible.com/u/bglowacki)\
**Replies:** 5\
**Last updated:** [October 9, 2018, 2:17pm UTC](https://forum.ansible.com/t/continuous-patching-for-large-build-pool/28735 "2018-10-09T14:17:25Z")

</div>

I’m working on a project to perform windows patching across a large pool of 450 Windows build agents. The build agents need to be patched monthly. Once a month, each agent needs to be offlined as a build agent, patched u…

---

## [Allow limits in sheduled jobs](https://forum.ansible.com/t/allow-limits-in-sheduled-jobs/28742)

<div class="topic-metadata">

**Author:** [@Jonathon\_Woods](https://forum.ansible.com/u/Jonathon_Woods)\
**Replies:** 1\
**Last updated:** [October 9, 2018, 12:21pm UTC](https://forum.ansible.com/t/allow-limits-in-sheduled-jobs/28742 "2018-10-09T12:21:08Z")

</div>

Hello, I have a need to enter a different limit for each scheduled job off one template. I found this feature request, https://github.com/ansible/awx/issues/169 Does anyone know when this is being implemented or in wh…

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

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