# Ansible Project

**URL:** https://forum.ansible.com/c/archives/ansible-project/30.md?page=235

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

**Page:** 236

---

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

---

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

---

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

---

## [Error installing AWX](https://forum.ansible.com/t/error-installing-awx/28507)

<div class="topic-metadata">

**Author:** [@arnab\_sen](https://forum.ansible.com/u/arnab_sen)\
**Replies:** 1\
**Last updated:** [September 5, 2018, 6:17pm UTC](https://forum.ansible.com/t/error-installing-awx/28507 "2018-09-05T18:17:36Z")

</div>

I am getting below error while installing AWX: TASK \[local\_docker : Activate postgres container\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [how to use import roles in playbook](https://forum.ansible.com/t/how-to-use-import-roles-in-playbook/28498)

<div class="topic-metadata">

**Author:** [@tim\_huang](https://forum.ansible.com/u/tim_huang)\
**Replies:** 1\
**Last updated:** [September 5, 2018, 4:28pm UTC](https://forum.ansible.com/t/how-to-use-import-roles-in-playbook/28498 "2018-09-05T16:28:44Z")

</div>

Hi, I’m working on the ansible to automate some tasks for the Cisco network switches, and I have created roles for ciscoios. I’m trying to use import roles in my playbook to run “check\_ip\_address” task rather than just…

---

## [Automating Oracle installation using Ansible](https://forum.ansible.com/t/automating-oracle-installation-using-ansible/28503)

<div class="topic-metadata">

**Author:** [@Sandeep\_Kandhway](https://forum.ansible.com/u/Sandeep_Kandhway)\
**Replies:** 1\
**Last updated:** [September 5, 2018, 3:34pm UTC](https://forum.ansible.com/t/automating-oracle-installation-using-ansible/28503 "2018-09-05T15:34:22Z")

</div>

Hi Team, I’m planning to automate oracle 12cR1 installation through Ansible so that from one central host we can clone the complete oracle installation to multiple hosts(physical host). Can you please provide some guid…

---

## [VmWare define multiple values in variable](https://forum.ansible.com/t/vmware-define-multiple-values-in-variable/28504)

<div class="topic-metadata">

**Author:** [@Branko\_Durkic](https://forum.ansible.com/u/Branko_Durkic)\
**Replies:** 0\
**Last updated:** [September 5, 2018, 1:04pm UTC](https://forum.ansible.com/t/vmware-define-multiple-values-in-variable/28504 "2018-09-05T13:04:58Z")

</div>

Hello there, I’m wondering is it possible to define multiple values in a variable? Example of variable main.tf \` cluster: Cluster\_01 Cluster\_02 \` Example of role main.yml \`

---

## [Roles are ran multiple times if both referenced as dependency and from playbook (issue 22169) - still buggy](https://forum.ansible.com/t/roles-are-ran-multiple-times-if-both-referenced-as-dependency-and-from-playbook-issue-22169-still-buggy/28502)

<div class="topic-metadata">

**Author:** [@Kay\_Masslow](https://forum.ansible.com/u/Kay_Masslow)\
**Replies:** 0\
**Last updated:** [September 5, 2018, 9:45am UTC](https://forum.ansible.com/t/roles-are-ran-multiple-times-if-both-referenced-as-dependency-and-from-playbook-issue-22169-still-buggy/28502 "2018-09-05T09:45:42Z")

</div>

Hello, Ansible issue 22169 - Roles are ran multiple times if both referenced as dependency and from playbook is claimed to be fixed but the bug is still present in Ansible 2.6.3. I posted a “working” example " but canno…

---

## [install modules with setup.py](https://forum.ansible.com/t/install-modules-with-setup-py/28501)

<div class="topic-metadata">

**Author:** [@profhase85](https://forum.ansible.com/u/profhase85)\
**Replies:** 0\
**Last updated:** [September 5, 2018, 9:38am UTC](https://forum.ansible.com/t/install-modules-with-setup-py/28501 "2018-09-05T09:38:24Z")

</div>

Hi all, is anyone know of a way how to install modules (singleFile) in a python standard manner? I have written (and tested) a module. I would like to have a setup.py in the Way that ansible running in the same Inter…

---

## [\[ansible tower\]how to pass EXTRA VARIABLES into the powershell script](https://forum.ansible.com/t/ansible-tower-how-to-pass-extra-variables-into-the-powershell-script/28500)

<div class="topic-metadata">

**Author:** [@LB1](https://forum.ansible.com/u/LB1)\
**Replies:** 0\
**Last updated:** [September 5, 2018, 4:00am UTC](https://forum.ansible.com/t/ansible-tower-how-to-pass-extra-variables-into-the-powershell-script/28500 "2018-09-05T04:00:58Z")

</div>

when i launch template with EXTRA VARIABLES tag: ‘201809051153’, the powershell ps1 cannot invoke the tag. In following environment, by cat 111.txt, it is not display ‘201809051153’, but ‘{ tag }’. platform: ansible to…

---

## [Ansible hangs on Windows cleanmgr.exe](https://forum.ansible.com/t/ansible-hangs-on-windows-cleanmgr-exe/28395)

<div class="topic-metadata">

**Author:** [@SurferL](https://forum.ansible.com/u/SurferL)\
**Replies:** 3\
**Last updated:** [September 4, 2018, 8:37pm UTC](https://forum.ansible.com/t/ansible-hangs-on-windows-cleanmgr-exe/28395 "2018-09-04T20:37:23Z")

</div>

Using Ansible 2.6.2, I’ve set cleanmgr.exe /sagerun:3 to everything possible manually on the Windows 10 machine. In my playbook I have the following task: name: windows | disk cleanup win\_shell: “cmd.exe /c cleanmgr.…

---

## [mysql\_db does not "see" MySQL-python module](https://forum.ansible.com/t/mysql-db-does-not-see-mysql-python-module/28497)

<div class="topic-metadata">

**Author:** [@Barry\_Kaplan](https://forum.ansible.com/u/Barry_Kaplan)\
**Replies:** 0\
**Last updated:** [September 4, 2018, 8:00pm UTC](https://forum.ansible.com/t/mysql-db-does-not-see-mysql-python-module/28497 "2018-09-04T20:00:25Z")

</div>

I have \` tasks: name: Install the Python MySQLB module pip: name=mysql-python name: Create grafana database tags: \[mysql\] mysql\_db: state: present name: “{{ vault\_grafana\_db\_name }}” login\_host: “{{ data\_rd…

---

## [Ansible Galaxy -\> william-yeh.oracle-java not found](https://forum.ansible.com/t/ansible-galaxy-william-yeh-oracle-java-not-found/28496)

<div class="topic-metadata">

**Author:** [@Dan\_Alvizu](https://forum.ansible.com/u/Dan_Alvizu)\
**Replies:** 0\
**Last updated:** [September 4, 2018, 6:50pm UTC](https://forum.ansible.com/t/ansible-galaxy-william-yeh-oracle-java-not-found/28496 "2018-09-04T18:50:14Z")

</div>

Hi, I am using ansible-galaxy and a requirements.yml file. I have CI set up to do linting. My CI build today - it last successfully ran 6 days ago. I think the group name of my dependencies changed, but now I can’t get …

---

## [Ansible output from csv file to html table](https://forum.ansible.com/t/ansible-output-from-csv-file-to-html-table/28425)

<div class="topic-metadata">

**Author:** [@Saravanan](https://forum.ansible.com/u/Saravanan)\
**Replies:** 3\
**Last updated:** [September 4, 2018, 4:41pm UTC](https://forum.ansible.com/t/ansible-output-from-csv-file-to-html-table/28425 "2018-09-04T16:41:48Z")

</div>

All, Ansible output of a playbook is csv file format. This needs to be converted to html table and send as mail body output within Ansible playbook. Can someone share the task detail to convert csv file to html table.

---

## [Changing an extra-vars variable to something else if it gets passed as a blank](https://forum.ansible.com/t/changing-an-extra-vars-variable-to-something-else-if-it-gets-passed-as-a-blank/28482)

<div class="topic-metadata">

**Author:** [@JS11](https://forum.ansible.com/u/JS11)\
**Replies:** 2\
**Last updated:** [September 4, 2018, 2:05pm UTC](https://forum.ansible.com/t/changing-an-extra-vars-variable-to-something-else-if-it-gets-passed-as-a-blank/28482 "2018-09-04T14:05:19Z")

</div>

I would like to change the variable format, if it gets passed as a blank. When running the playbook: \` ansible-playbook -vvv -i host deploy.yml --extra-vars “dal\_version=” \` Which has a task (where I want to change …

---

## [Ansible Pull Configuration to get the status of each node](https://forum.ansible.com/t/ansible-pull-configuration-to-get-the-status-of-each-node/28478)

<div class="topic-metadata">

**Author:** [@SUMIT\_SAHAY](https://forum.ansible.com/u/SUMIT_SAHAY)\
**Replies:** 3\
**Last updated:** [September 4, 2018, 1:06pm UTC](https://forum.ansible.com/t/ansible-pull-configuration-to-get-the-status-of-each-node/28478 "2018-09-04T13:06:56Z")

</div>

Hello Everyone, I want to know is there any configuration available in ansible so that we can track the status of playbook for each node while using ansible-pull. I want to run ansible-pull for 100 of nodes, and if ans…

---

## [Need help with win\_package \[msi file with TRANSFORMS\]](https://forum.ansible.com/t/need-help-with-win-package-msi-file-with-transforms/28288)

<div class="topic-metadata">

**Author:** [@Julien](https://forum.ansible.com/u/Julien)\
**Replies:** 4\
**Last updated:** [September 4, 2018, 8:52am UTC](https://forum.ansible.com/t/need-help-with-win-package-msi-file-with-transforms/28288 "2018-09-04T08:52:38Z")

</div>

Hello, I have some trouble with win\_package module, i’m trying to install a msi package with a deployment file, so i’ve wrote this task: - name: win\_package: path: C:\\tmp\\The msi package.msi arguments: - /passive -…

---

## [ecs\_taskdefinition networking between to containers](https://forum.ansible.com/t/ecs-taskdefinition-networking-between-to-containers/28280)

<div class="topic-metadata">

**Author:** [@ofir](https://forum.ansible.com/u/ofir)\
**Replies:** 1\
**Last updated:** [September 3, 2018, 9:03am UTC](https://forum.ansible.com/t/ecs-taskdefinition-networking-between-to-containers/28280 "2018-09-03T09:03:16Z")

</div>

Hi, is there planning to add to ecs\_taskdefinition module NETWORK SETTINGS like in aws console?i am missing to main options in there, link and hostname

[Previous page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=234)

[Next page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=236)
