# Latest

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

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

**Page:** 523

---

## [\[WARNING\]:  \* Failed to parse /etc/ansible/hosts with ini plugin: /etc/ansible/hosts:5: Expected key=value, got: ansible\_winrm\_transport: basic](https://forum.ansible.com/t/warning-failed-to-parse-etc-ansible-hosts-with-ini-plugin-etc-ansible-hosts-expected-key-value-got-ansible-winrm-transport-basic/28535)

<div class="topic-metadata">

**Author:** [@VS1](https://forum.ansible.com/u/VS1)\
**Replies:** 1\
**Last updated:** [September 10, 2018, 9:27am UTC](https://forum.ansible.com/t/warning-failed-to-parse-etc-ansible-hosts-with-ini-plugin-etc-ansible-hosts-expected-key-value-got-ansible-winrm-transport-basic/28535 "2018-09-10T09:27:16Z")

</div>

\[all:vars\] ansible\_connection=winrm ansible\_user=doomaine\\jenkins ansible\_pass=asdasdasda ansible\_winrm\_transport: basic error : Failed to parse /etc/ansible/hosts with ini plugin: /etc/ansible/hosts:5: Expected k…

---

## [Opengear IP Assignments](https://forum.ansible.com/t/opengear-ip-assignments/28534)

<div class="topic-metadata">

**Author:** [@Jorge\_Vazquez](https://forum.ansible.com/u/Jorge_Vazquez)\
**Replies:** 0\
**Last updated:** [September 9, 2018, 2:40am UTC](https://forum.ansible.com/t/opengear-ip-assignments/28534 "2018-09-09T02:40:46Z")

</div>

I am trying to write a playbook to configure the Opengear Console 7196. This is a console with 96 ports that each need to be assigned an IP address. Each port will be assigned an IP address sequentially. The IP address c…

---

## [Vmware + when clause in Ansible](https://forum.ansible.com/t/vmware-when-clause-in-ansible/28533)

<div class="topic-metadata">

**Author:** [@Bishwajit\_Samanta](https://forum.ansible.com/u/Bishwajit_Samanta)\
**Replies:** 0\
**Last updated:** [September 8, 2018, 6:06pm UTC](https://forum.ansible.com/t/vmware-when-clause-in-ansible/28533 "2018-09-08T18:06:47Z")

</div>

Hi I am not able to use the Vm Poweredoff status in my when clause. Can anyone tell me how to fix it. - name: "Collecting Vmware Guest Facts" hosts: localhost vars: msg: | {{ value.instance.hw\_power\_…

---

## [Standalone ESXI with Vmware (Evaluation Version ESXI)](https://forum.ansible.com/t/standalone-esxi-with-vmware-evaluation-version-esxi/28515)

<div class="topic-metadata">

**Author:** [@Bishwajit\_Samanta](https://forum.ansible.com/u/Bishwajit_Samanta)\
**Replies:** 1\
**Last updated:** [September 8, 2018, 5:36pm UTC](https://forum.ansible.com/t/standalone-esxi-with-vmware-evaluation-version-esxi/28515 "2018-09-08T17:36:47Z")

</div>

Dear Team, I want to Run some shell commands in Vmware through Ansible. But i am facing Some errors. If possible can you help me. name: Run command inside a vm vmware\_vm\_shell: hostname: 192.168.119.129 username: x…

---

## [Right way to pass a command to command module when using \_execute\_module in custom action plugin](https://forum.ansible.com/t/right-way-to-pass-a-command-to-command-module-when-using-execute-module-in-custom-action-plugin/28532)

<div class="topic-metadata">

**Author:** [@Sankaravadivel\_S](https://forum.ansible.com/u/Sankaravadivel_S)\
**Replies:** 0\
**Last updated:** [September 8, 2018, 2:47pm UTC](https://forum.ansible.com/t/right-way-to-pass-a-command-to-command-module-when-using-execute-module-in-custom-action-plugin/28532 "2018-09-08T14:47:12Z")

</div>

I am building a custom action plugin and I am trying to invoke the command module using ActionBase.\_execute\_module. But unfortunately, I couldn’t find any document or samples showing how to pass the command to module\_arg…

---

## [Slack notifications failing](https://forum.ansible.com/t/slack-notifications-failing/28530)

<div class="topic-metadata">

**Author:** [@Larry\_Bakun](https://forum.ansible.com/u/Larry_Bakun)\
**Replies:** 0\
**Last updated:** [September 7, 2018, 9:19pm UTC](https://forum.ansible.com/t/slack-notifications-failing/28530 "2018-09-07T21:19:50Z")

</div>

I’ve installed AWX on Centos 7 with Docker. Trying to set up Slack Notifications and test is failing. How do I troubleshoot this issue? AWX 1.0.7.2 Thanks, Larry

---

## [awx 1.0.7.2 upgrade](https://forum.ansible.com/t/awx-1-0-7-2-upgrade/28529)

<div class="topic-metadata">

**Author:** [@Richard\_Klar](https://forum.ansible.com/u/Richard_Klar)\
**Replies:** 0\
**Last updated:** [September 7, 2018, 1:56pm UTC](https://forum.ansible.com/t/awx-1-0-7-2-upgrade/28529 "2018-09-07T13:56:45Z")

</div>

We upgraded our awx to 1.0.7.2 today. After that so isnt vmware\_guest working any more, any one else that has had the same problem? It looks like it complains about select\_datastore. // Richard

---

## [Mail Callback](https://forum.ansible.com/t/mail-callback/28528)

<div class="topic-metadata">

**Author:** [@JS11](https://forum.ansible.com/u/JS11)\
**Replies:** 3\
**Last updated:** [September 7, 2018, 12:33pm UTC](https://forum.ansible.com/t/mail-callback/28528 "2018-09-07T12:33:48Z")

</div>

Hello! I am trying to receive email alerts anytime a playbook fails. Could anyone guide me as to how I can configure / setup the mail callback feature to work? I tried un-commenting the following line in ansible.cfg a…

---

## [Ansible Module](https://forum.ansible.com/t/ansible-module/28519)

<div class="topic-metadata">

**Author:** [@krishnachaitanya\_ine](https://forum.ansible.com/u/krishnachaitanya_ine)\
**Replies:** 1\
**Last updated:** [September 7, 2018, 12:20pm UTC](https://forum.ansible.com/t/ansible-module/28519 "2018-09-07T12:20:11Z")

</div>

Hi Team, what kind of module Ansible uses, uploading the nexus artifact to Unix server through Ansible tower. Thanks, Chaithanya Inedi.

---

## [Issue while Ansible tower install on kubernetes cluster](https://forum.ansible.com/t/issue-while-ansible-tower-install-on-kubernetes-cluster/28527)

<div class="topic-metadata">

**Author:** [@Auto-mate](https://forum.ansible.com/u/Auto-mate)\
**Replies:** 0\
**Last updated:** [September 7, 2018, 9:57am UTC](https://forum.ansible.com/t/issue-while-ansible-tower-install-on-kubernetes-cluster/28527 "2018-09-07T09:57:00Z")

</div>

Hi, Trying to install and setup Ansible tower on kubernetes cluster. It is getting installed fine but while accessing it, getting the “502 bad gateway” error in browser. This is the deployment.yml, Am I missing somethi…

---

## [Ansible 2.6.4 is available](https://forum.ansible.com/t/ansible-2-6-4-is-available/28526)

<div class="topic-metadata">

**Author:** [@Matt\_Clay1](https://forum.ansible.com/u/Matt_Clay1)\
**Replies:** 0\
**Last updated:** [September 7, 2018, 5:25am UTC](https://forum.ansible.com/t/ansible-2-6-4-is-available/28526 "2018-09-07T05:25:01Z")

</div>

Hi all – we’re happy to announce that the general release of Ansible 2.6.4 is now available! How do you get it?

---

## [Ansible 2.6.4 is available](https://forum.ansible.com/t/ansible-2-6-4-is-available/28525)

<div class="topic-metadata">

**Author:** [@Matt\_Clay1](https://forum.ansible.com/u/Matt_Clay1)\
**Replies:** 0\
**Last updated:** [September 7, 2018, 5:24am UTC](https://forum.ansible.com/t/ansible-2-6-4-is-available/28525 "2018-09-07T05:24:44Z")

</div>

Hi all – we’re happy to announce that the general release of Ansible 2.6.4 is now available! How do you get it?

---

## [Ansible: async getting error "async task did not complete within the requested time"](https://forum.ansible.com/t/ansible-async-getting-error-async-task-did-not-complete-within-the-requested-time/28524)

<div class="topic-metadata">

**Author:** [@Ankur\_Gupta](https://forum.ansible.com/u/Ankur_Gupta)\
**Replies:** 0\
**Last updated:** [September 7, 2018, 3:19am UTC](https://forum.ansible.com/t/ansible-async-getting-error-async-task-did-not-complete-within-the-requested-time/28524 "2018-09-07T03:19:09Z")

</div>

Hello Everyone, I have a task, where I need to run shell command which takes 22-25 min to execute after that it reboots the system. when playbook runs command execute successfully reboot the system but after some time …

---

## [Ansible 2.7.0rc1](https://forum.ansible.com/t/ansible-2-7-0rc1/28523)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [September 7, 2018, 3:11am UTC](https://forum.ansible.com/t/ansible-2-7-0rc1/28523 "2018-09-07T03:11:41Z")

</div>

Hi all- we're happy to announce that Ansible 2.7.0 release candidate 1 is now available! How do you get it?

---

## [To list the target host's name and it's IP address using facts](https://forum.ansible.com/t/to-list-the-target-hosts-name-and-its-ip-address-using-facts/28516)

<div class="topic-metadata">

**Author:** [@Pandu\_jh](https://forum.ansible.com/u/Pandu_jh)\
**Replies:** 2\
**Last updated:** [September 7, 2018, 2:41am UTC](https://forum.ansible.com/t/to-list-the-target-hosts-name-and-its-ip-address-using-facts/28516 "2018-09-07T02:41:47Z")

</div>

I need to list the target host’s name and IP address using set\_fact. Below is my playbook, but it’s giving error. hosts: all tasks: set\_fact: data: “{{ ansible\_all\_ipv4\_addresses }}” set\_fact: ip: “{{ data.spli…

---

## [Nested variables and regex\_replace()](https://forum.ansible.com/t/nested-variables-and-regex-replace/28522)

<div class="topic-metadata">

**Author:** [@einar.coutin](https://forum.ansible.com/u/einar.coutin)\
**Replies:** 0\
**Last updated:** [September 6, 2018, 11:04pm UTC](https://forum.ansible.com/t/nested-variables-and-regex-replace/28522 "2018-09-06T23:04:29Z")

</div>

I’ll make a pull request here: https://docs.ansible.com/ansible/latest/user\_guide/playbooks\_filters.html To add this example…'Tis was a lot of looking around. Thanks!

---

## [Using cobbler.py to discover hosts on multiple cobbler servers](https://forum.ansible.com/t/using-cobbler-py-to-discover-hosts-on-multiple-cobbler-servers/28521)

<div class="topic-metadata">

**Author:** [@jdelaporte](https://forum.ansible.com/u/jdelaporte)\
**Replies:** 0\
**Last updated:** [September 6, 2018, 10:02pm UTC](https://forum.ansible.com/t/using-cobbler-py-to-discover-hosts-on-multiple-cobbler-servers/28521 "2018-09-06T22:02:44Z")

</div>

I am curious whether anyone has used cobbler.py to discover inventory on multiple cobbler servers, without needing to change the host variable to a new cobbler server every time.

---

## [COPY failing](https://forum.ansible.com/t/copy-failing/28520)

<div class="topic-metadata">

**Author:** [@Andres\_Tarallo](https://forum.ansible.com/u/Andres_Tarallo)\
**Replies:** 1\
**Last updated:** [September 6, 2018, 9:50pm UTC](https://forum.ansible.com/t/copy-failing/28520 "2018-09-06T21:50:19Z")

</div>

I’ve made a playbook that was copying files from one host to an other. Till yesterday, that started failing. After Paying the task says: TASK \[Deployment Application\] \*\*\*\*\*\*\*\*\*\*\*\* changed: \[192.168.214.99\] =\> {“change…

---

## [view remote shell script output to the controller node terminal screen](https://forum.ansible.com/t/view-remote-shell-script-output-to-the-controller-node-terminal-screen/28499)

<div class="topic-metadata">

**Author:** [@Kaushal\_Shriyan](https://forum.ansible.com/u/Kaushal_Shriyan)\
**Replies:** 2\
**Last updated:** [September 6, 2018, 9:13pm UTC](https://forum.ansible.com/t/view-remote-shell-script-output-to-the-controller-node-terminal-screen/28499 "2018-09-06T21:13:10Z")

</div>

Hi, Is there a way to see the remote shell script output to the controller node terminal screen (stdout) ? I have the below shell script on a remote node. name: Execute the script #command: sh /opt/installaio.sh ra…

---

## [Roles calling](https://forum.ansible.com/t/roles-calling/28512)

<div class="topic-metadata">

**Author:** [@Abhijit\_Chakraborty](https://forum.ansible.com/u/Abhijit_Chakraborty)\
**Replies:** 1\
**Last updated:** [September 6, 2018, 9:07pm UTC](https://forum.ansible.com/t/roles-calling/28512 "2018-09-06T21:07:47Z")

</div>

hello all, I am just starting to play with Ansible roles. I have a file named main.yml where i am calling three roles roles: a.yml b.yml c.yml Mu question is whether this three roles will get called all at once or …

---

## [Create CI CD pipeline in Ansible](https://forum.ansible.com/t/create-ci-cd-pipeline-in-ansible/28513)

<div class="topic-metadata">

**Author:** [@Pradeep\_Drall](https://forum.ansible.com/u/Pradeep_Drall)\
**Replies:** 2\
**Last updated:** [September 6, 2018, 9:05pm UTC](https://forum.ansible.com/t/create-ci-cd-pipeline-in-ansible/28513 "2018-09-06T21:05:42Z")

</div>

Hi, I created CI CD pipeline in jenkins for our Development, UAT and production environment. Can I create the CI CD pipeline in ansible / ansible tower and deploy our build in our Development, UAT and production enviro…

---

## [vmware\_guest requires datacenter to display VM's facts](https://forum.ansible.com/t/vmware-guest-requires-datacenter-to-display-vms-facts/24145)

<div class="topic-metadata">

**Author:** [@Diego\_Puertas](https://forum.ansible.com/u/Diego_Puertas)\
**Replies:** 7\
**Last updated:** [September 6, 2018, 7:57pm UTC](https://forum.ansible.com/t/vmware-guest-requires-datacenter-to-display-vms-facts/24145 "2018-09-06T19:57:26Z")

</div>

Hello All, I’m using Ansible 2.3 RC2. According to the sample comments in the code (https://github.com/ansible/ansible-modules-extras/blob/devel/cloud/vmware/vmware\_guest.py), this is all I need to get a VM facts: G…

---

## [Ansible copy module not working recursively--or with dirs](https://forum.ansible.com/t/ansible-copy-module-not-working-recursively-or-with-dirs/28517)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 4\
**Last updated:** [September 6, 2018, 5:19pm UTC](https://forum.ansible.com/t/ansible-copy-module-not-working-recursively-or-with-dirs/28517 "2018-09-06T17:19:44Z")

</div>

It is probably something I am doing wrong–I will be the first to admit it. I want to copy files from my ansible server to a bunch of remote hosts. I need this to work recursively. Unfortunately it just copies the file1.…

---

## [Spaces in group names?](https://forum.ansible.com/t/spaces-in-group-names/28518)

<div class="topic-metadata">

**Author:** [@Carter\_Stephen](https://forum.ansible.com/u/Carter_Stephen)\
**Replies:** 0\
**Last updated:** [September 6, 2018, 5:19pm UTC](https://forum.ansible.com/t/spaces-in-group-names/28518 "2018-09-06T17:19:27Z")

</div>

I was messing around with VMware inventory, and grouping off of the VM Folder however, ours have spaces in the names for some of them. When I target them ansible is treating them as two items, rather than a single. Is th…

---

## [AWX webpage is not coming up after server reboot](https://forum.ansible.com/t/awx-webpage-is-not-coming-up-after-server-reboot/28514)

<div class="topic-metadata">

**Author:** [@Mahendra\_Raghuwanshi](https://forum.ansible.com/u/Mahendra_Raghuwanshi)\
**Replies:** 1\
**Last updated:** [September 6, 2018, 10:36am UTC](https://forum.ansible.com/t/awx-webpage-is-not-coming-up-after-server-reboot/28514 "2018-09-06T10:36:21Z")

</div>

Hello AWX webpae is not coming up after reboot of the server. Kindly help , how can I up all the services related to AWX on my server. Thanks & Regards Mahendra Raghuwanshi

---

## [Can callback capture fatal messages?](https://forum.ansible.com/t/can-callback-capture-fatal-messages/28511)

<div class="topic-metadata">

**Author:** [@Matt\_Graham](https://forum.ansible.com/u/Matt_Graham)\
**Replies:** 0\
**Last updated:** [September 5, 2018, 11:06pm UTC](https://forum.ansible.com/t/can-callback-capture-fatal-messages/28511 "2018-09-05T23:06:10Z")

</div>

Hi All Just wondering as Im using the hipchat callback plugin and cant seem to find if I can capture a “fatal” message like the one below. Maybe Im missing something. Thanks again for any advice. fatal: \[localhost\]: F…

---

## [restart service for a single computer using a loop when file copied](https://forum.ansible.com/t/restart-service-for-a-single-computer-using-a-loop-when-file-copied/28508)

<div class="topic-metadata">

**Author:** [@Chris7](https://forum.ansible.com/u/Chris7)\
**Replies:** 5\
**Last updated:** [September 5, 2018, 9:32pm UTC](https://forum.ansible.com/t/restart-service-for-a-single-computer-using-a-loop-when-file-copied/28508 "2018-09-05T21:32:55Z")

</div>

Good day, I have a list that I loop over to copy files. I want to restart a service only if that file has been changed on the remote system. What is the best method to restart a service on only on a system if the file w…

---

## [caagent status](https://forum.ansible.com/t/caagent-status/28510)

<div class="topic-metadata">

**Author:** [@Hasan\_Syed](https://forum.ansible.com/u/Hasan_Syed)\
**Replies:** 0\
**Last updated:** [September 5, 2018, 7:28pm UTC](https://forum.ansible.com/t/caagent-status/28510 "2018-09-05T19:28:48Z")

</div>

Team, Could you please help with caagent start using ansible? our requirement is to start caagent if it is stopped. Its not service so we will have to apply a condition like caagent status if it is stopped caagent star…

---

## [caagent start using ansible.](https://forum.ansible.com/t/caagent-start-using-ansible/28509)

<div class="topic-metadata">

**Author:** [@Hasan\_Syed](https://forum.ansible.com/u/Hasan_Syed)\
**Replies:** 0\
**Last updated:** [September 5, 2018, 7:24pm UTC](https://forum.ansible.com/t/caagent-start-using-ansible/28509 "2018-09-05T19:24:00Z")

</div>

Team, Could you please help with caagent start using ansible? our requirement is to start caagent if it is stopped. Its not service so we will have to apply a condition like caagent status if it is stopped caagent star…

---

## [Package Installation Without Dependencies](https://forum.ansible.com/t/package-installation-without-dependencies/28505)

<div class="topic-metadata">

**Author:** [@andrew.tauferner](https://forum.ansible.com/u/andrew.tauferner)\
**Replies:** 3\
**Last updated:** [September 5, 2018, 6:45pm UTC](https://forum.ansible.com/t/package-installation-without-dependencies/28505 "2018-09-05T18:45:07Z")

</div>

I’m familiar with the zypper module and some other installers but none of them seem to give one complete control over package dependency requirements. The disable\_recommends argument is really just /usr/bin/zypper’s –no-…

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

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