# Latest

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

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

**Page:** 476

---

## [azure\_rm\_virtualmachine\_facts not working to search on Tags](https://forum.ansible.com/t/azure-rm-virtualmachine-facts-not-working-to-search-on-tags/29904)

<div class="topic-metadata">

**Author:** [@Ashwini\_Patil](https://forum.ansible.com/u/Ashwini_Patil)\
**Replies:** 0\
**Last updated:** [March 18, 2019, 4:05pm UTC](https://forum.ansible.com/t/azure-rm-virtualmachine-facts-not-working-to-search-on-tags/29904 "2019-03-18T16:05:59Z")

</div>

I am having trouble working with this module. The requirement is to search all the VMs irrespective of their resource groups based on the tags applied to VMs. The module documentation here says \` resource\_group : Name …

---

## [Network performance metrics details and network device details](https://forum.ansible.com/t/network-performance-metrics-details-and-network-device-details/29903)

<div class="topic-metadata">

**Author:** [@Anant\_Chaturvedi](https://forum.ansible.com/u/Anant_Chaturvedi)\
**Replies:** 0\
**Last updated:** [March 18, 2019, 1:16pm UTC](https://forum.ansible.com/t/network-performance-metrics-details-and-network-device-details/29903 "2019-03-18T13:16:52Z")

</div>

Hi team, I am working on a project that needs to set the performance baseline for a network and also needs to get the device details (no. of interfaces, speed, vendor name) for all the devices on the network. Could som…

---

## [dynamic inventory not working](https://forum.ansible.com/t/dynamic-inventory-not-working/29902)

<div class="topic-metadata">

**Author:** [@Mahender\_Tirumala](https://forum.ansible.com/u/Mahender_Tirumala)\
**Replies:** 0\
**Last updated:** [March 18, 2019, 1:06pm UTC](https://forum.ansible.com/t/dynamic-inventory-not-working/29902 "2019-03-18T13:06:31Z")

</div>

can you please let me know where to change in ec2.py to get dynamic inventory success getting unreachable error

---

## [how to prevent Ansible to change ansible\_python\_interpreter after execution](https://forum.ansible.com/t/how-to-prevent-ansible-to-change-ansible-python-interpreter-after-execution/29901)

<div class="topic-metadata">

**Author:** [@cassell](https://forum.ansible.com/u/cassell)\
**Replies:** 0\
**Last updated:** [March 18, 2019, 11:23am UTC](https://forum.ansible.com/t/how-to-prevent-ansible-to-change-ansible-python-interpreter-after-execution/29901 "2019-03-18T11:23:56Z")

</div>

Hi, I'm using Zsh and PyEnv. I Pip install the Ansible I had set ansible\_python\_interpreter to my own PYTHON, in the Inventory file. ansible\_playbook\_python is the path to the python executable used to invoke the A…

---

## [Ansible Tower Install Error](https://forum.ansible.com/t/ansible-tower-install-error/29892)

<div class="topic-metadata">

**Author:** [@Paul\_Woodhouse](https://forum.ansible.com/u/Paul_Woodhouse)\
**Replies:** 3\
**Last updated:** [March 18, 2019, 11:04am UTC](https://forum.ansible.com/t/ansible-tower-install-error/29892 "2019-03-18T11:04:57Z")

</div>

Hi, I am getting an error when attempting to install Ansible Tower via the setup.sh. The error reads: ERROR! ‘check\_mode’ is not a valid attribute for a Task The error appears to have been in ‘/home/user1/ansible-tower…

---

## [New Module Design Question](https://forum.ansible.com/t/new-module-design-question/29900)

<div class="topic-metadata">

**Author:** [@Matthew\_Burtless](https://forum.ansible.com/u/Matthew_Burtless)\
**Replies:** 1\
**Last updated:** [March 17, 2019, 6:52pm UTC](https://forum.ansible.com/t/new-module-design-question/29900 "2019-03-17T18:52:50Z")

</div>

Hi All - Question regarding the correct Ansible friendly abstraction of a new module that interacts with a fairly complex API. I’m working on updating and refactoring NS1’s existing Ansible modules (found here) for subm…

---

## [SSH Access to the Remote servers](https://forum.ansible.com/t/ssh-access-to-the-remote-servers/29899)

<div class="topic-metadata">

**Author:** [@Guillermo\_Colmena](https://forum.ansible.com/u/Guillermo_Colmena)\
**Replies:** 1\
**Last updated:** [March 17, 2019, 4:48pm UTC](https://forum.ansible.com/t/ssh-access-to-the-remote-servers/29899 "2019-03-17T16:48:50Z")

</div>

Hi Ansible Community, I have been trying to configure the ssh.cfg and ansible.cfg to be able to access using an id\_rsa to connect via ssh to the remote servers. The question comes when I try to configure these 2 config …

---

## [Openshift cluster management](https://forum.ansible.com/t/openshift-cluster-management/29898)

<div class="topic-metadata">

**Author:** [@Rony\_Joy](https://forum.ansible.com/u/Rony_Joy)\
**Replies:** 3\
**Last updated:** [March 17, 2019, 7:10am UTC](https://forum.ansible.com/t/openshift-cluster-management/29898 "2019-03-17T07:10:53Z")

</div>

My ansible knowledge is very limited. I would like to get some expert suggestions from the experts here. Our environments (staging(2-3), productions(3-4)) managed through open shift cluster and docker based micro service…

---

## [Openshift cluster management](https://forum.ansible.com/t/openshift-cluster-management/29897)

<div class="topic-metadata">

**Author:** [@ronyjoy](https://forum.ansible.com/u/ronyjoy)\
**Replies:** 1\
**Last updated:** [March 16, 2019, 1:17pm UTC](https://forum.ansible.com/t/openshift-cluster-management/29897 "2019-03-16T13:17:54Z")

</div>

My ansible knowledge is very limited. I would like to get some expert suggestions from the experts here. Our environments (staging(2-3), productions(3-4)) managed through open shift cluster and docker based micro service…

---

## [how to handle user prompt in privilege escalation](https://forum.ansible.com/t/how-to-handle-user-prompt-in-privilege-escalation/29891)

<div class="topic-metadata">

**Author:** [@hitesh\_shaha](https://forum.ansible.com/u/hitesh_shaha)\
**Replies:** 1\
**Last updated:** [March 16, 2019, 6:56am UTC](https://forum.ansible.com/t/how-to-handle-user-prompt-in-privilege-escalation/29891 "2019-03-16T06:56:38Z")

</div>

Hi Team, we have developed playbook for oracle backup, but we are having big roadblock to use privilege escalation. we are using become\_user mentod for privilege escalation but in our env for security reason unix team …

---

## [Sorting JSON output correctly](https://forum.ansible.com/t/sorting-json-output-correctly/29895)

<div class="topic-metadata">

**Author:** [@email](https://forum.ansible.com/u/email)\
**Replies:** 0\
**Last updated:** [March 15, 2019, 7:00pm UTC](https://forum.ansible.com/t/sorting-json-output-correctly/29895 "2019-03-15T19:00:09Z")

</div>

Hey all, I have a task that I’m really struggling to convert into Ansible from Python. I’m uring the uri module to query an API and it returns the JSON output like the following: \` \[ { “Name”: “Linux File System”, …

---

## [Ansible integration with windows hosts](https://forum.ansible.com/t/ansible-integration-with-windows-hosts/29894)

<div class="topic-metadata">

**Author:** [@Narayana\_Ballem](https://forum.ansible.com/u/Narayana_Ballem)\
**Replies:** 0\
**Last updated:** [March 15, 2019, 6:26pm UTC](https://forum.ansible.com/t/ansible-integration-with-windows-hosts/29894 "2019-03-15T18:26:06Z")

</div>

HI Team, i am working on some app pool recyle automation task where i need to integrate windows server. My control node is oracle Linux and i would like call some perl scripts on windows server, these windows servers a…

---

## [Ansible 2.7.9 and 2.6.15](https://forum.ansible.com/t/ansible-2-7-9-and-2-6-15/29893)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [March 15, 2019, 3:47pm UTC](https://forum.ansible.com/t/ansible-2-7-9-and-2-6-15/29893 "2019-03-15T15:47:34Z")

</div>

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

---

## [Postgres DB](https://forum.ansible.com/t/postgres-db/29890)

<div class="topic-metadata">

**Author:** [@Sindhuja\_Koneru](https://forum.ansible.com/u/Sindhuja_Koneru)\
**Replies:** 2\
**Last updated:** [March 15, 2019, 5:01am UTC](https://forum.ansible.com/t/postgres-db/29890 "2019-03-15T05:01:27Z")

</div>

Hi, I was trying to backup DB(backup.yml) and restore DB(restore.yml) from the backup. It was not successful. So, erased all tower binaries and was trying to perform a fresh tower install. But fresh install (install.ym…

---

## [ansible setup how to show win\_disk\_information](https://forum.ansible.com/t/ansible-setup-how-to-show-win-disk-information/29889)

<div class="topic-metadata">

**Author:** [@fmontaldo3](https://forum.ansible.com/u/fmontaldo3)\
**Replies:** 2\
**Last updated:** [March 14, 2019, 11:33pm UTC](https://forum.ansible.com/t/ansible-setup-how-to-show-win-disk-information/29889 "2019-03-14T23:33:20Z")

</div>

Hi folks I need to create an inventory file for windows servers. Therefore I run the following command: ansible win00-stg -m setup --tree out/ when I check into one of the generate files there is no disk information. …

---

## [Problem creating postgresql user](https://forum.ansible.com/t/problem-creating-postgresql-user/29871)

<div class="topic-metadata">

**Author:** [@Joshua\_J\_Kugler](https://forum.ansible.com/u/Joshua_J_Kugler)\
**Replies:** 6\
**Last updated:** [March 14, 2019, 9:48pm UTC](https://forum.ansible.com/t/problem-creating-postgresql-user/29871 "2019-03-14T21:48:59Z")

</div>

I have this stanza: - name: Create redmine user postgresql\_user: name: redmine password: "ZZZ" expires: infinity become: true become\_user: postgres It runs. The user …

---

## [Hello](https://forum.ansible.com/t/hello/29881)

<div class="topic-metadata">

**Author:** [@Sudhir](https://forum.ansible.com/u/Sudhir)\
**Replies:** 2\
**Last updated:** [March 14, 2019, 6:50pm UTC](https://forum.ansible.com/t/hello/29881 "2019-03-14T18:50:37Z")

</div>

I have the unique situation I am running a playbook on list of hosts ( hostA, hostB, hostC ) for collecting the system current health and dump the data into the directory ( /var/tmp/\<hostname.daily\> on each ansible mana…

---

## [skipping does not show for lists](https://forum.ansible.com/t/skipping-does-not-show-for-lists/29888)

<div class="topic-metadata">

**Author:** [@jyanga](https://forum.ansible.com/u/jyanga)\
**Replies:** 0\
**Last updated:** [March 14, 2019, 4:41pm UTC](https://forum.ansible.com/t/skipping-does-not-show-for-lists/29888 "2019-03-14T16:41:56Z")

</div>

Here are some background info. Ansible Version: 2.7.8 Created a file and folder structure with the commands below. TEMP=“/data” mkdir -p $TEMP/dir{1,2} touch $TEMP/file{1,2}.txt touch $TEMP/file{3,4}.lst.txt touch…

---

## [lineinfile module with python3 on remote host with selinux enabled](https://forum.ansible.com/t/lineinfile-module-with-python3-on-remote-host-with-selinux-enabled/29887)

<div class="topic-metadata">

**Author:** [@dmccheyne](https://forum.ansible.com/u/dmccheyne)\
**Replies:** 0\
**Last updated:** [March 14, 2019, 2:54pm UTC](https://forum.ansible.com/t/lineinfile-module-with-python3-on-remote-host-with-selinux-enabled/29887 "2019-03-14T14:54:43Z")

</div>

I’m dealing with selinux (which I am new to), that I can’t disable in a shared env. Remote is running python 3.5 and it’s mostly fine with the exception of these file editing modules. They run into an issue with the li…

---

## [Installing python dependencies](https://forum.ansible.com/t/installing-python-dependencies/29877)

<div class="topic-metadata">

**Author:** [@Mike\_Alberghini](https://forum.ansible.com/u/Mike_Alberghini)\
**Replies:** 1\
**Last updated:** [March 14, 2019, 2:48pm UTC](https://forum.ansible.com/t/installing-python-dependencies/29877 "2019-03-14T14:48:55Z")

</div>

The vmware\_category\_facts module requires the vsphere-automation-sdk for python from https://github.com/vmware/vsphere-automation-sdk-python A straight up pip install using the pip module and git didn’t seem to work. I …

---

## [Dump tower to awx](https://forum.ansible.com/t/dump-tower-to-awx/29771)

<div class="topic-metadata">

**Author:** [@Frank\_Dias](https://forum.ansible.com/u/Frank_Dias)\
**Replies:** 5\
**Last updated:** [March 14, 2019, 2:47pm UTC](https://forum.ansible.com/t/dump-tower-to-awx/29771 "2019-03-14T14:47:45Z")

</div>

I have a tower 3.1.5 and looking to build the latest AWX server. Any pointers on how I might be able to move templates, jobs, credentials from tower?

---

## [Issue with unmount of volume](https://forum.ansible.com/t/issue-with-unmount-of-volume/29864)

<div class="topic-metadata">

**Author:** [@Karthick\_Thanigaiman](https://forum.ansible.com/u/Karthick_Thanigaiman)\
**Replies:** 1\
**Last updated:** [March 14, 2019, 12:50pm UTC](https://forum.ansible.com/t/issue-with-unmount-of-volume/29864 "2019-03-14T12:50:33Z")

</div>

Hi, I have my facts as like below to unmount a file system in my EC2 via ansible. the ansible playbook executes fine without any issues but still file system doesnt get unmounted (eventhough not in use or no errors). Th…

---

## [How to create a list of dicts](https://forum.ansible.com/t/how-to-create-a-list-of-dicts/29873)

<div class="topic-metadata">

**Author:** [@Ashok1](https://forum.ansible.com/u/Ashok1)\
**Replies:** 6\
**Last updated:** [March 14, 2019, 12:48pm UTC](https://forum.ansible.com/t/how-to-create-a-list-of-dicts/29873 "2019-03-14T12:48:24Z")

</div>

Hi All, I have a list logf\_dest (of log files): "logf\_dest": \[ "/logs/mx/mail.log", "/logs/dyn.log", "/logs/apache-servers/other.log" \] I need to form a “list of dicts” called logfile\_config, like the below: \` log…

---

## [pick the inventory depends on my env variables ?](https://forum.ansible.com/t/pick-the-inventory-depends-on-my-env-variables/29884)

<div class="topic-metadata">

**Author:** [@Sampath\_Kumar](https://forum.ansible.com/u/Sampath_Kumar)\
**Replies:** 1\
**Last updated:** [March 14, 2019, 11:54am UTC](https://forum.ansible.com/t/pick-the-inventory-depends-on-my-env-variables/29884 "2019-03-14T11:54:50Z")

</div>

Hi All Can someone help me on how to execute the AWX template/playbook Template in such a way that it has to pick the inventory depends on my env variables ?

---

## [unable to delete line  file](https://forum.ansible.com/t/unable-to-delete-line-file/29867)

<div class="topic-metadata">

**Author:** [@Deepak\_Sharma](https://forum.ansible.com/u/Deepak_Sharma)\
**Replies:** 4\
**Last updated:** [March 14, 2019, 8:01am UTC](https://forum.ansible.com/t/unable-to-delete-line-file/29867 "2019-03-14T08:01:02Z")

</div>

this is my host file. cat /tmp/node/test.new \[masters\] 1234.abc.com \[nodes\] 453.abc.com openshift\_node\_labels,22,=“{‘region’: ‘us\_midwest’, ‘datacenter’: ‘ctc’, ‘zone’: ‘core’, ‘environment’: ‘nonprod’, ‘logging-infr…

---

## [ant to use my group\_vars variable with loops to assign variable value as argument which i want to run from playbook. for my workaround](https://forum.ansible.com/t/ant-to-use-my-group-vars-variable-with-loops-to-assign-variable-value-as-argument-which-i-want-to-run-from-playbook-for-my-workaround/29883)

<div class="topic-metadata">

**Author:** [@Atul\_Sharma](https://forum.ansible.com/u/Atul_Sharma)\
**Replies:** 0\
**Last updated:** [March 14, 2019, 7:38am UTC](https://forum.ansible.com/t/ant-to-use-my-group-vars-variable-with-loops-to-assign-variable-value-as-argument-which-i-want-to-run-from-playbook-for-my-workaround/29883 "2019-03-14T07:38:39Z")

</div>

I want to use my group\_vars variable with loops to assign variable value as argument which i want to run from playbook. for my workaround group\_vars : app.yml: clay: username\_ice: admin password\_ice: abc1234 nTurn…

---

## [help resolve warnings first role](https://forum.ansible.com/t/help-resolve-warnings-first-role/29879)

<div class="topic-metadata">

**Author:** [@Gaetano\_Giacalone](https://forum.ansible.com/u/Gaetano_Giacalone)\
**Replies:** 2\
**Last updated:** [March 14, 2019, 7:22am UTC](https://forum.ansible.com/t/help-resolve-warnings-first-role/29879 "2019-03-14T07:22:01Z")

</div>

I have this role dagman62.apache\_php it is installing apache/apr with php from source. I am registered variables and when: changed to determine if a tarball changed and needs to be UN-archived, configured, then built. I …

---

## [install.yml Fails](https://forum.ansible.com/t/install-yml-fails/29882)

<div class="topic-metadata">

**Author:** [@Sindhuja\_Koneru](https://forum.ansible.com/u/Sindhuja_Koneru)\
**Replies:** 0\
**Last updated:** [March 14, 2019, 4:21am UTC](https://forum.ansible.com/t/install-yml-fails/29882 "2019-03-14T04:21:11Z")

</div>

Hello, when i run install.yml script that is provided in the bundle, it fails saying awe-manage not found. I suppose awX-manage should be installed with the same script. How can I resolve this error? Any help/input is…

---

## [How to Restore DB from backup file](https://forum.ansible.com/t/how-to-restore-db-from-backup-file/29880)

<div class="topic-metadata">

**Author:** [@Sindhuja\_Koneru](https://forum.ansible.com/u/Sindhuja_Koneru)\
**Replies:** 2\
**Last updated:** [March 14, 2019, 3:15am UTC](https://forum.ansible.com/t/how-to-restore-db-from-backup-file/29880 "2019-03-14T03:15:32Z")

</div>

Hello, Can someone please help me here, not able to figure out why i am unable to run restore.yml that is provided in the bundle. STEP 1:- I have run backup.yml and it successfully created a tar file. STEP 2:- Then I …

---

## [How to format the inventory file for amazon ec2 hosts?](https://forum.ansible.com/t/how-to-format-the-inventory-file-for-amazon-ec2-hosts/29878)

<div class="topic-metadata">

**Author:** [@gigit1000](https://forum.ansible.com/u/gigit1000)\
**Replies:** 1\
**Last updated:** [March 13, 2019, 11:07pm UTC](https://forum.ansible.com/t/how-to-format-the-inventory-file-for-amazon-ec2-hosts/29878 "2019-03-13T23:07:04Z")

</div>

Hello, I am unable to run the example ad hoc command: ansible -m ping hosts --private-key=~/home/ec2-user/ -u ec2-user the error is: \[WARNING\]: Could not match supplied host pattern, ignoring: hosts The hostname is:…

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

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