# Latest

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

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

**Page:** 350

---

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

---

## [Can AWX be installed in Distributed Setup ?](https://forum.ansible.com/t/can-awx-be-installed-in-distributed-setup/33713)

<div class="topic-metadata">

**Author:** [@GAURAV\_Pande](https://forum.ansible.com/u/GAURAV_Pande)\
**Replies:** 0\
**Last updated:** [September 1, 2020, 2:16pm UTC](https://forum.ansible.com/t/can-awx-be-installed-in-distributed-setup/33713 "2020-09-01T14:16:56Z")

</div>

Hi All, Iam new to Using AWX , and would like to know if AWX can be installed in distributed setup or not ? By Distributed Setup i Mean :- Web Server /Front end server Database Server Network Device Server If yes kin…

---

## [New Ansible releases 2.8.15 and 2.9.13](https://forum.ansible.com/t/new-ansible-releases-2-8-15-and-2-9-13/33708)

<div class="topic-metadata">

**Author:** [@relrod](https://forum.ansible.com/u/relrod)\
**Replies:** 0\
**Last updated:** [September 1, 2020, 8:00am UTC](https://forum.ansible.com/t/new-ansible-releases-2-8-15-and-2-9-13/33708 "2020-09-01T08:00:48Z")

</div>

Hi all- we're happy to announce that the general release of Ansible 2.8.15 and 2.9.13 are now available! How do you get it?

---

## [How to install Ansible on a windows 2012 R server](https://forum.ansible.com/t/how-to-install-ansible-on-a-windows-2012-r-server/33660)

<div class="topic-metadata">

**Author:** [@surabhy\_vaishakh](https://forum.ansible.com/u/surabhy_vaishakh)\
**Replies:** 5\
**Last updated:** [August 31, 2020, 8:50pm UTC](https://forum.ansible.com/t/how-to-install-ansible-on-a-windows-2012-r-server/33660 "2020-08-31T20:50:59Z")

</div>

Hello Team, Can any one help me to get steps to install ansible on a windows 2012 R server. Thanks, Surabhy

---

## [Postgres initialization failing with latest AWX installation](https://forum.ansible.com/t/postgres-initialization-failing-with-latest-awx-installation/33705)

<div class="topic-metadata">

**Author:** [@Sudheer\_Jejammagari](https://forum.ansible.com/u/Sudheer_Jejammagari)\
**Replies:** 0\
**Last updated:** [August 31, 2020, 5:19pm UTC](https://forum.ansible.com/t/postgres-initialization-failing-with-latest-awx-installation/33705 "2020-08-31T17:19:29Z")

</div>

Hello, I’m trying to deploy AWX on Docker in my Mac. AWX Versions: 14.1.0, 14.0.0, 13.0.0, 12.0.0. Postgres version: 10 Postgres container logs PostgreSQL Database directory appears to contain a database; Skipping in…

---

## [awx cli](https://forum.ansible.com/t/awx-cli/33692)

<div class="topic-metadata">

**Author:** [@wmedley](https://forum.ansible.com/u/wmedley)\
**Replies:** 1\
**Last updated:** [August 31, 2020, 1:09pm UTC](https://forum.ansible.com/t/awx-cli/33692 "2020-08-31T13:09:16Z")

</div>

So has anyone had any success in exporting their config with awx cli? I have tried and tried, but keep getting a connection refused message There was a network error of some kind trying to reach https://us1rhdevawx01.am…

---

## [Updating host extra-variables automatically in inventory](https://forum.ansible.com/t/updating-host-extra-variables-automatically-in-inventory/33614)

<div class="topic-metadata">

**Author:** [@harsh\_chawda](https://forum.ansible.com/u/harsh_chawda)\
**Replies:** 1\
**Last updated:** [August 31, 2020, 7:28am UTC](https://forum.ansible.com/t/updating-host-extra-variables-automatically-in-inventory/33614 "2020-08-31T07:28:26Z")

</div>

Hello All, I am connecting servers with local account ie username and password which is changing every 1 day . So, the issue is everyday i have to change it manually and there are 50 servers . So it is taking unnecessa…

---

## [Help with Windows Clients](https://forum.ansible.com/t/help-with-windows-clients/33702)

<div class="topic-metadata">

**Author:** [@Suhas\_H](https://forum.ansible.com/u/Suhas_H)\
**Replies:** 1\
**Last updated:** [August 31, 2020, 2:36am UTC](https://forum.ansible.com/t/help-with-windows-clients/33702 "2020-08-31T02:36:50Z")

</div>

Dear friends/ Tech Team, I am Suhas from Bangalore. I am looking for some technical help from the group. I am new into Ansible. I am having 12 + years of total experience in Windows. I am getting some errors while set…

---

## [Failed to deploy a script using EXPECT module](https://forum.ansible.com/t/failed-to-deploy-a-script-using-expect-module/33703)

<div class="topic-metadata">

**Author:** [@pavan\_kumar](https://forum.ansible.com/u/pavan_kumar)\
**Replies:** 0\
**Last updated:** [August 30, 2020, 11:55pm UTC](https://forum.ansible.com/t/failed-to-deploy-a-script-using-expect-module/33703 "2020-08-30T23:55:57Z")

</div>

I am using ansible playbook to deploy a model in one of my remote server, I need to pass the responses like version number while running the script so I am using expect module. NOTE: This deploy script can only be execu…

---

## [json parsing help](https://forum.ansible.com/t/json-parsing-help/33698)

<div class="topic-metadata">

**Author:** [@Kevin\_Hoyt](https://forum.ansible.com/u/Kevin_Hoyt)\
**Replies:** 8\
**Last updated:** [August 30, 2020, 7:21pm UTC](https://forum.ansible.com/t/json-parsing-help/33698 "2020-08-30T19:21:55Z")

</div>

Hi everyone, I’m just learning ansible and having some trouble parsing out some json data. I’m hoping someone can help me. What I’m looking for is the Name field at hc\_pim\_info.dpListProcessesReply.dpServiceList.dpServic…

---

## [Can I know if someone use network\_cli as connection type for fortigate firewall automation.](https://forum.ansible.com/t/can-i-know-if-someone-use-network-cli-as-connection-type-for-fortigate-firewall-automation/32708)

<div class="topic-metadata">

**Author:** [@Venu\_Devannagari](https://forum.ansible.com/u/Venu_Devannagari)\
**Replies:** 1\
**Last updated:** [August 30, 2020, 6:36pm UTC](https://forum.ansible.com/t/can-i-know-if-someone-use-network-cli-as-connection-type-for-fortigate-firewall-automation/32708 "2020-08-30T18:36:43Z")

</div>

Hi, Actually I am trying to do use cli\_command module to fortigate firewall but ansible says ansible\_network\_os type is not supported.I need some help to know is there any possibility to do fortigate through cli command…

---

## [turn off windows firewall with ansible](https://forum.ansible.com/t/turn-off-windows-firewall-with-ansible/33622)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 2\
**Last updated:** [August 30, 2020, 10:33am UTC](https://forum.ansible.com/t/turn-off-windows-firewall-with-ansible/33622 "2020-08-30T10:33:21Z")

</div>

I got winrm over https configured via powershell on some remote hosts but looks like windows firewall is on and blocking port 5986. how do i turn off the firewall remotely?

---

## [SSL Configuration K8S](https://forum.ansible.com/t/ssl-configuration-k8s/33701)

<div class="topic-metadata">

**Author:** [@Vibin](https://forum.ansible.com/u/Vibin)\
**Replies:** 3\
**Last updated:** [August 30, 2020, 5:21am UTC](https://forum.ansible.com/t/ssl-configuration-k8s/33701 "2020-08-30T05:21:12Z")

</div>

Hi, Was wondering how to setup SSL Configuration in AWX hosted in a K8S environment. At the moment, am using apache reverse proxy but the problem is job status page is not refreshing automatically nd I need to manually…

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

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