# Latest

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

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

**Page:** 597

---

## [Iterate over inventory groups in parallel](https://forum.ansible.com/t/iterate-over-inventory-groups-in-parallel/26340)

<div class="topic-metadata">

**Author:** [@vinod\_kumar4](https://forum.ansible.com/u/vinod_kumar4)\
**Replies:** 1\
**Last updated:** [December 20, 2017, 3:49pm UTC](https://forum.ansible.com/t/iterate-over-inventory-groups-in-parallel/26340 "2017-12-20T15:49:03Z")

</div>

Hi, I’m looking to iterate over inventory groups something like below, inventory: \[names\] vinod manoj suraj \[places\] bangalore mangalore mysore And i’m trying to make a variable to contain as, variable\_dict= …

---

## [How to cancel a running workflow job on Ansible Tower?](https://forum.ansible.com/t/how-to-cancel-a-running-workflow-job-on-ansible-tower/26336)

<div class="topic-metadata">

**Author:** [@leima2046](https://forum.ansible.com/u/leima2046)\
**Replies:** 1\
**Last updated:** [December 20, 2017, 12:56pm UTC](https://forum.ansible.com/t/how-to-cancel-a-running-workflow-job-on-ansible-tower/26336 "2017-12-20T12:56:01Z")

</div>

I tried to use the following API to cancel a running workflow job, https://tower\_IP/api/v2/workflow\_jobs/192/cancel/ But got the below response, { “detail”: “Method "POST" not allowed.” } Also tried “DELETE”, got t…

---

## [ansible\_host and delegate\_to behavior](https://forum.ansible.com/t/ansible-host-and-delegate-to-behavior/26337)

<div class="topic-metadata">

**Author:** [@gaudenz](https://forum.ansible.com/u/gaudenz)\
**Replies:** 2\
**Last updated:** [December 20, 2017, 12:54pm UTC](https://forum.ansible.com/t/ansible-host-and-delegate-to-behavior/26337 "2017-12-20T12:54:07Z")

</div>

I’m using the following task to check if a host is reachable (after a reboot): \` name: Wait for host to come back wait\_for: host: ‘{{ ansible\_host }}’ port: 22 state: started delay: 30 timeout: 300 delegate\_to:…

---

## [iisue when evaluating a complex var in become](https://forum.ansible.com/t/iisue-when-evaluating-a-complex-var-in-become/26280)

<div class="topic-metadata">

**Author:** [@Mike\_C1](https://forum.ansible.com/u/Mike_C1)\
**Replies:** 4\
**Last updated:** [December 20, 2017, 12:30pm UTC](https://forum.ansible.com/t/iisue-when-evaluating-a-complex-var-in-become/26280 "2017-12-20T12:30:40Z")

</div>

Hi all, im trying to use a ‘complex’ expression to evaluate if a task should run as root or not. Here is what i have defined: debian\_based\_system: ansible\_os\_family == 'Debian' or ansible\_os\_family == 'Linuxmint' My …

---

## [Create \`GCE instance from a snapshot](https://forum.ansible.com/t/create-gce-instance-from-a-snapshot/26339)

<div class="topic-metadata">

**Author:** [@vinod\_kumar4](https://forum.ansible.com/u/vinod_kumar4)\
**Replies:** 0\
**Last updated:** [December 20, 2017, 12:06pm UTC](https://forum.ansible.com/t/create-gce-instance-from-a-snapshot/26339 "2017-12-20T12:06:29Z")

</div>

Hi, I’m looking for a way to create a gce instance from a snapshot using gce module, unable to find much details. Any help is appreciated Thanks, Vinod

---

## [ios\_modules](https://forum.ansible.com/t/ios-modules/24123)

<div class="topic-metadata">

**Author:** [@Dave3](https://forum.ansible.com/u/Dave3)\
**Replies:** 2\
**Last updated:** [December 20, 2017, 6:55am UTC](https://forum.ansible.com/t/ios-modules/24123 "2017-12-20T06:55:23Z")

</div>

Hi All, I’ve got a question regarding the supported platforms I hope someone can answer that. Does ansible support SG200 and SG300 switches? They do not really use the classic Cisco IOS hence I am not sure about it. Tha…

---

## [How to make a library with custom params like ./configure](https://forum.ansible.com/t/how-to-make-a-library-with-custom-params-like-configure/26335)

<div class="topic-metadata">

**Author:** [@gitted](https://forum.ansible.com/u/gitted)\
**Replies:** 2\
**Last updated:** [December 20, 2017, 5:59am UTC](https://forum.ansible.com/t/how-to-make-a-library-with-custom-params-like-configure/26335 "2017-12-20T05:59:02Z")

</div>

Hi, A manual install of the library is like this: $ wget http://www.freetds.org/files/stable/freetds-1.00.21.tar.gz $ tar -xzf freetds-1.00.21.tar.gz $ cd freetds-1.00.21 $ ./configure --prefix=/usr/local --with-tdsver…

---

## [(Windows) Service Fails to Stop in Actual Play - But Actually Stops On Test Server](https://forum.ansible.com/t/windows-service-fails-to-stop-in-actual-play-but-actually-stops-on-test-server/26334)

<div class="topic-metadata">

**Author:** [@Heather\_Luna](https://forum.ansible.com/u/Heather_Luna)\
**Replies:** 4\
**Last updated:** [December 20, 2017, 4:44am UTC](https://forum.ansible.com/t/windows-service-fails-to-stop-in-actual-play-but-actually-stops-on-test-server/26334 "2017-12-20T04:44:42Z")

</div>

Weird thing happening with my Windows Playbook for Splunk. I run the play which includes stopping the Splunk Service. When it gets to the Splunk Service part with the service is supposed to stop, it seemingly fails. Now…

---

## [Creating multiple json files with jinja2 loop](https://forum.ansible.com/t/creating-multiple-json-files-with-jinja2-loop/26316)

<div class="topic-metadata">

**Author:** [@alanpassel7](https://forum.ansible.com/u/alanpassel7)\
**Replies:** 3\
**Last updated:** [December 19, 2017, 11:40pm UTC](https://forum.ansible.com/t/creating-multiple-json-files-with-jinja2-loop/26316 "2017-12-19T23:40:35Z")

</div>

Hi, I’m trying to create a batch of json files, that will pull values from an inventory group. Ideally, what I would like to have happen is 10 different files are created (the inventory group has 10 nodes in it), using…

---

## [what is mean by play and what's the diffrence plays vs tasks, example please?](https://forum.ansible.com/t/what-is-mean-by-play-and-whats-the-diffrence-plays-vs-tasks-example-please/26328)

<div class="topic-metadata">

**Author:** [@Chandramohan\_Reddy](https://forum.ansible.com/u/Chandramohan_Reddy)\
**Replies:** 1\
**Last updated:** [December 19, 2017, 8:54pm UTC](https://forum.ansible.com/t/what-is-mean-by-play-and-whats-the-diffrence-plays-vs-tasks-example-please/26328 "2017-12-19T20:54:12Z")

</div>

Hi All, Can you please explain me what is play and play vs tasks . Could you give any example for play. Thanks & Regards ChandraMohan

---

## [issue : skipping: no hosts matched](https://forum.ansible.com/t/issue-skipping-no-hosts-matched/26318)

<div class="topic-metadata">

**Author:** [@deblick51](https://forum.ansible.com/u/deblick51)\
**Replies:** 1\
**Last updated:** [December 19, 2017, 7:46pm UTC](https://forum.ansible.com/t/issue-skipping-no-hosts-matched/26318 "2017-12-19T19:46:44Z")

</div>

Hello, Trying to launch a playbook via Ansible Tower version 3.2.2 but I’m running into the next issue “skipping: no hosts matched” The playbook runs fine on any other Ansible installation but then ofcourse I’m using a…

---

## [Problem handling spaces in  vm\_nic in vsphere\_guest](https://forum.ansible.com/t/problem-handling-spaces-in-vm-nic-in-vsphere-guest/26333)

<div class="topic-metadata">

**Author:** [@George\_Chiles](https://forum.ansible.com/u/George_Chiles)\
**Replies:** 0\
**Last updated:** [December 19, 2017, 7:27pm UTC](https://forum.ansible.com/t/problem-handling-spaces-in-vm-nic-in-vsphere-guest/26333 "2017-12-19T19:27:57Z")

</div>

I am having a issue when trying to configure my network adapter when a space is present in the network label. I am using vsphere\_guest module to accomplish this task . When I pass in VLAN 123 I get the below behavior. H…

---

## [How to configure LDAPS in AWX??](https://forum.ansible.com/t/how-to-configure-ldaps-in-awx/26332)

<div class="topic-metadata">

**Author:** [@Ben\_Donnaloia](https://forum.ansible.com/u/Ben_Donnaloia)\
**Replies:** 0\
**Last updated:** [December 19, 2017, 6:43pm UTC](https://forum.ansible.com/t/how-to-configure-ldaps-in-awx/26332 "2017-12-19T18:43:29Z")

</div>

Where does AWX look for the ldap cert by default? I was a little confused by the wording in the docs "Finally, add the server certificate to your Tower instance by adding the path which in CentOS is /etc/openldap/ldap.c…

---

## [SAML Auth from behind Apache Reverse Proxy](https://forum.ansible.com/t/saml-auth-from-behind-apache-reverse-proxy/25616)

<div class="topic-metadata">

**Author:** [@Drew\_Stinnett](https://forum.ansible.com/u/Drew_Stinnett)\
**Replies:** 4\
**Last updated:** [December 19, 2017, 6:19pm UTC](https://forum.ansible.com/t/saml-auth-from-behind-apache-reverse-proxy/25616 "2017-12-19T18:19:13Z")

</div>

Hi Gang, I’m trying to use SAML authentication on an AWX container that has an apache frontend, however AWX appears to be sending the wrong ACS. The apache service is just running TLS, and doing a proxypass to http://1…

---

## [How to hot deploy to tomcat with ansible?](https://forum.ansible.com/t/how-to-hot-deploy-to-tomcat-with-ansible/26229)

<div class="topic-metadata">

**Author:** [@Michael\_Hoeller](https://forum.ansible.com/u/Michael_Hoeller)\
**Replies:** 5\
**Last updated:** [December 19, 2017, 5:16pm UTC](https://forum.ansible.com/t/how-to-hot-deploy-to-tomcat-with-ansible/26229 "2017-12-19T17:16:11Z")

</div>

Hello Currently I build my app with maven and use the tomcat manager to hot deploy the war file (both on windows servers). Now I want to use ansible to move away from the manual process. Would it make sense to buil…

---

## [Enable playbook logging via callback plugin](https://forum.ansible.com/t/enable-playbook-logging-via-callback-plugin/26329)

<div class="topic-metadata">

**Author:** [@ansiblekrazy](https://forum.ansible.com/u/ansiblekrazy)\
**Replies:** 2\
**Last updated:** [December 19, 2017, 4:58pm UTC](https://forum.ansible.com/t/enable-playbook-logging-via-callback-plugin/26329 "2017-12-19T16:58:42Z")

</div>

Hi, I want to log playbook execution on per host basis. Have tried log\_plays, it is helping but the logs output is not so good to read. Is it possible to get the output in human readable format or some other suggestions …

---

## [template\_run\_date to be Idempotent](https://forum.ansible.com/t/template-run-date-to-be-idempotent/26330)

<div class="topic-metadata">

**Author:** [@Hudec\_Peter](https://forum.ansible.com/u/Hudec_Peter)\
**Replies:** 0\
**Last updated:** [December 19, 2017, 2:10pm UTC](https://forum.ansible.com/t/template-run-date-to-be-idempotent/26330 "2017-12-19T14:10:30Z")

</div>

Hi, I used the \*\*template\_run\_date\*\* in one template, but this breaks my tests. The task is not idempotent. I did not found, how the \*\*ansible\_managed\*\* works, that is idempotent, my setup is like ansible\_managed = …

---

## [AWX docker container upgrade](https://forum.ansible.com/t/awx-docker-container-upgrade/26291)

<div class="topic-metadata">

**Author:** [@Choon\_Ming\_Goh](https://forum.ansible.com/u/Choon_Ming_Goh)\
**Replies:** 5\
**Last updated:** [December 19, 2017, 1:24pm UTC](https://forum.ansible.com/t/awx-docker-container-upgrade/26291 "2017-12-19T13:24:08Z")

</div>

Hi, I’m currently running AWX 1.0.1 on Amazon ECS with external postgresql on RDS. It is working fine but now I want to upgrade it to 1.0.2. There are indications there I should just update the ECS definitions to use th…

---

## [how to comment out or remove the characters (\<!-- --\>) in the tomcat web.xml file using ansible and also a simple playbbok to add the tomcat filters to web.xml file](https://forum.ansible.com/t/how-to-comment-out-or-remove-the-characters-in-the-tomcat-web-xml-file-using-ansible-and-also-a-simple-playbbok-to-add-the-tomcat-filters-to-web-xml-file/26306)

<div class="topic-metadata">

**Author:** [@Veeresh\_Reddy](https://forum.ansible.com/u/Veeresh_Reddy)\
**Replies:** 1\
**Last updated:** [December 19, 2017, 12:44pm UTC](https://forum.ansible.com/t/how-to-comment-out-or-remove-the-characters-in-the-tomcat-web-xml-file-using-ansible-and-also-a-simple-playbbok-to-add-the-tomcat-filters-to-web-xml-file/26306 "2017-12-19T12:44:00Z")

</div>

how to comment out or remove the characters () in the tomcat web.xml file using ansible and also a simple playbbok to add the tomcat filters to web.xml file.please help me

---

## [Unable to pass Role/X/Var variables to Task](https://forum.ansible.com/t/unable-to-pass-role-x-var-variables-to-task/26325)

<div class="topic-metadata">

**Author:** [@Yogi\_Raghunathan](https://forum.ansible.com/u/Yogi_Raghunathan)\
**Replies:** 1\
**Last updated:** [December 19, 2017, 5:44am UTC](https://forum.ansible.com/t/unable-to-pass-role-x-var-variables-to-task/26325 "2017-12-19T05:44:05Z")

</div>

Hello Folks, Trying to do a basic example for roles for generating configs. I cannot get to pass the variable to the tasks. Any help is appreciated. $ ansible --version ansible 2.4.2.0 config file = /home/cisco/ansib…

---

## [How can I run a powershell script locally?](https://forum.ansible.com/t/how-can-i-run-a-powershell-script-locally/26326)

<div class="topic-metadata">

**Author:** [@Kessy\_Similien](https://forum.ansible.com/u/Kessy_Similien)\
**Replies:** 1\
**Last updated:** [December 19, 2017, 2:59am UTC](https://forum.ansible.com/t/how-can-i-run-a-powershell-script-locally/26326 "2017-12-19T02:59:18Z")

</div>

I’ve created a script to install SQL Server silently. I’m using Ansible to push the files to my machine and trying to run the .ps1 script but none of the modules I’ve tried have successfully called the script. Ive tried…

---

## [ANSIBLE\_KEEP\_REMOTE\_FILES location on windows target?](https://forum.ansible.com/t/ansible-keep-remote-files-location-on-windows-target/26277)

<div class="topic-metadata">

**Author:** [@Gareth\_Stockdale](https://forum.ansible.com/u/Gareth_Stockdale)\
**Replies:** 3\
**Last updated:** [December 19, 2017, 2:18am UTC](https://forum.ansible.com/t/ansible-keep-remote-files-location-on-windows-target/26277 "2017-12-19T02:18:55Z")

</div>

Anyone know the default location of files on windows when using this to run a playbook? ANSIBLE\_KEEP\_REMOTE\_FILES=1 Thanks

---

## [How can we access the variables defined in host\_vars/\* files into playbook](https://forum.ansible.com/t/how-can-we-access-the-variables-defined-in-host-vars-files-into-playbook/26320)

<div class="topic-metadata">

**Author:** [@Chandramohan\_Reddy](https://forum.ansible.com/u/Chandramohan_Reddy)\
**Replies:** 1\
**Last updated:** [December 18, 2017, 9:17pm UTC](https://forum.ansible.com/t/how-can-we-access-the-variables-defined-in-host-vars-files-into-playbook/26320 "2017-12-18T21:17:49Z")

</div>

Hey there, I am facing below error when i am trying to access the variables defined in host\_vars/ansible.com. I have defined variable name in host vars file called “ansible.com” like

---

## [Why is inventory/hosts not automatically pulled into AWX from imported Ansible Repo?](https://forum.ansible.com/t/why-is-inventory-hosts-not-automatically-pulled-into-awx-from-imported-ansible-repo/26324)

<div class="topic-metadata">

**Author:** [@AlanCoding](https://forum.ansible.com/u/AlanCoding)\
**Replies:** 0\
**Last updated:** [December 18, 2017, 8:38pm UTC](https://forum.ansible.com/t/why-is-inventory-hosts-not-automatically-pulled-into-awx-from-imported-ansible-repo/26324 "2017-12-18T20:38:06Z")

</div>

Create a new inventory where you want the hosts to live. Go to SOURCES, add a new source and tell it to source from that project, specify the relative path in the project, update the source, and then the hosts should app…

---

## [curl: (35) TCP connection reset by peer and 503 errors](https://forum.ansible.com/t/curl-35-tcp-connection-reset-by-peer-and-503-errors/26308)

<div class="topic-metadata">

**Author:** [@Sammic30](https://forum.ansible.com/u/Sammic30)\
**Replies:** 1\
**Last updated:** [December 18, 2017, 7:03pm UTC](https://forum.ansible.com/t/curl-35-tcp-connection-reset-by-peer-and-503-errors/26308 "2017-12-18T19:03:41Z")

</div>

Hi, I’m trying to use AWX with Openstack and while running bootstrap as a adhoc command I’m getting curl: (35) TCP connection reset by peer and 503 errors but when I execute manually directly on the server everything wo…

---

## [AWS ELB IP grep and update the inventory for the respective domain](https://forum.ansible.com/t/aws-elb-ip-grep-and-update-the-inventory-for-the-respective-domain/26322)

<div class="topic-metadata">

**Author:** [@DHAVAL\_JAISWAL](https://forum.ansible.com/u/DHAVAL_JAISWAL)\
**Replies:** 0\
**Last updated:** [December 18, 2017, 6:31pm UTC](https://forum.ansible.com/t/aws-elb-ip-grep-and-update-the-inventory-for-the-respective-domain/26322 "2017-12-18T18:31:05Z")

</div>

I am trying to grep the IP available on the AWS ELB (nodes attached to it) and then doing some operation on it. Now, the issue is how can I on the fly update the ansible inventory of the new available IP, so that next o…

---

## [Adding Hostgroup](https://forum.ansible.com/t/adding-hostgroup/26302)

<div class="topic-metadata">

**Author:** [@Tom\_Zurita](https://forum.ansible.com/u/Tom_Zurita)\
**Replies:** 4\
**Last updated:** [December 18, 2017, 1:02pm UTC](https://forum.ansible.com/t/adding-hostgroup/26302 "2017-12-18T13:02:24Z")

</div>

Keep getting this for one particular hostgroup: data : \[object Object\] status : 400 headers : function (name){if(headersObj||(headersObj=parseHeaders(headers)),name){var value=headersObj\[lowercase(name)\];return void 0==…

---

## [I've come across an Ansible question asking for your help](https://forum.ansible.com/t/ive-come-across-an-ansible-question-asking-for-your-help/26317)

<div class="topic-metadata">

**Author:** [@user112](https://forum.ansible.com/u/user112)\
**Replies:** 0\
**Last updated:** [December 18, 2017, 8:07am UTC](https://forum.ansible.com/t/ive-come-across-an-ansible-question-asking-for-your-help/26317 "2017-12-18T08:07:54Z")

</div>

Hi,About Ansible-Tower,There is a problem I think impassability, this two days we Ansible based automation tasks on the Tower platform, one from a local server directory copy the file to the local server to another direc…

---

## [Ansible AWS EC2 create scripts gives this error:: "Timeout when waiting for 172.31.25.6:22"}](https://forum.ansible.com/t/ansible-aws-ec2-create-scripts-gives-this-error-timeout-when-waiting-for-172-31-25-6-22/26273)

<div class="topic-metadata">

**Author:** [@Ajay\_Sharma1](https://forum.ansible.com/u/Ajay_Sharma1)\
**Replies:** 2\
**Last updated:** [December 18, 2017, 6:26am UTC](https://forum.ansible.com/t/ansible-aws-ec2-create-scripts-gives-this-error-timeout-when-waiting-for-172-31-25-6-22/26273 "2017-12-18T06:26:20Z")

</div>

My Ansible AWS EC2 instance creation script gives this error. "Timeout when waiting for 172.31.25.6:22"} to retry, use: --limit @/root/instance/provision-ec2.retry this code is causing problem, Please let me k…

---

## [Querying Registry and Using Output](https://forum.ansible.com/t/querying-registry-and-using-output/26305)

<div class="topic-metadata">

**Author:** [@Heather\_Luna](https://forum.ansible.com/u/Heather_Luna)\
**Replies:** 3\
**Last updated:** [December 17, 2017, 8:46pm UTC](https://forum.ansible.com/t/querying-registry-and-using-output/26305 "2017-12-17T20:46:26Z")

</div>

I’m new to Ansible and trying to figure out the best way to account for: If software version of Splunk = 6.4.1 trigger certain task sequence that includes an uninstall of the software It felt like I needed to grab the …

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

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