# Latest

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

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

**Page:** 490

---

## [Filter hosts matching groups](https://forum.ansible.com/t/filter-hosts-matching-groups/29488)

<div class="topic-metadata">

**Author:** [@Bruno\_Cochofel](https://forum.ansible.com/u/Bruno_Cochofel)\
**Replies:** 3\
**Last updated:** [January 23, 2019, 4:37am UTC](https://forum.ansible.com/t/filter-hosts-matching-groups/29488 "2019-01-23T04:37:33Z")

</div>

Hi all, I have a custom CMDB and I've created a script for dynamic inventory. On that script I have grouped hosts using several ways, just like VMware dynamic inventory script. My question is, how can I match using mor…

---

## [accessing nested facts](https://forum.ansible.com/t/accessing-nested-facts/29492)

<div class="topic-metadata">

**Author:** [@christian.tremel](https://forum.ansible.com/u/christian.tremel)\
**Replies:** 1\
**Last updated:** [January 22, 2019, 8:33pm UTC](https://forum.ansible.com/t/accessing-nested-facts/29492 "2019-01-22T20:33:32Z")

</div>

i have to follwing fact structure…how to access the “size\_available” stuff from the opt filesystem? i tried this but it looks dorky… - name: check free space on /opt aix\_filesystem: filesystem: /opt …

---

## [Find matched element in key value](https://forum.ansible.com/t/find-matched-element-in-key-value/29383)

<div class="topic-metadata">

**Author:** [@Rama](https://forum.ansible.com/u/Rama)\
**Replies:** 16\
**Last updated:** [January 22, 2019, 8:24pm UTC](https://forum.ansible.com/t/find-matched-element-in-key-value/29383 "2019-01-22T20:24:43Z")

</div>

Hi All, Our required in-built module gives huge output of different keys that have multiple values with objects. I used ‘with\_dict’ and when to narrow and get desired output as below. Here also am facing a road block th…

---

## [PS Script Not Installing RDS](https://forum.ansible.com/t/ps-script-not-installing-rds/29468)

<div class="topic-metadata">

**Author:** [@DC1](https://forum.ansible.com/u/DC1)\
**Replies:** 3\
**Last updated:** [January 22, 2019, 4:57pm UTC](https://forum.ansible.com/t/ps-script-not-installing-rds/29468 "2019-01-22T16:57:00Z")

</div>

Hello, I am trying to automate building an MS RDS Server 2016. The automation of the server build works great up until the last part when it tries to install RDS. Two scripts run separately to install RDS, the first one…

---

## [How to convert the cloudformation template\_url parameter to be the Jinja template substitution](https://forum.ansible.com/t/how-to-convert-the-cloudformation-template-url-parameter-to-be-the-jinja-template-substitution/29490)

<div class="topic-metadata">

**Author:** [@Kishore\_Ponniah](https://forum.ansible.com/u/Kishore_Ponniah)\
**Replies:** 1\
**Last updated:** [January 22, 2019, 4:50pm UTC](https://forum.ansible.com/t/how-to-convert-the-cloudformation-template-url-parameter-to-be-the-jinja-template-substitution/29490 "2019-01-22T16:50:02Z")

</div>

Hi All, The cloudformation template\_url parameter requires Amazon S3 URL which is currently working by providing the complete URL of the file. But I wanted to convert that to be the Jinja template substitution. My play…

---

## [ec2\_vpc\_route\_table playbook error was: 'dict object' has no attribute subnet](https://forum.ansible.com/t/ec2-vpc-route-table-playbook-error-was-dict-object-has-no-attribute-subnet/29489)

<div class="topic-metadata">

**Author:** [@Steve\_Button](https://forum.ansible.com/u/Steve_Button)\
**Replies:** 3\
**Last updated:** [January 22, 2019, 4:17pm UTC](https://forum.ansible.com/t/ec2-vpc-route-table-playbook-error-was-dict-object-has-no-attribute-subnet/29489 "2019-01-22T16:17:26Z")

</div>

I have a previously working piece of Ansible that I’ve inherited for a previous contractor, and I’m getting an error message that doesn’t lead me in the right direction. I have tried searching for a few days now, with no…

---

## [Support for IBM z/OS on ansible nodes](https://forum.ansible.com/t/support-for-ibm-z-os-on-ansible-nodes/29466)

<div class="topic-metadata">

**Author:** [@Vitek\_Vlcek](https://forum.ansible.com/u/Vitek_Vlcek)\
**Replies:** 10\
**Last updated:** [January 22, 2019, 4:06pm UTC](https://forum.ansible.com/t/support-for-ibm-z-os-on-ansible-nodes/29466 "2019-01-22T16:06:40Z")

</div>

Hi I would like to add experimental support for z/OS, because python was ported to z/OS https://www.rocketsoftware.com/product-categories/mainframe/python-for-zos The main obstacle of adding z/OS support into ansible i…

---

## [Task history (per host)](https://forum.ansible.com/t/task-history-per-host/29323)

<div class="topic-metadata">

**Author:** [@Jimmy\_Htor](https://forum.ansible.com/u/Jimmy_Htor)\
**Replies:** 2\
**Last updated:** [January 22, 2019, 3:59pm UTC](https://forum.ansible.com/t/task-history-per-host/29323 "2019-01-22T15:59:35Z")

</div>

Hey, Anyone know a tool which shows you an overview of your inventory with all actions that have been performed per host by Ansible in the past. Like ARA, but drill-down from the hosts instead of the events. Like ansi…

---

## [How to copy latest git files to a remote host using playbook , do I need to give the git creds upfront?](https://forum.ansible.com/t/how-to-copy-latest-git-files-to-a-remote-host-using-playbook-do-i-need-to-give-the-git-creds-upfront/29495)

<div class="topic-metadata">

**Author:** [@arunkumar.singamsett](https://forum.ansible.com/u/arunkumar.singamsett)\
**Replies:** 0\
**Last updated:** [January 22, 2019, 3:14pm UTC](https://forum.ansible.com/t/how-to-copy-latest-git-files-to-a-remote-host-using-playbook-do-i-need-to-give-the-git-creds-upfront/29495 "2019-01-22T15:14:08Z")

</div>

Hi All, How to copy latest git files to a remote host using playbook , do I need to give the git creds upfront? Thanks in advance

---

## [How to assing ipv6 address(es) using ec2\_instance module?](https://forum.ansible.com/t/how-to-assing-ipv6-address-es-using-ec2-instance-module/29493)

<div class="topic-metadata">

**Author:** [@jp12](https://forum.ansible.com/u/jp12)\
**Replies:** 0\
**Last updated:** [January 22, 2019, 2:47pm UTC](https://forum.ansible.com/t/how-to-assing-ipv6-address-es-using-ec2-instance-module/29493 "2019-01-22T14:47:27Z")

</div>

I am trying to define new ipv6 address for ENI using ec2\_instance module in ansible 2.7.6- I just don’t get it how to define the task? output is just “changed: false” and nothing happens. Would anyone be able to point ou…

---

## [alternate shadow file?](https://forum.ansible.com/t/alternate-shadow-file/29449)

<div class="topic-metadata">

**Author:** [@erichymowitz](https://forum.ansible.com/u/erichymowitz)\
**Replies:** 4\
**Last updated:** [January 22, 2019, 1:48pm UTC](https://forum.ansible.com/t/alternate-shadow-file/29449 "2019-01-22T13:48:40Z")

</div>

Greetings. I would like to use the “user” module to change my password, but the shadow file is not located in /etc/shadow . It’s in an alternate location, specifically, /mnt/pxe/etc/shadow . Is there a way to accomplish…

---

## [I am trying to install Java and set path by using Java tar file, I am getting error can anyone please suggest ASAP (Urgent)](https://forum.ansible.com/t/i-am-trying-to-install-java-and-set-path-by-using-java-tar-file-i-am-getting-error-can-anyone-please-suggest-asap-urgent/29479)

<div class="topic-metadata">

**Author:** [@ashok\_kumar\_penumudi](https://forum.ansible.com/u/ashok_kumar_penumudi)\
**Replies:** 3\
**Last updated:** [January 22, 2019, 12:21pm UTC](https://forum.ansible.com/t/i-am-trying-to-install-java-and-set-path-by-using-java-tar-file-i-am-getting-error-can-anyone-please-suggest-asap-urgent/29479 "2019-01-22T12:21:12Z")

</div>

When i run below playbook getting error i am trying to set Java path. Please suggest ASAP \[cdhadmin@vboacisbs13 ansible\]$ ansible-playbook java.yml --syntax -check ERROR! Syntax Error while loading YAML…

---

## [Ansible s3\_sync to upload multiple files](https://forum.ansible.com/t/ansible-s3-sync-to-upload-multiple-files/29436)

<div class="topic-metadata">

**Author:** [@Kishore\_Ponniah](https://forum.ansible.com/u/Kishore_Ponniah)\
**Replies:** 2\
**Last updated:** [January 22, 2019, 12:05pm UTC](https://forum.ansible.com/t/ansible-s3-sync-to-upload-multiple-files/29436 "2019-01-22T12:05:04Z")

</div>

Hi All, I am trying to upload multiple yaml cloudformation templates to a s3 bucket using s3\_sync. I have created a task in the playbook, looks like the tasks completed successfully but the file is not uploaded. Can som…

---

## [lineinfile .  module not running](https://forum.ansible.com/t/lineinfile-module-not-running/29471)

<div class="topic-metadata">

**Author:** [@computerprosupport](https://forum.ansible.com/u/computerprosupport)\
**Replies:** 3\
**Last updated:** [January 22, 2019, 11:13am UTC](https://forum.ansible.com/t/lineinfile-module-not-running/29471 "2019-01-22T11:13:09Z")

</div>

This playbook is not running. Can anyone tell me why? Running on Linux CentOS 6.6 ansible 2.6.4 ansible-playbook -i hosts plays/sudoers.yml -u ansible-user name: add groups to sudoers hosts: all tasks: name: line…

---

## [Ansible to windows client connection](https://forum.ansible.com/t/ansible-to-windows-client-connection/29463)

<div class="topic-metadata">

**Author:** [@sindhu\_shree](https://forum.ansible.com/u/sindhu_shree)\
**Replies:** 14\
**Last updated:** [January 22, 2019, 10:39am UTC](https://forum.ansible.com/t/ansible-to-windows-client-connection/29463 "2019-01-22T10:39:54Z")

</div>

Hi. Am facing some authentication issues when i run ansible all -m win\_ping. Response - 10.67.104.45 | UNREACHABLE! =\> { “changed”: false, “msg”: “basic: the specified credentials were rejected by the server”, “unrea…

---

## [Ansible to windows client connection](https://forum.ansible.com/t/ansible-to-windows-client-connection/29464)

<div class="topic-metadata">

**Author:** [@sindhu\_shree](https://forum.ansible.com/u/sindhu_shree)\
**Replies:** 2\
**Last updated:** [January 22, 2019, 10:01am UTC](https://forum.ansible.com/t/ansible-to-windows-client-connection/29464 "2019-01-22T10:01:59Z")

</div>

Hi. Am facing some authentication issues when i run ansible all -m win\_ping. Response - 10.67.104.45 | UNREACHABLE! =\> { “changed”: false, “msg”: “basic: the specified credentials were rejected by the server”, “unrea…

---

## [running a specific unit test](https://forum.ansible.com/t/running-a-specific-unit-test/29485)

<div class="topic-metadata">

**Author:** [@Mike\_Zhukovskiy](https://forum.ansible.com/u/Mike_Zhukovskiy)\
**Replies:** 1\
**Last updated:** [January 22, 2019, 9:15am UTC](https://forum.ansible.com/t/running-a-specific-unit-test/29485 "2019-01-22T09:15:51Z")

</div>

Hello, How do I run a specific unit? I would like to run: test/units/plugins/filter/test\_ipaddr.py I tried $ ansible-test units --tox --python 2.7 ipaddr ERROR: Target pattern not matched: ipaddr and $ pytest test…

---

## [Ansible AWX](https://forum.ansible.com/t/ansible-awx/29481)

<div class="topic-metadata">

**Author:** [@ryad9200000](https://forum.ansible.com/u/ryad9200000)\
**Replies:** 2\
**Last updated:** [January 22, 2019, 8:28am UTC](https://forum.ansible.com/t/ansible-awx/29481 "2019-01-22T08:28:56Z")

</div>

Bonjour, Dans ansible Tower AWX est-ce possible de charger un fichier zip depuis une url contenant une l’architecture de ansible (playbook, inventory, etc…) ? Merci pour vos réponses

---

## [Setting dns\_servers on linux guest using vmware\_guest module](https://forum.ansible.com/t/setting-dns-servers-on-linux-guest-using-vmware-guest-module/28440)

<div class="topic-metadata">

**Author:** [@Jorg\_Kastning](https://forum.ansible.com/u/Jorg_Kastning)\
**Replies:** 2\
**Last updated:** [January 22, 2019, 8:16am UTC](https://forum.ansible.com/t/setting-dns-servers-on-linux-guest-using-vmware-guest-module/28440 "2019-01-22T08:16:12Z")

</div>

Hi, I read in vmware\_guest documentation that Linux based OSes requires Perl package to be installed for OS customizations. Do I have to install the perl package on the guest or on my ansible controller machine? Regar…

---

## [Can we use one include inside another include?](https://forum.ansible.com/t/can-we-use-one-include-inside-another-include/29487)

<div class="topic-metadata">

**Author:** [@Sahar](https://forum.ansible.com/u/Sahar)\
**Replies:** 1\
**Last updated:** [January 22, 2019, 5:46am UTC](https://forum.ansible.com/t/can-we-use-one-include-inside-another-include/29487 "2019-01-22T05:46:17Z")

</div>

I’m wondering if we can use one include include another include?

---

## [How to sort a loop based upon a key value - weird behaviour using win\_dsc](https://forum.ansible.com/t/how-to-sort-a-loop-based-upon-a-key-value-weird-behaviour-using-win-dsc/29486)

<div class="topic-metadata">

**Author:** [@Lee\_Drew](https://forum.ansible.com/u/Lee_Drew)\
**Replies:** 2\
**Last updated:** [January 22, 2019, 2:20am UTC](https://forum.ansible.com/t/how-to-sort-a-loop-based-upon-a-key-value-weird-behaviour-using-win-dsc/29486 "2019-01-22T02:20:40Z")

</div>

Hi - I’ve got a few questions…I have a variable (dictionary with lists I think is what it is? Is this the correct name/term?) \` dns\_nat\_dc1\_records: { zone: ‘test.com’, name: ‘server1’, target: ‘192.168.1.10’, type: …

---

## [on/off button for custom inventory](https://forum.ansible.com/t/on-off-button-for-custom-inventory/29483)

<div class="topic-metadata">

**Author:** [@deloreandave](https://forum.ansible.com/u/deloreandave)\
**Replies:** 3\
**Last updated:** [January 21, 2019, 5:21pm UTC](https://forum.ansible.com/t/on-off-button-for-custom-inventory/29483 "2019-01-21T17:21:26Z")

</div>

Hello, I have created a custom inventory. I would like to have the on/off button for the hosts listed in the inventory work. I have attempted to follow the format of other inventory sources such as setting the “status” …

---

## [role variables](https://forum.ansible.com/t/role-variables/29482)

<div class="topic-metadata">

**Author:** [@Sreejith\_Sreejayan](https://forum.ansible.com/u/Sreejith_Sreejayan)\
**Replies:** 2\
**Last updated:** [January 21, 2019, 3:57pm UTC](https://forum.ansible.com/t/role-variables/29482 "2019-01-21T15:57:01Z")

</div>

Anybody knows passing solution vars\_files in dependencies role i have variable files located in vars dir but i tried to pass vars\_files in this play but its not working any solution to solve this issues . now passing v…

---

## [awx job/host monitoring details](https://forum.ansible.com/t/awx-job-host-monitoring-details/29473)

<div class="topic-metadata">

**Author:** [@Adam\_E](https://forum.ansible.com/u/Adam_E)\
**Replies:** 1\
**Last updated:** [January 21, 2019, 3:25pm UTC](https://forum.ansible.com/t/awx-job-host-monitoring-details/29473 "2019-01-21T15:25:27Z")

</div>

HI there, I have a few AWX jobs that run on some pretty sluggish hosts (legacy stuff), unfortunately I have a few hundred hosts. Currently I run with serial set to 20 or so which works well and fine. The issue I have i…

---

## [AWX Instance groups Question](https://forum.ansible.com/t/awx-instance-groups-question/29457)

<div class="topic-metadata">

**Author:** [@Darkhan](https://forum.ansible.com/u/Darkhan)\
**Replies:** 4\
**Last updated:** [January 21, 2019, 1:32pm UTC](https://forum.ansible.com/t/awx-instance-groups-question/29457 "2019-01-21T13:32:24Z")

</div>

I was under the impression that hosts in the same instance group are picking up whatever job is assigned to that group depending on which has free resources. I have an environment with 2 hosts in the tower instance grou…

---

## [Ansible and Huawei](https://forum.ansible.com/t/ansible-and-huawei/29361)

<div class="topic-metadata">

**Author:** [@Anurag\_Bhatia](https://forum.ansible.com/u/Anurag_Bhatia)\
**Replies:** 2\
**Last updated:** [January 21, 2019, 11:34am UTC](https://forum.ansible.com/t/ansible-and-huawei/29361 "2019-01-21T11:34:46Z")

</div>

Hello there Was wondering if anyone has experience of using ansible with Huawei successfully? We are using Huawei at our IX and I am able to use ad-hoc commands with Huawei but playbooks based on documentation fail wit…

---

## [Migration of AWX objects between two installations](https://forum.ansible.com/t/migration-of-awx-objects-between-two-installations/29441)

<div class="topic-metadata">

**Author:** [@Alberto\_Jimenez\_Loza](https://forum.ansible.com/u/Alberto_Jimenez_Loza)\
**Replies:** 5\
**Last updated:** [January 21, 2019, 7:56am UTC](https://forum.ansible.com/t/migration-of-awx-objects-between-two-installations/29441 "2019-01-21T07:56:33Z")

</div>

I have two awx installations. One AWX is the backup of main installation. I have used tower-cli to do the export/import of the objetcts of the AWX. EXPORT tower-cli receive --all\> date +%m.%d.%y\_%H.%M.%S\_assets\_awx.j…

---

## [ntp.j2 for different set of hosts](https://forum.ansible.com/t/ntp-j2-for-different-set-of-hosts/29462)

<div class="topic-metadata">

**Author:** [@coach.rhca](https://forum.ansible.com/u/coach.rhca)\
**Replies:** 3\
**Last updated:** [January 21, 2019, 6:50am UTC](https://forum.ansible.com/t/ntp-j2-for-different-set-of-hosts/29462 "2019-01-21T06:50:30Z")

</div>

Hi, I have created a role for the ntp with the ntp.j2 and ntp1.j2 templates in templates diretory . with ntp.j2 consisting of server 2.2.2.1 iburst and with tp. ntp1.j2 consist of server 1.2.1.3 iburst In the task…

---

## [Unable to parse /etc/ansible/hosts as an inventory source](https://forum.ansible.com/t/unable-to-parse-etc-ansible-hosts-as-an-inventory-source/27844)

<div class="topic-metadata">

**Author:** [@Rob\_Christian](https://forum.ansible.com/u/Rob_Christian)\
**Replies:** 6\
**Last updated:** [January 20, 2019, 6:32pm UTC](https://forum.ansible.com/t/unable-to-parse-etc-ansible-hosts-as-an-inventory-source/27844 "2019-01-20T18:32:20Z")

</div>

How can I have my Ansible project use only the local /inventories directory? I am getting this output and I get the impression that Ansible is not finding my inventories. \` \[WARNING\]: Unable to parse /etc/ansible/hosts…

---

## [Want to change the installatin path using win\_package](https://forum.ansible.com/t/want-to-change-the-installatin-path-using-win-package/29478)

<div class="topic-metadata">

**Author:** [@shyam.awk](https://forum.ansible.com/u/shyam.awk)\
**Replies:** 3\
**Last updated:** [January 20, 2019, 5:22pm UTC](https://forum.ansible.com/t/want-to-change-the-installatin-path-using-win-package/29478 "2019-01-20T17:22:01Z")

</div>

Hi, I want to change the new software installation path from C:\\ to D:\\ but the installation is going to the C:\\ drive and the following playbook not worked. The package is at shared network path. name: installation o…

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

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