# Latest

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

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

**Page:** 389

---

## [Ansible async module issue](https://forum.ansible.com/t/ansible-async-module-issue/32537)

<div class="topic-metadata">

**Author:** [@Aditya1](https://forum.ansible.com/u/Aditya1)\
**Replies:** 1\
**Last updated:** [April 2, 2020, 4:25pm UTC](https://forum.ansible.com/t/ansible-async-module-issue/32537 "2020-04-02T16:25:05Z")

</div>

I am working on an ansible playbook, which runs a shell script in async ( poll = 0 ) mode. This shell script, which runs on remote host #1, calls a python program on remote host #2, which runs for a long duration. So t…

---

## [How to use Credentials in AWX playbook](https://forum.ansible.com/t/how-to-use-credentials-in-awx-playbook/27878)

<div class="topic-metadata">

**Author:** [@dovesma](https://forum.ansible.com/u/dovesma)\
**Replies:** 21\
**Last updated:** [April 2, 2020, 3:44pm UTC](https://forum.ansible.com/t/how-to-use-credentials-in-awx-playbook/27878 "2020-04-02T15:44:01Z")

</div>

Hi All, I am just new on the AWX and ansible. How do i tell the playbook to use the credentials on a playbook that is going to be run via AWX?. I create the credentials via AWX GUI for Network in my case. What variable …

---

## [Problem with Redis Service Restarting in docker](https://forum.ansible.com/t/problem-with-redis-service-restarting-in-docker/32587)

<div class="topic-metadata">

**Author:** [@Guillermo\_Stuyck](https://forum.ansible.com/u/Guillermo_Stuyck)\
**Replies:** 1\
**Last updated:** [April 2, 2020, 3:36pm UTC](https://forum.ansible.com/t/problem-with-redis-service-restarting-in-docker/32587 "2020-04-02T15:36:06Z")

</div>

Recently I’ve tried to install awx, but I have a problem to with awx\_redis: CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 1c6fdbd3e3b2 ansible/awx\_task:10.0.0 “/tini – /bin/sh …” 23 hours ago Up 22 hours 8052/t…

---

## [Optimize Powershell in playbook](https://forum.ansible.com/t/optimize-powershell-in-playbook/32584)

<div class="topic-metadata">

**Author:** [@Barry\_Obie](https://forum.ansible.com/u/Barry_Obie)\
**Replies:** 2\
**Last updated:** [April 2, 2020, 3:35pm UTC](https://forum.ansible.com/t/optimize-powershell-in-playbook/32584 "2020-04-02T15:35:47Z")

</div>

Hello, I’m trying to get a playbook working that will run the Optimize Powershell script that is here: https://docs.ansible.com/ansible/latest/user\_guide/windows\_performance.html The playbook succeeds, but when I check…

---

## [problem with shell module and actual command passed](https://forum.ansible.com/t/problem-with-shell-module-and-actual-command-passed/32585)

<div class="topic-metadata">

**Author:** [@lolO\_lolO](https://forum.ansible.com/u/lolO_lolO)\
**Replies:** 4\
**Last updated:** [April 2, 2020, 12:05pm UTC](https://forum.ansible.com/t/problem-with-shell-module-and-actual-command-passed/32585 "2020-04-02T12:05:26Z")

</div>

Hello all ! it’s been a while i have troubles with the shell module: as a command is correctly executed in console (even launched as the user awx) git push git@savetogit.skylab.local:savetogit/devbackupdesconfigs.git …

---

## [Location of aws\_ssm module](https://forum.ansible.com/t/location-of-aws-ssm-module/32582)

<div class="topic-metadata">

**Author:** [@Gurtaj\_Atwell](https://forum.ansible.com/u/Gurtaj_Atwell)\
**Replies:** 3\
**Last updated:** [April 1, 2020, 10:56pm UTC](https://forum.ansible.com/t/location-of-aws-ssm-module/32582 "2020-04-01T22:56:26Z")

</div>

Hi, Where is the location of the aws\_ssm module? It used to be lib/ansible/plugins/lookup/aws\_ssm.py on the ansible repo: https://github.com/ansible/ansible I can see with a git log that is was migrated to ansible.ama…

---

## [ansible cmdb? Whats the recommended way to store facts for later retrieval?](https://forum.ansible.com/t/ansible-cmdb-whats-the-recommended-way-to-store-facts-for-later-retrieval/32580)

<div class="topic-metadata">

**Author:** [@Dennis\_McCarthy1](https://forum.ansible.com/u/Dennis_McCarthy1)\
**Replies:** 2\
**Last updated:** [April 1, 2020, 8:12pm UTC](https://forum.ansible.com/t/ansible-cmdb-whats-the-recommended-way-to-store-facts-for-later-retrieval/32580 "2020-04-01T20:12:39Z")

</div>

Hi, I’m trying to set up a MySQL DB to hold all the ansible facts I produce from “ansible -m setup” (on lots of remote hosts), Store each .json file of each server in a directory but I’m having trouble finding a place t…

---

## [Any support for Windows EFS or Bitlocker?](https://forum.ansible.com/t/any-support-for-windows-efs-or-bitlocker/32569)

<div class="topic-metadata">

**Author:** [@Michael\_Moody](https://forum.ansible.com/u/Michael_Moody)\
**Replies:** 1\
**Last updated:** [April 1, 2020, 5:34pm UTC](https://forum.ansible.com/t/any-support-for-windows-efs-or-bitlocker/32569 "2020-04-01T17:34:23Z")

</div>

Good morning, As a long time Ansible user (I believe I started using it in 2014 or so), I tend to solve most automation and administrative challenges with it where appropriate, so allow me to say that you for such an ex…

---

## [.format() in Jinja2 filter](https://forum.ansible.com/t/format-in-jinja2-filter/32579)

<div class="topic-metadata">

**Author:** [@Michael\_Stroder](https://forum.ansible.com/u/Michael_Stroder)\
**Replies:** 2\
**Last updated:** [April 1, 2020, 10:30am UTC](https://forum.ansible.com/t/format-in-jinja2-filter/32579 "2020-04-01T10:30:05Z")

</div>

HI! I'd like to reformat a list of IPv4 addresses with a Python formatting string. '12.34.56.78' should be transformed into 'peername.ip=12.34.56.78%255.255.255.255'. In Python I'd just use 'peername.ip={0}%255.255…

---

## [aws efs mount connection time out](https://forum.ansible.com/t/aws-efs-mount-connection-time-out/32578)

<div class="topic-metadata">

**Author:** [@sandy.hung](https://forum.ansible.com/u/sandy.hung)\
**Replies:** 1\
**Last updated:** [April 1, 2020, 7:13am UTC](https://forum.ansible.com/t/aws-efs-mount-connection-time-out/32578 "2020-04-01T07:13:19Z")

</div>

Hi i try inbound rule add nfs port 2049 to scertiy group id but still show error connection time out no idea how to solved name: mount efs volume mount: path: “/home/ec2-user/{{ efs\_vol\_name }}” src: “{{ efs\_fac…

---

## [Ignore imported playbooks completely when defined](https://forum.ansible.com/t/ignore-imported-playbooks-completely-when-defined/32574)

<div class="topic-metadata">

**Author:** [@Ronen\_Levinson](https://forum.ansible.com/u/Ronen_Levinson)\
**Replies:** 2\
**Last updated:** [April 1, 2020, 6:35am UTC](https://forum.ansible.com/t/ignore-imported-playbooks-completely-when-defined/32574 "2020-04-01T06:35:48Z")

</div>

Hi, I’m using ansible version 2.7.17 and combining multiple playbooks in one file. One of my playbooks I’m running conditionally with when and a condition. My problem is when my condition is false, I want ansible to c…

---

## [win\_xml module 'cannot call a method on a null-valued expression'](https://forum.ansible.com/t/win-xml-module-cannot-call-a-method-on-a-null-valued-expression/32576)

<div class="topic-metadata">

**Author:** [@Dave\_York](https://forum.ansible.com/u/Dave_York)\
**Replies:** 4\
**Last updated:** [April 1, 2020, 6:13am UTC](https://forum.ansible.com/t/win-xml-module-cannot-call-a-method-on-a-null-valued-expression/32576 "2020-04-01T06:13:33Z")

</div>

I have an JBoss domain.xml file im trying to manipulate with win\_xml: \` … \` When I try to modify the heap size attribute above using win\_xml with this play: name: Test modifying XML win\_x…

---

## [AWX statefulset concept](https://forum.ansible.com/t/awx-statefulset-concept/32570)

<div class="topic-metadata">

**Author:** [@Seong\_HO\_Park](https://forum.ansible.com/u/Seong_HO_Park)\
**Replies:** 4\
**Last updated:** [April 1, 2020, 1:36am UTC](https://forum.ansible.com/t/awx-statefulset-concept/32570 "2020-04-01T01:36:28Z")

</div>

Hi, i hava a question about AWX project. I installed AWX on kubernets by github install guide and i am wondering why awx-postgresql shoud be statefulset. Because, if i use a statefulset, awx-postgresql pods composed of…

---

## [Installed AWX but unable to login using default admin and password](https://forum.ansible.com/t/installed-awx-but-unable-to-login-using-default-admin-and-password/32525)

<div class="topic-metadata">

**Author:** [@Gunareble\_S](https://forum.ansible.com/u/Gunareble_S)\
**Replies:** 5\
**Last updated:** [April 1, 2020, 1:20am UTC](https://forum.ansible.com/t/installed-awx-but-unable-to-login-using-default-admin-and-password/32525 "2020-04-01T01:20:07Z")

</div>

So I’m really new to this and I’ve spent soo much time trying to install AWX. I follow the AWX install guide on Github to the best of my ability but for some reason the default admin and password (in the inventory file) …

---

## [Ansible Reboot Error...](https://forum.ansible.com/t/ansible-reboot-error/32575)

<div class="topic-metadata">

**Author:** [@kmarty009](https://forum.ansible.com/u/kmarty009)\
**Replies:** 4\
**Last updated:** [April 1, 2020, 12:23am UTC](https://forum.ansible.com/t/ansible-reboot-error/32575 "2020-04-01T00:23:16Z")

</div>

I get this error when executing my playbook. I need to reboot the machine but cannot get around this insane error that is preventing me from doing so.. the plybook works until I add the last line for reboot. Can anyone t…

---

## [ansible windows inventory get hostname/user/password ad-hoc from external script](https://forum.ansible.com/t/ansible-windows-inventory-get-hostname-user-password-ad-hoc-from-external-script/32489)

<div class="topic-metadata">

**Author:** [@Gregory\_Storme](https://forum.ansible.com/u/Gregory_Storme)\
**Replies:** 2\
**Last updated:** [March 31, 2020, 1:53pm UTC](https://forum.ansible.com/t/ansible-windows-inventory-get-hostname-user-password-ad-hoc-from-external-script/32489 "2020-03-31T13:53:13Z")

</div>

Hi, We have a couple of hundred Windows hosts, with each host having different credentials (both login and password), which are stored in an on-premise, in-house developed “vault” system. A dream scenario would be to i…

---

## [AWX HA on Kubernetes](https://forum.ansible.com/t/awx-ha-on-kubernetes/32487)

<div class="topic-metadata">

**Author:** [@Ajitkumar\_Tanwade](https://forum.ansible.com/u/Ajitkumar_Tanwade)\
**Replies:** 5\
**Last updated:** [March 31, 2020, 12:46pm UTC](https://forum.ansible.com/t/awx-ha-on-kubernetes/32487 "2020-03-31T12:46:03Z")

</div>

Hi All, Hope you are doing well. We are trying to setup AWX on Kubernetes. There are three options to do that Use AWX https://github.com/ansible/awx Adwex Heml Chart https://hub.helm.sh/charts/adwerx/awx Lifen…

---

## [AWX cluster installation](https://forum.ansible.com/t/awx-cluster-installation/28451)

<div class="topic-metadata">

**Author:** [@Larry\_Bakun](https://forum.ansible.com/u/Larry_Bakun)\
**Replies:** 13\
**Last updated:** [March 31, 2020, 12:40pm UTC](https://forum.ansible.com/t/awx-cluster-installation/28451 "2020-03-31T12:40:14Z")

</div>

Hi! I don’t know anything about Openshift or Kubernetes, yeah that’s the problem… Does anybody have/know a tutorial of AWX cluster installation? I need to deploy 3 app servers with an external database server.

---

## [Ansible with Windows Shared Folder](https://forum.ansible.com/t/ansible-with-windows-shared-folder/32572)

<div class="topic-metadata">

**Author:** [@David\_Foley](https://forum.ansible.com/u/David_Foley)\
**Replies:** 1\
**Last updated:** [March 31, 2020, 10:44am UTC](https://forum.ansible.com/t/ansible-with-windows-shared-folder/32572 "2020-03-31T10:44:30Z")

</div>

Hi, I’m trying to roll out Microsoft DSC Using the following Playbook to install the application \`

---

## [AnsibleUndefinedVariable: 'ansible.vars.hostvars.HostVarsVars object' has no attribute 'ansible\_fqdn'](https://forum.ansible.com/t/ansibleundefinedvariable-ansible-vars-hostvars-hostvarsvars-object-has-no-attribute-ansible-fqdn/32567)

<div class="topic-metadata">

**Author:** [@Rajesh](https://forum.ansible.com/u/Rajesh)\
**Replies:** 2\
**Last updated:** [March 31, 2020, 9:15am UTC](https://forum.ansible.com/t/ansibleundefinedvariable-ansible-vars-hostvars-hostvarsvars-object-has-no-attribute-ansible-fqdn/32567 "2020-03-31T09:15:56Z")

</div>

Hi all, Below is my playbook. name: Create server list hosts: all become: true become\_user: root gather\_facts: yes tasks: name: Copy the template template: src: templates/server\_list.j2 dest: /etc/server\_list.…

---

## [set\_fact moudle error ansible](https://forum.ansible.com/t/set-fact-moudle-error-ansible/32568)

<div class="topic-metadata">

**Author:** [@sandy.hung](https://forum.ansible.com/u/sandy.hung)\
**Replies:** 2\
**Last updated:** [March 31, 2020, 8:16am UTC](https://forum.ansible.com/t/set-fact-moudle-error-ansible/32568 "2020-03-31T08:16:18Z")

</div>

Hi error msg fatal: \[localhost\]: FAILED! =\> { “msg”: “The task includes an option with an undefined variable. The error was: ‘dict object’ has no attribute ‘ansible\_facts’\\n\\nThe error appears to be in ‘/home/ldap/cre…

---

## [Ansible and Terraform use cases.](https://forum.ansible.com/t/ansible-and-terraform-use-cases/32565)

<div class="topic-metadata">

**Author:** [@Kaushal\_Shriyan](https://forum.ansible.com/u/Kaushal_Shriyan)\
**Replies:** 1\
**Last updated:** [March 31, 2020, 8:06am UTC](https://forum.ansible.com/t/ansible-and-terraform-use-cases/32565 "2020-03-31T08:06:43Z")

</div>

Hi, I have read about Ansible suited best for configuration management and Terraform which is best suited for Provisioning. Is there a way to invoke terraform scripts using ansible and Is there a way to invoke Ansible p…

---

## [Developing new module, that includes filetransfer](https://forum.ansible.com/t/developing-new-module-that-includes-filetransfer/32561)

<div class="topic-metadata">

**Author:** [@Alex\_Hoffner](https://forum.ansible.com/u/Alex_Hoffner)\
**Replies:** 2\
**Last updated:** [March 30, 2020, 9:02pm UTC](https://forum.ansible.com/t/developing-new-module-that-includes-filetransfer/32561 "2020-03-30T21:02:32Z")

</div>

Hi I am currently developing a module (actually for windows over ssh). The module requires a filetransfer from the controller. Of course I could just use win\_copy first, but I would like the module to be more self-cont…

---

## [Strategies for handling redundant role dependencies in multiple roles](https://forum.ansible.com/t/strategies-for-handling-redundant-role-dependencies-in-multiple-roles/32566)

<div class="topic-metadata">

**Author:** [@afeller](https://forum.ansible.com/u/afeller)\
**Replies:** 0\
**Last updated:** [March 30, 2020, 8:39pm UTC](https://forum.ansible.com/t/strategies-for-handling-redundant-role-dependencies-in-multiple-roles/32566 "2020-03-30T20:39:07Z")

</div>

I’m looking for insights and strategies for dealing with Ansible roles specifying potentially different versions of the same dependencies, which are being downloaded via ansible-galaxy install. There are a couple of pro…

---

## [Working with dynamic inventory-- inventory scripts link is broken](https://forum.ansible.com/t/working-with-dynamic-inventory-inventory-scripts-link-is-broken/32563)

<div class="topic-metadata">

**Author:** [@Sanjay\_Chakraborty](https://forum.ansible.com/u/Sanjay_Chakraborty)\
**Replies:** 4\
**Last updated:** [March 30, 2020, 5:57pm UTC](https://forum.ansible.com/t/working-with-dynamic-inventory-inventory-scripts-link-is-broken/32563 "2020-03-30T17:57:08Z")

</div>

Hi, I am trying to download ec2.py and ec2.ini for aws auto scaling from https://docs.ansible.com/ansible/latest/user\_guide/intro\_dynamic\_inventory.html . The link points to github page which shows 404 error. https://g…

---

## [Ansible - Unable to reach the host getting Errno 101  Network is unreachable](https://forum.ansible.com/t/ansible-unable-to-reach-the-host-getting-errno-101-network-is-unreachable/32470)

<div class="topic-metadata">

**Author:** [@Santhosh\_Ganesan](https://forum.ansible.com/u/Santhosh_Ganesan)\
**Replies:** 1\
**Last updated:** [March 30, 2020, 5:46pm UTC](https://forum.ansible.com/t/ansible-unable-to-reach-the-host-getting-errno-101-network-is-unreachable/32470 "2020-03-30T17:46:09Z")

</div>

Newbie to ansible, trying to run a playbook to one of host, \</TASK \[Gathering Facts\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* ok: \[172.28.158.115\] TASK \[include\_role : tes.kibana\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Ansible parser - python](https://forum.ansible.com/t/ansible-parser-python/32562)

<div class="topic-metadata">

**Author:** [@Nemania\_Borovits](https://forum.ansible.com/u/Nemania_Borovits)\
**Replies:** 3\
**Last updated:** [March 30, 2020, 4:02pm UTC](https://forum.ansible.com/t/ansible-parser-python/32562 "2020-03-30T16:02:47Z")

</div>

Hello! I need to parse ansible files effectively. Is there any python library which i can use to parse .yml/.yaml files which contain ansible deployments…? Besides pyyaml or ruamel.yaml

---

## [How can we prevent 2 Ansible playbook to run on the same host at the same time?](https://forum.ansible.com/t/how-can-we-prevent-2-ansible-playbook-to-run-on-the-same-host-at-the-same-time/32557)

<div class="topic-metadata">

**Author:** [@tamar\_matelles](https://forum.ansible.com/u/tamar_matelles)\
**Replies:** 1\
**Last updated:** [March 30, 2020, 3:09pm UTC](https://forum.ansible.com/t/how-can-we-prevent-2-ansible-playbook-to-run-on-the-same-host-at-the-same-time/32557 "2020-03-30T15:09:34Z")

</div>

?How can we prevent from 2 ansible running on the same host at the same time we are working with facts\_catch json file and sometimes have problem that 2 ansibles try write the same json fact\_caching = jsonfile fact\_ca…

---

## [Ansible ssh error](https://forum.ansible.com/t/ansible-ssh-error/32560)

<div class="topic-metadata">

**Author:** [@Bala\_Mutyam](https://forum.ansible.com/u/Bala_Mutyam)\
**Replies:** 2\
**Last updated:** [March 30, 2020, 10:57am UTC](https://forum.ansible.com/t/ansible-ssh-error/32560 "2020-03-30T10:57:35Z")

</div>

Hi Everyone, I trying to run this from Ansible on Ubuntu server and client is Redhat 7 but giving me attached error, please help. root@kotireddy4781c:/etc/ansible# ansible --version ansible 2.5.1 config file = /etc/a…

---

## [aws mount efs volume - ansible](https://forum.ansible.com/t/aws-mount-efs-volume-ansible/32559)

<div class="topic-metadata">

**Author:** [@sandy.hung](https://forum.ansible.com/u/sandy.hung)\
**Replies:** 1\
**Last updated:** [March 30, 2020, 10:22am UTC](https://forum.ansible.com/t/aws-mount-efs-volume-ansible/32559 "2020-03-30T10:22:14Z")

</div>

Hi I have some problem this msg “Error mounting /home/ec2-user/test\_efs: mount.nfs4: Failed to resolve server fs-a41235e5.efs.ap-southeast-1.amazonaws.com: Name or service not known\\n” } my ansible

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

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