# Archives

**URL:** https://forum.ansible.com/c/archives/31.md?page=174

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

**Page:** 175

---

## [Copy condition based on presence in playbook templates folder](https://forum.ansible.com/t/copy-condition-based-on-presence-in-playbook-templates-folder/33715)

<div class="topic-metadata">

**Author:** [@LUCA\_CARANGELO](https://forum.ansible.com/u/LUCA_CARANGELO)\
**Replies:** 3\
**Last updated:** [September 3, 2020, 6:19pm UTC](https://forum.ansible.com/t/copy-condition-based-on-presence-in-playbook-templates-folder/33715 "2020-09-03T18:19:21Z")

</div>

I need to copy a configuration file to hosts based on its custom presence in playbook templates folder. As example : CONSIDER TO APPLY TO AN INVENTORY My hostname is HOST001 {{ inventory\_hostname }} if in my playbook…

---

## [How should I properly configure inventories that query VMWare vSphere for node information?](https://forum.ansible.com/t/how-should-i-properly-configure-inventories-that-query-vmware-vsphere-for-node-information/25744)

<div class="topic-metadata">

**Author:** [@David\_Reagan](https://forum.ansible.com/u/David_Reagan)\
**Replies:** 3\
**Last updated:** [September 3, 2020, 3:12pm UTC](https://forum.ansible.com/t/how-should-i-properly-configure-inventories-that-query-vmware-vsphere-for-node-information/25744 "2020-09-03T15:12:25Z")

</div>

Also posted here: How should I properly configure inventories that query VMWare vSphere for node information? · Issue #386 · ansible/awx · GitHub SUMMARY What I want to do is create an inventory of all vm’s on my vSpher…

---

## [This topic needs a title](https://forum.ansible.com/t/this-topic-needs-a-title/33739)

<div class="topic-metadata">

**Author:** [@miqdad\_patwa](https://forum.ansible.com/u/miqdad_patwa)\
**Replies:** 0\
**Last updated:** [September 3, 2020, 12:25pm UTC](https://forum.ansible.com/t/this-topic-needs-a-title/33739 "2020-09-03T12:25:45Z")

</div>

Hello Experts, I normally use Jenkins for my jobs and now we switched to AWX. I am getting so many module errors and other errors. One of the module errors: NXOS is cisco module but it gives this error. All my job tem…

---

## [writing output to a csv file](https://forum.ansible.com/t/writing-output-to-a-csv-file/33737)

<div class="topic-metadata">

**Author:** [@SK11](https://forum.ansible.com/u/SK11)\
**Replies:** 0\
**Last updated:** [September 3, 2020, 11:06am UTC](https://forum.ansible.com/t/writing-output-to-a-csv-file/33737 "2020-09-03T11:06:56Z")

</div>

Ansible version - 2.9 Facing issue in writing output to a csv file, its not writing the output consistently into the file. Having an inventory file with three server IPs, playbook yml script will execute command to che…

---

## [net\_neighbors](https://forum.ansible.com/t/net-neighbors/33735)

<div class="topic-metadata">

**Author:** [@Jaime\_Jaca](https://forum.ansible.com/u/Jaime_Jaca)\
**Replies:** 2\
**Last updated:** [September 3, 2020, 10:25am UTC](https://forum.ansible.com/t/net-neighbors/33735 "2020-09-03T10:25:50Z")

</div>

I would like to filter the neighbors to only show switches and routers

---

## [Not running scheduler, another task holds lock](https://forum.ansible.com/t/not-running-scheduler-another-task-holds-lock/33734)

<div class="topic-metadata">

**Author:** [@driCs](https://forum.ansible.com/u/driCs)\
**Replies:** 0\
**Last updated:** [September 3, 2020, 6:51am UTC](https://forum.ansible.com/t/not-running-scheduler-another-task-holds-lock/33734 "2020-09-03T06:51:52Z")

</div>

Hello, I have installed AWX 14.1.0 successfully but when I run the default project , the job is in “pending” mode then “waiting” before running but I have to wait a lot of time (several minutes). Why ?? There are no sc…

---

## [AWX-Manage command execution using ansible playbook](https://forum.ansible.com/t/awx-manage-command-execution-using-ansible-playbook/33707)

<div class="topic-metadata">

**Author:** [@harsh\_chawda](https://forum.ansible.com/u/harsh_chawda)\
**Replies:** 2\
**Last updated:** [September 3, 2020, 5:31am UTC](https://forum.ansible.com/t/awx-manage-command-execution-using-ansible-playbook/33707 "2020-09-03T05:31:59Z")

</div>

Hello All, I am importing all the hosts inside my hosts file into AWX using awx-manage commands like docker exec -it awx\_task bash cd /var/lib/awx/projects/ansible awx-manage inventory\_import --source=./hosts…

---

## [Help with async tasks.](https://forum.ansible.com/t/help-with-async-tasks/33704)

<div class="topic-metadata">

**Author:** [@Guannan\_Sun](https://forum.ansible.com/u/Guannan_Sun)\
**Replies:** 6\
**Last updated:** [September 3, 2020, 1:31am UTC](https://forum.ansible.com/t/help-with-async-tasks/33704 "2020-09-03T01:31:39Z")

</div>

Dear Tech Team, I’m Guannan from China. I’m new to Ansible and looking for some technical help. Actually I’m looking for a method to execute one role in parallel with loops of different configuration files. For example…

---

## [Do you all have a a branching and release policy?](https://forum.ansible.com/t/do-you-all-have-a-a-branching-and-release-policy/33724)

<div class="topic-metadata">

**Author:** [@Bob\_Reselman](https://forum.ansible.com/u/Bob_Reselman)\
**Replies:** 1\
**Last updated:** [September 3, 2020, 12:32am UTC](https://forum.ansible.com/t/do-you-all-have-a-a-branching-and-release-policy/33724 "2020-09-03T00:32:01Z")

</div>

I am doing an article on branching and release policies for the most popular open-source projects. To say Ansible is not popular is an extreme understatement. Thus, I ask, do you have have a branching and release policy…

---

## [Ansible task not starting up custom node.js script with either shell or command module](https://forum.ansible.com/t/ansible-task-not-starting-up-custom-node-js-script-with-either-shell-or-command-module/33730)

<div class="topic-metadata">

**Author:** [@Jonin](https://forum.ansible.com/u/Jonin)\
**Replies:** 1\
**Last updated:** [September 2, 2020, 8:06pm UTC](https://forum.ansible.com/t/ansible-task-not-starting-up-custom-node-js-script-with-either-shell-or-command-module/33730 "2020-09-02T20:06:18Z")

</div>

Hi, Any ideas where I am going wrong here? I have a web server task which uses shell to start apache no problem: hosts: webservers remote\_user: root become\_user: test become: True tasks: name: Task18 - Start webs…

---

## [Error:a bug: 'utf8' codec can't decode byte 0xa0 in position 588](https://forum.ansible.com/t/error-a-bug-utf8-codec-cant-decode-byte-0xa0-in-position-588/33712)

<div class="topic-metadata">

**Author:** [@erdivay\_singhal](https://forum.ansible.com/u/erdivay_singhal)\
**Replies:** 5\
**Last updated:** [September 2, 2020, 6:19pm UTC](https://forum.ansible.com/t/error-a-bug-utf8-codec-cant-decode-byte-0xa0-in-position-588/33712 "2020-09-02T18:19:07Z")

</div>

Hi Team, Any idea for the below mentioned error Error:a bug: ‘utf8’ codec can’t decode byte 0xa0 in position 588

---

## [find\_output with filter](https://forum.ansible.com/t/find-output-with-filter/33723)

<div class="topic-metadata">

**Author:** [@Nagesh\_sheregar](https://forum.ansible.com/u/Nagesh_sheregar)\
**Replies:** 3\
**Last updated:** [September 2, 2020, 5:37pm UTC](https://forum.ansible.com/t/find-output-with-filter/33723 "2020-09-02T17:37:41Z")

</div>

Hi Team, i would like to see only GREEN/RED in out put, can you please let me know how i can filter it? Playbook: name: sddc health command: /opt/vmware/sddc-support/sos --health-check register: find\_output debug: …

---

## [Using the filter\_plugins in conditional when](https://forum.ansible.com/t/using-the-filter-plugins-in-conditional-when/33729)

<div class="topic-metadata">

**Author:** [@Rafael\_Tomelin](https://forum.ansible.com/u/Rafael_Tomelin)\
**Replies:** 1\
**Last updated:** [September 2, 2020, 5:27pm UTC](https://forum.ansible.com/t/using-the-filter-plugins-in-conditional-when/33729 "2020-09-02T17:27:14Z")

</div>

Hi dear, I created the filter\_plugin that check if running process and return true or false. This is an example: process\_name|get\_processes I want to create this task: - name: start service shell: /usr/local/bin/my\_…

---

## [Getting syntax error](https://forum.ansible.com/t/getting-syntax-error/33710)

<div class="topic-metadata">

**Author:** [@Ramu\_Mathi](https://forum.ansible.com/u/Ramu_Mathi)\
**Replies:** 5\
**Last updated:** [September 2, 2020, 5:18pm UTC](https://forum.ansible.com/t/getting-syntax-error/33710 "2020-09-02T17:18:04Z")

</div>

I am getting the following the error with my config ERROR! The field ‘hosts’ has an invalid value, which includes an undefined variable. The error was: list object has no element 0 The error appears to be in ‘/Users/ra…

---

## [Generate HTML Table from Ansible Inventory File](https://forum.ansible.com/t/generate-html-table-from-ansible-inventory-file/33697)

<div class="topic-metadata">

**Author:** [@Xinhuan\_Zheng](https://forum.ansible.com/u/Xinhuan_Zheng)\
**Replies:** 2\
**Last updated:** [September 2, 2020, 3:45pm UTC](https://forum.ansible.com/t/generate-html-table-from-ansible-inventory-file/33697 "2020-09-02T15:45:31Z")

</div>

Hello, I have an inventory file like below: \[group1\] server1.example.com server2.example.com \[group2\] server3.example.com server4.example.com \[group1:vars\] field1=a1 field2=a2 \[group2:vars\] field1=a3 field2=…

---

## [unzip to unarchive](https://forum.ansible.com/t/unzip-to-unarchive/33696)

<div class="topic-metadata">

**Author:** [@lpescatore](https://forum.ansible.com/u/lpescatore)\
**Replies:** 3\
**Last updated:** [September 2, 2020, 3:18pm UTC](https://forum.ansible.com/t/unzip-to-unarchive/33696 "2020-09-02T15:18:49Z")

</div>

Hi all, I want to change this to unarchive: name: unpack-protos-bin shell: unzip -o /root/.ansible-management/file.zip -d /usr/local bin/protoc args: executable: /bin/bash notify: unpack-proto-includes name…

---

## [AWX Web server Engine Details?](https://forum.ansible.com/t/awx-web-server-engine-details/33716)

<div class="topic-metadata">

**Author:** [@GAURAV\_Pande](https://forum.ansible.com/u/GAURAV_Pande)\
**Replies:** 8\
**Last updated:** [September 2, 2020, 3:02pm UTC](https://forum.ansible.com/t/awx-web-server-engine-details/33716 "2020-09-02T15:02:08Z")

</div>

Hi Team, Iam new to Ansible AWX and would like to know about what is the Web Server engine being used by AWX when we install it via docker compose ? Is it Nginx and if yes could you please provde some details how we che…

---

## [copy file to host not in inventory](https://forum.ansible.com/t/copy-file-to-host-not-in-inventory/33714)

<div class="topic-metadata">

**Author:** [@william.dossett](https://forum.ansible.com/u/william.dossett)\
**Replies:** 3\
**Last updated:** [September 2, 2020, 2:29pm UTC](https://forum.ansible.com/t/copy-file-to-host-not-in-inventory/33714 "2020-09-02T14:29:20Z")

</div>

Hi, sorry, I can’t quite get my head around the last bit of my playbook. I have a playbook that is doing ssh key rotations - it is pretty much all working other than once it has generated the keys and used authorized\_ke…

---

## [AWX UI/API slowness](https://forum.ansible.com/t/awx-ui-api-slowness/33728)

<div class="topic-metadata">

**Author:** [@John\_Mason](https://forum.ansible.com/u/John_Mason)\
**Replies:** 0\
**Last updated:** [September 2, 2020, 1:00pm UTC](https://forum.ansible.com/t/awx-ui-api-slowness/33728 "2020-09-02T13:00:14Z")

</div>

Hi all, we are running our production AWX 11.1.0 in a local Kubernetes cluster with two masters and ten worker nodes. This instance has its Postgres database in EC2. We also have a couple of single-server AWX docker-base…

---

## [Permission issue with become](https://forum.ansible.com/t/permission-issue-with-become/33722)

<div class="topic-metadata">

**Author:** [@Mahesh\_N](https://forum.ansible.com/u/Mahesh_N)\
**Replies:** 1\
**Last updated:** [September 2, 2020, 9:43am UTC](https://forum.ansible.com/t/permission-issue-with-become/33722 "2020-09-02T09:43:12Z")

</div>

Having the same issue here: Any help is appreciated. Using ansible --version ansible 2.5.2 config file = /etc/ansible/ansible.cfg python version = 2.6.6 site.yml name: Live patch hosts: all become: yes tasks: …

---

## [Ansible - install python3-apt package](https://forum.ansible.com/t/ansible-install-python3-apt-package/33719)

<div class="topic-metadata">

**Author:** [@SamB](https://forum.ansible.com/u/SamB)\
**Replies:** 2\
**Last updated:** [September 2, 2020, 3:45am UTC](https://forum.ansible.com/t/ansible-install-python3-apt-package/33719 "2020-09-02T03:45:32Z")

</div>

I am Using Ubuntu 18.04, Ansible 2.9, Python 3.6.9, have installed python3-apt On a basic ansible command ansible -b all -m apt -a “name=apache2 state=latest” Get Error: FAILED! =\> { “ansible\_facts”: { “discovered\_inte…

---

## [Is there any way to customize the Webhook Notifications template with the field - who runs the job](https://forum.ansible.com/t/is-there-any-way-to-customize-the-webhook-notifications-template-with-the-field-who-runs-the-job/33725)

<div class="topic-metadata">

**Author:** [@Sharp\_Zeng](https://forum.ansible.com/u/Sharp_Zeng)\
**Replies:** 0\
**Last updated:** [September 2, 2020, 12:45am UTC](https://forum.ansible.com/t/is-there-any-way-to-customize-the-webhook-notifications-template-with-the-field-who-runs-the-job/33725 "2020-09-02T00:45:03Z")

</div>

From https://docs.ansible.com/ansible-tower/latest/html/userguide/notifications.html#webhook, I cannot see any attribute which is relevant with the filed. Could you help advise how to send the webhook notification and i…

---

## ["Tuning the External Inventory Script"](https://forum.ansible.com/t/tuning-the-external-inventory-script/18995)

<div class="topic-metadata">

**Author:** [@Andy\_Baker](https://forum.ansible.com/u/Andy_Baker)\
**Replies:** 3\
**Last updated:** [September 1, 2020, 11:33pm UTC](https://forum.ansible.com/t/tuning-the-external-inventory-script/18995 "2020-09-01T23:33:51Z")

</div>

This passage: http://docs.ansible.com/ansible/developing\_inventory.html#tuning-the-external-inventory-script seems to say you have two options: Return a list of groups when called with --list and then return all the v…

---

## [Host is unreachable by SSH while running Ansible playbook](https://forum.ansible.com/t/host-is-unreachable-by-ssh-while-running-ansible-playbook/33720)

<div class="topic-metadata">

**Author:** [@Erick\_Sun](https://forum.ansible.com/u/Erick_Sun)\
**Replies:** 0\
**Last updated:** [September 1, 2020, 9:46pm UTC](https://forum.ansible.com/t/host-is-unreachable-by-ssh-while-running-ansible-playbook/33720 "2020-09-01T21:46:44Z")

</div>

Host is unreachable by SSH while running Ansible playbook. Ran Ansible playbook on 15 hosts, 13 were provisioned successfully, 1 was unreachable even though they were configured the same. Here is the actual error receive…

---

## [Multiple ansible-vault encrypted ssh private keys](https://forum.ansible.com/t/multiple-ansible-vault-encrypted-ssh-private-keys/33718)

<div class="topic-metadata">

**Author:** [@william.dossett](https://forum.ansible.com/u/william.dossett)\
**Replies:** 0\
**Last updated:** [September 1, 2020, 9:15pm UTC](https://forum.ansible.com/t/multiple-ansible-vault-encrypted-ssh-private-keys/33718 "2020-09-01T21:15:55Z")

</div>

Hi, I’ve been wrangling around this all afternoon. First of all, is it ok to have two ansible-vault encrypted files (containing ssh private keys) with the same password and use them in one playbook? I ask because when…

---

## [pass module args as extra variable](https://forum.ansible.com/t/pass-module-args-as-extra-variable/33717)

<div class="topic-metadata">

**Author:** [@Nic\_H](https://forum.ansible.com/u/Nic_H)\
**Replies:** 0\
**Last updated:** [September 1, 2020, 7:15pm UTC](https://forum.ansible.com/t/pass-module-args-as-extra-variable/33717 "2020-09-01T19:15:54Z")

</div>

Hi, in order to debug a playbook , I need to pass some value to a module\_arg at run time . I thought using extra-variables but it doesn’t work, args still show ‘null’ The module is elasticache and I need to try a run …

---

## [ERROR! A worker was found in a dead state](https://forum.ansible.com/t/error-a-worker-was-found-in-a-dead-state/33706)

<div class="topic-metadata">

**Author:** [@Guy\_Matz1](https://forum.ansible.com/u/Guy_Matz1)\
**Replies:** 2\
**Last updated:** [September 1, 2020, 4:53pm UTC](https://forum.ansible.com/t/error-a-worker-was-found-in-a-dead-state/33706 "2020-09-01T16:53:07Z")

</div>

Hi! I have a task which ends simply with: \< TASK \[pomerium : Put config file in place\] \>

---

## [AWX unable to find directories and using Copy module](https://forum.ansible.com/t/awx-unable-to-find-directories-and-using-copy-module/33711)

<div class="topic-metadata">

**Author:** [@miqdad\_patwa](https://forum.ansible.com/u/miqdad_patwa)\
**Replies:** 1\
**Last updated:** [September 1, 2020, 3:25pm UTC](https://forum.ansible.com/t/awx-unable-to-find-directories-and-using-copy-module/33711 "2020-09-01T15:25:37Z")

</div>

Hello, I created a job template in AWX and i used this playbook in Jenkins and normal CLI on Putty. But when i run this job on AWX it is unable to find the directory inside the playbook which actually exist on server w…

---

## [New ansible-base release candidate: 2.10.1rc2](https://forum.ansible.com/t/new-ansible-base-release-candidate-2-10-1rc2/33709)

<div class="topic-metadata">

**Author:** [@relrod](https://forum.ansible.com/u/relrod)\
**Replies:** 1\
**Last updated:** [September 1, 2020, 3:18pm UTC](https://forum.ansible.com/t/new-ansible-base-release-candidate-2-10-1rc2/33709 "2020-09-01T15:18:49Z")

</div>

Hi all- we're happy to announce that the general release of Ansible 2.10.1rc2 is now available! This is a release candidate of the next version of the ansible-base 2.10 series, which will be 2.10.1. Note that 2.10.1 i…

---

## [Ping Role for clients to ping all IP from HOST\_VAR files?](https://forum.ansible.com/t/ping-role-for-clients-to-ping-all-ip-from-host-var-files/33677)

<div class="topic-metadata">

**Author:** [@Fatos\_Dervisi](https://forum.ansible.com/u/Fatos_Dervisi)\
**Replies:** 1\
**Last updated:** [September 1, 2020, 2:27pm UTC](https://forum.ansible.com/t/ping-role-for-clients-to-ping-all-ip-from-host-var-files/33677 "2020-09-01T14:27:26Z")

</div>

Dear Community, I want to write a simple Ping Role, which takes IP Addresses from all YAML files in HOST\_VARS and connected to Linux devices and ping all the collected IP Example: HOST\_VARS: -server1.yml (contains an…

[Previous page](https://forum.ansible.com/c/archives/31.md?page=173)

[Next page](https://forum.ansible.com/c/archives/31.md?page=175)
