# Latest

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

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

**Page:** 567

---

## [How to find all unique host in Tower](https://forum.ansible.com/t/how-to-find-all-unique-host-in-tower/27214)

<div class="topic-metadata">

**Author:** [@Bapi](https://forum.ansible.com/u/Bapi)\
**Replies:** 1\
**Last updated:** [April 9, 2018, 12:50pm UTC](https://forum.ansible.com/t/how-to-find-all-unique-host-in-tower/27214 "2018-04-09T12:50:05Z")

</div>

Hello, I want to list all unique host available in tower. How can i do that? Thanks

---

## [Tower Inventory](https://forum.ansible.com/t/tower-inventory/27217)

<div class="topic-metadata">

**Author:** [@Bapi](https://forum.ansible.com/u/Bapi)\
**Replies:** 1\
**Last updated:** [April 9, 2018, 12:49pm UTC](https://forum.ansible.com/t/tower-inventory/27217 "2018-04-09T12:49:41Z")

</div>

Hello, Tower Inventory is in pending delete stage. Not sure what could be the reason. Any help would appreciate. Thanks

---

## [MySQL install with ansible](https://forum.ansible.com/t/mysql-install-with-ansible/27223)

<div class="topic-metadata">

**Author:** [@Nirmalya\_Paul](https://forum.ansible.com/u/Nirmalya_Paul)\
**Replies:** 0\
**Last updated:** [April 9, 2018, 7:38am UTC](https://forum.ansible.com/t/mysql-install-with-ansible/27223 "2018-04-09T07:38:54Z")

</div>

hello all, I need a help. I need to install mysql using Ansible on CentOs. Can u please show me whole process to do it .

---

## [Privilege escalation not working](https://forum.ansible.com/t/privilege-escalation-not-working/27219)

<div class="topic-metadata">

**Author:** [@Kaushik\_Gosar](https://forum.ansible.com/u/Kaushik_Gosar)\
**Replies:** 3\
**Last updated:** [April 9, 2018, 5:23am UTC](https://forum.ansible.com/t/privilege-escalation-not-working/27219 "2018-04-09T05:23:08Z")

</div>

Hi, I am trying to execute an Ad-Hoc command which requires sudo privileges on a remote machine. Below is the command and the error it throws up kaushik@Machine\_1:~$ ansible all -a “cat /etc/shadow” -u kaushik --ask-b…

---

## [Boto(ec2) documentation confusing, ec2\_vpc\_net\_facts](https://forum.ansible.com/t/boto-ec2-documentation-confusing-ec2-vpc-net-facts/20751)

<div class="topic-metadata">

**Author:** [@viper233](https://forum.ansible.com/u/viper233)\
**Replies:** 1\
**Last updated:** [April 9, 2018, 12:37am UTC](https://forum.ansible.com/t/boto-ec2-documentation-confusing-ec2-vpc-net-facts/20751 "2018-04-09T00:37:11Z")

</div>

I spent some time trying to use this module and had trouble finding documentation for the filters to pass in. E.g isDefault is actually is\_default, vpc\_id, id is actually vpc-d, and even though most of the documentation …

---

## [Implement snap package manager in ansible](https://forum.ansible.com/t/implement-snap-package-manager-in-ansible/24642)

<div class="topic-metadata">

**Author:** [@ChangZhuo\_Chen](https://forum.ansible.com/u/ChangZhuo_Chen)\
**Replies:** 2\
**Last updated:** [April 8, 2018, 9:28pm UTC](https://forum.ansible.com/t/implement-snap-package-manager-in-ansible/24642 "2018-04-08T21:28:37Z")

</div>

Hi All, I could like to implement snap \[0\] package manager in ansible. Is there any concern about this? \[0\] https://snapcraft.io/

---

## [How to load variables for a tagged role?](https://forum.ansible.com/t/how-to-load-variables-for-a-tagged-role/27213)

<div class="topic-metadata">

**Author:** [@Karl\_Auer](https://forum.ansible.com/u/Karl_Auer)\
**Replies:** 2\
**Last updated:** [April 8, 2018, 8:09pm UTC](https://forum.ansible.com/t/how-to-load-variables-for-a-tagged-role/27213 "2018-04-08T20:09:22Z")

</div>

I have a large role, which I will break down into separate roles eventually. For the moment, I am trying to use tags to selectively run bits of it, tagged e.g. “server”, “portal” etc. The role is called from this playb…

---

## [Find module results not returning as expected](https://forum.ansible.com/t/find-module-results-not-returning-as-expected/27220)

<div class="topic-metadata">

**Author:** [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Replies:** 0\
**Last updated:** [April 8, 2018, 7:58pm UTC](https://forum.ansible.com/t/find-module-results-not-returning-as-expected/27220 "2018-04-08T19:58:50Z")

</div>

Using the find module to find unknown files in a given directory and register the results as a variable to be looped through later on. The debug of the registered var shows a full on array of all kinds of attributes …

---

## [Find module results not returning as expected](https://forum.ansible.com/t/find-module-results-not-returning-as-expected/27216)

<div class="topic-metadata">

**Author:** [@flowerysong1](https://forum.ansible.com/u/flowerysong1)\
**Replies:** 0\
**Last updated:** [April 7, 2018, 1:14pm UTC](https://forum.ansible.com/t/find-module-results-not-returning-as-expected/27216 "2018-04-07T13:14:12Z")

</div>

If you want to output a message use the debug module, not “command: echo”. \` name: echo files debug: msg: “{{ item.path | basename }}” loop: “{{ files\_found.files }}” \` \` TASK \[echo files\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Is it possible to tag an ENI in ansible?](https://forum.ansible.com/t/is-it-possible-to-tag-an-eni-in-ansible/27212)

<div class="topic-metadata">

**Author:** [@Karl\_Auer](https://forum.ansible.com/u/Karl_Auer)\
**Replies:** 0\
**Last updated:** [April 7, 2018, 3:55am UTC](https://forum.ansible.com/t/is-it-possible-to-tag-an-eni-in-ansible/27212 "2018-04-07T03:55:20Z")

</div>

Not so much a question as a comment. I would like to tag the ENIs I create with Ansible. ENI’s certainly support tags, but the ec2\_eni module doesn’t have a “tags” attribute. I was able to tag the interfaces using the…

---

## [Backing up files from target to controller node.](https://forum.ansible.com/t/backing-up-files-from-target-to-controller-node/27206)

<div class="topic-metadata">

**Author:** [@Julian\_Santander](https://forum.ansible.com/u/Julian_Santander)\
**Replies:** 3\
**Last updated:** [April 6, 2018, 11:05pm UTC](https://forum.ansible.com/t/backing-up-files-from-target-to-controller-node/27206 "2018-04-06T23:05:35Z")

</div>

Hello, I hope someone could offer some guidance on how to solve a scenario I’m trying to automate. The objective is to obtain a back-up of a directory in the target machine (managed) and needs to be saved to the contro…

---

## [Understanding lookup task context](https://forum.ansible.com/t/understanding-lookup-task-context/27207)

<div class="topic-metadata">

**Author:** [@Lihu\_Ber](https://forum.ansible.com/u/Lihu_Ber)\
**Replies:** 3\
**Last updated:** [April 6, 2018, 7:29pm UTC](https://forum.ansible.com/t/understanding-lookup-task-context/27207 "2018-04-06T19:29:24Z")

</div>

I noticed odd behavior with Ansible lookups a while back and, thinking it was a bug, reported it here. Essentially, when I defined a lookup in host\_vars, and referenced it in different ways from the same role, the lookup…

---

## [AWX / Tower: PUT multiple variables in inventory](https://forum.ansible.com/t/awx-tower-put-multiple-variables-in-inventory/27209)

<div class="topic-metadata">

**Author:** [@Alex\_Kamalov](https://forum.ansible.com/u/Alex_Kamalov)\
**Replies:** 3\
**Last updated:** [April 6, 2018, 6:04pm UTC](https://forum.ansible.com/t/awx-tower-put-multiple-variables-in-inventory/27209 "2018-04-06T18:04:16Z")

</div>

Greetings folks, Trying to PUT multiple variables into inventory, getting an error: $ curl -H ‘Authorization:Token XXXXXXXXXXXXXXXXXX’ -f -k -H “content-Type: application/json” -X PATCH -d ‘{ “name”: “zookeepernodes”,“…

---

## [1 server suddenly slow](https://forum.ansible.com/t/1-server-suddenly-slow/27210)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 0\
**Last updated:** [April 6, 2018, 3:58pm UTC](https://forum.ansible.com/t/1-server-suddenly-slow/27210 "2018-04-06T15:58:37Z")

</div>

Just wondering what I can look at for a slow server. It used to be just as fast as the others, but now it takes 3x as long when running Ansible playbooks against it (or even just gathering facts). It still works, just sl…

---

## [target uses selinux but python bindings (libselinux-python) aren't installed!](https://forum.ansible.com/t/target-uses-selinux-but-python-bindings-libselinux-python-arent-installed/27208)

<div class="topic-metadata">

**Author:** [@TT\_KKk](https://forum.ansible.com/u/TT_KKk)\
**Replies:** 1\
**Last updated:** [April 6, 2018, 2:27pm UTC](https://forum.ansible.com/t/target-uses-selinux-but-python-bindings-libselinux-python-arent-installed/27208 "2018-04-06T14:27:07Z")

</div>

I could install selinux-python on my host

---

## [Intermittent failures when using easy\_install](https://forum.ansible.com/t/intermittent-failures-when-using-easy-install/27202)

<div class="topic-metadata">

**Author:** [@SurferL](https://forum.ansible.com/u/SurferL)\
**Replies:** 1\
**Last updated:** [April 6, 2018, 2:11pm UTC](https://forum.ansible.com/t/intermittent-failures-when-using-easy-install/27202 "2018-04-06T14:11:42Z")

</div>

Running Ansible 2.4.1. So sometimes running my task works, and other times it doesn’t and I don’t understand why this is happening… The task is: name: mac | Install global python dependencies easy\_install: name: “{…

---

## [Regarding site.yml](https://forum.ansible.com/t/regarding-site-yml/27201)

<div class="topic-metadata">

**Author:** [@Nirmalya\_Paul](https://forum.ansible.com/u/Nirmalya_Paul)\
**Replies:** 6\
**Last updated:** [April 6, 2018, 1:20pm UTC](https://forum.ansible.com/t/regarding-site-yml/27201 "2018-04-06T13:20:47Z")

</div>

hello all I am not able to run -s site.yml… error showing that -s site.yml could not found. can you please tell me why its showing and how i can solve the issue ?

---

## [ec2.py runs, returns empty list - on ONE account](https://forum.ansible.com/t/ec2-py-runs-returns-empty-list-on-one-account/27205)

<div class="topic-metadata">

**Author:** [@Karl\_Auer](https://forum.ansible.com/u/Karl_Auer)\
**Replies:** 0\
**Last updated:** [April 6, 2018, 10:34am UTC](https://forum.ansible.com/t/ec2-py-runs-returns-empty-list-on-one-account/27205 "2018-04-06T10:34:46Z")

</div>

If I run ec2.py against any of four different AWS accounts, it returns a list of instances etc. On one AWS account, it returns an empty list. It doesn’t issue error messages, or take a particularly long to time to run, …

---

## [Remove missing files from a list](https://forum.ansible.com/t/remove-missing-files-from-a-list/27188)

<div class="topic-metadata">

**Author:** [@Andy\_Smith](https://forum.ansible.com/u/Andy_Smith)\
**Replies:** 2\
**Last updated:** [April 6, 2018, 3:02am UTC](https://forum.ansible.com/t/remove-missing-files-from-a-list/27188 "2018-04-06T03:02:23Z")

</div>

Hi, Imagine a service foo that has a config file /etc/foo/files\_of\_interest which is just a list of other file paths, one per line. If you put a path that doesn't exist into the file then the service foo complains ab…

---

## [Architecture of a complex ansible project](https://forum.ansible.com/t/architecture-of-a-complex-ansible-project/27090)

<div class="topic-metadata">

**Author:** [@cmoullia](https://forum.ansible.com/u/cmoullia)\
**Replies:** 4\
**Last updated:** [April 6, 2018, 2:54am UTC](https://forum.ansible.com/t/architecture-of-a-complex-ansible-project/27090 "2018-04-06T02:54:02Z")

</div>

Hi Is there a document describing the best practices to organise a complex Ansible project ? Here is the project that I’m thinking about : Project has been designed as a collection of reusable modules (= role) which …

---

## [Automate VM creation with Ansible (VMware, Bind, Zabbix)](https://forum.ansible.com/t/automate-vm-creation-with-ansible-vmware-bind-zabbix/27167)

<div class="topic-metadata">

**Author:** [@Vamberto\_Junior](https://forum.ansible.com/u/Vamberto_Junior)\
**Replies:** 3\
**Last updated:** [April 6, 2018, 2:33am UTC](https://forum.ansible.com/t/automate-vm-creation-with-ansible-vmware-bind-zabbix/27167 "2018-04-06T02:33:18Z")

</div>

Hello everybody In my environment, I own VMware with vCenter, Bind as DNS server and Zabbix as a monitoring tool. What I would like to do with Ansible is to create a virtual machine from an already predefined template,…

---

## [Repeat a block with a different variable?](https://forum.ansible.com/t/repeat-a-block-with-a-different-variable/27200)

<div class="topic-metadata">

**Author:** [@LeamHall](https://forum.ansible.com/u/LeamHall)\
**Replies:** 1\
**Last updated:** [April 6, 2018, 12:21am UTC](https://forum.ansible.com/t/repeat-a-block-with-a-different-variable/27200 "2018-04-06T00:21:08Z")

</div>

Still more Ansible newbie than journeyman. Trying to figure out how to re-run a block with a different variable. Issues: 1. Ruby must be installed to compile new versions of Ruby. 2. The CentOS 6 default version of R…

---

## [Ansible 2.5 with cisco asa\_command enable mode](https://forum.ansible.com/t/ansible-2-5-with-cisco-asa-command-enable-mode/27199)

<div class="topic-metadata">

**Author:** [@Rick\_Williams](https://forum.ansible.com/u/Rick_Williams)\
**Replies:** 2\
**Last updated:** [April 5, 2018, 11:49pm UTC](https://forum.ansible.com/t/ansible-2-5-with-cisco-asa-command-enable-mode/27199 "2018-04-05T23:49:26Z")

</div>

Hi, Can anyone share how to use the provided asa\_command module to get into enable mode with Ansible 2.5 ? I’m reading this: https://docs.ansible.com/ansible/devel/modules/asa\_command\_module.html#asa-command … and tr…

---

## [win\_group\_membership](https://forum.ansible.com/t/win-group-membership/27136)

<div class="topic-metadata">

**Author:** [@Anil](https://forum.ansible.com/u/Anil)\
**Replies:** 6\
**Last updated:** [April 5, 2018, 9:05pm UTC](https://forum.ansible.com/t/win-group-membership/27136 "2018-04-05T21:05:47Z")

</div>

Hello, few questions on this module - Context - we have Cloudform, that spins up windows machine and joins it to domain, now I need to add user to the local “Remote Desktop user” group on target windows machine. I hopi…

---

## [Ansible 2.5.0 Release Candidate 1 is available](https://forum.ansible.com/t/ansible-2-5-0-release-candidate-1-is-available/26834)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 7\
**Last updated:** [April 5, 2018, 6:34pm UTC](https://forum.ansible.com/t/ansible-2-5-0-release-candidate-1-is-available/26834 "2018-04-05T18:34:21Z")

</div>

Hi all- we’re happy to announce that Release Candidate 1 of Ansible 2.5.0 is now available! How do you get it?

---

## [vmware\_guest module and existing custom specifications](https://forum.ansible.com/t/vmware-guest-module-and-existing-custom-specifications/27198)

<div class="topic-metadata">

**Author:** [@the.prides](https://forum.ansible.com/u/the.prides)\
**Replies:** 0\
**Last updated:** [April 5, 2018, 5:53pm UTC](https://forum.ansible.com/t/vmware-guest-module-and-existing-custom-specifications/27198 "2018-04-05T17:53:10Z")

</div>

Is there a way to use existing custom specifications with the vmware\_guest module, and, if so, how? If not, is there another vmware module that can provide this functionality? Thanks!

---

## [Does any one know how to setup ssh connection between  vsts and ansible server](https://forum.ansible.com/t/does-any-one-know-how-to-setup-ssh-connection-between-vsts-and-ansible-server/27197)

<div class="topic-metadata">

**Author:** [@workarea448](https://forum.ansible.com/u/workarea448)\
**Replies:** 0\
**Last updated:** [April 5, 2018, 5:24pm UTC](https://forum.ansible.com/t/does-any-one-know-how-to-setup-ssh-connection-between-vsts-and-ansible-server/27197 "2018-04-05T17:24:02Z")

</div>

Able to set up two terminal server connection using password but unable to do configuration part using vsts run playbook.please help me by sugguesting

---

## [Install solr packages on ansible](https://forum.ansible.com/t/install-solr-packages-on-ansible/27195)

<div class="topic-metadata">

**Author:** [@boy\_fantastico](https://forum.ansible.com/u/boy_fantastico)\
**Replies:** 0\
**Last updated:** [April 5, 2018, 1:38pm UTC](https://forum.ansible.com/t/install-solr-packages-on-ansible/27195 "2018-04-05T13:38:29Z")

</div>

Good afternoon. I’m installing an ckan via ansible project. However, I need to install SOLR packages, but I can not. I would like to ask you for help, knowing in this way which commands you could produce for the follo…

---

## [azure\_rm\_virtualmachine\_facts](https://forum.ansible.com/t/azure-rm-virtualmachine-facts/27194)

<div class="topic-metadata">

**Author:** [@Gustavo\_Muniz\_do\_Car](https://forum.ansible.com/u/Gustavo_Muniz_do_Car)\
**Replies:** 0\
**Last updated:** [April 5, 2018, 1:10pm UTC](https://forum.ansible.com/t/azure-rm-virtualmachine-facts/27194 "2018-04-05T13:10:29Z")

</div>

Hi everyone! Yesterday I made a pull request of a new feature: azure\_rm\_virtualmachine\_facts. The module aims to get facts for virtual machines of a resource group in Azure. I hope it be accepted soon. https://github.c…

---

## [AWX Installation - Help](https://forum.ansible.com/t/awx-installation-help/27191)

<div class="topic-metadata">

**Author:** [@Vino\_B](https://forum.ansible.com/u/Vino_B)\
**Replies:** 1\
**Last updated:** [April 5, 2018, 10:53am UTC](https://forum.ansible.com/t/awx-installation-help/27191 "2018-04-05T10:53:14Z")

</div>

Hi All, Trying to install AWX and facing the below error, request your help on the same. There are few blogs stating to downgrade pip-docker to 3.0.0 (https://github.com/ansible/awx/issues/1197) so do we need to downgra…

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

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