# Latest

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

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

**Page:** 902

---

## [Gathering facts about servers newly created using the rax modules and dynamic inventory](https://forum.ansible.com/t/gathering-facts-about-servers-newly-created-using-the-rax-modules-and-dynamic-inventory/17295)

<div class="topic-metadata">

**Author:** [@danrough](https://forum.ansible.com/u/danrough)\
**Replies:** 6\
**Last updated:** [January 19, 2015, 5:30pm UTC](https://forum.ansible.com/t/gathering-facts-about-servers-newly-created-using-the-rax-modules-and-dynamic-inventory/17295 "2015-01-19T17:30:09Z")

</div>

Hi there, I’d like to understand how I can access a set of newly created rackspace servers using the group names that I specified at the point of creation. At the moment, parts of my playbook are being ignored because …

---

## [IP or DNS name of launched instances by ec2\_asg](https://forum.ansible.com/t/ip-or-dns-name-of-launched-instances-by-ec2-asg/17283)

<div class="topic-metadata">

**Author:** [@biswajit.banerjee](https://forum.ansible.com/u/biswajit.banerjee)\
**Replies:** 4\
**Last updated:** [January 19, 2015, 4:43pm UTC](https://forum.ansible.com/t/ip-or-dns-name-of-launched-instances-by-ec2-asg/17283 "2015-01-19T16:43:18Z")

</div>

Hi, After instance launched using ec2\_asg , I wish to add newly created instance to ansible control machin’s host group. I need to get the public ip and public dns of launched instances. I wonder , if registering the …

---

## [Using jinja in group\_vars with variables passed by --extra-vars](https://forum.ansible.com/t/using-jinja-in-group-vars-with-variables-passed-by-extra-vars/17312)

<div class="topic-metadata">

**Author:** [@Wojciech\_Korzenny](https://forum.ansible.com/u/Wojciech_Korzenny)\
**Replies:** 1\
**Last updated:** [January 19, 2015, 4:15pm UTC](https://forum.ansible.com/t/using-jinja-in-group-vars-with-variables-passed-by-extra-vars/17312 "2015-01-19T16:15:53Z")

</div>

Hi, I’m trying to use jinja for setting test\_plan parameter in group\_vars based on some variables passed by --extra-vars. This is my group\_vars/load\_drivers content:

---

## [Adding ansible-playbook --list-tags myplaybook.yaml](https://forum.ansible.com/t/adding-ansible-playbook-list-tags-myplaybook-yaml/14726)

<div class="topic-metadata">

**Author:** [@Michael\_Nelson](https://forum.ansible.com/u/Michael_Nelson)\
**Replies:** 5\
**Last updated:** [January 19, 2015, 4:06pm UTC](https://forum.ansible.com/t/adding-ansible-playbook-list-tags-myplaybook-yaml/14726 "2015-01-19T16:06:19Z")

</div>

Hi! Just a heads-up that I’m thinking of adding a --list-tags option to ansible-playbook. Let me know if there’s a reason why that wouldn’t be a good idea, or it’s not needed etc. My use-case is that I’d like to know i…

---

## [Append shell results on multiple servers to local file](https://forum.ansible.com/t/append-shell-results-on-multiple-servers-to-local-file/17304)

<div class="topic-metadata">

**Author:** [@Jim\_McMahon](https://forum.ansible.com/u/Jim_McMahon)\
**Replies:** 5\
**Last updated:** [January 19, 2015, 2:48pm UTC](https://forum.ansible.com/t/append-shell-results-on-multiple-servers-to-local-file/17304 "2015-01-19T14:48:11Z")

</div>

I’m trying to run a shell command on multiple servers and have the results appended to a local file. The way I have it written now doesn’t work. I only get the result of the last server because it runs the first task for…

---

## [Variable interpolation not working .. sorta...!](https://forum.ansible.com/t/variable-interpolation-not-working-sorta/17301)

<div class="topic-metadata">

**Author:** [@Bilal\_Aslam](https://forum.ansible.com/u/Bilal_Aslam)\
**Replies:** 1\
**Last updated:** [January 19, 2015, 1:40pm UTC](https://forum.ansible.com/t/variable-interpolation-not-working-sorta/17301 "2015-01-19T13:40:08Z")

</div>

We’re seeing this on Ansible 1.8.2. Here is a snippet from the run of a play TASK: \[marathon\_app | Update Bamboo record for {{ app\_id }}.{{ domain }}\] \*\*\*\*\* Notice how two variables are not printed properly – these two…

---

## [Create a file, if not exist, inside a loop](https://forum.ansible.com/t/create-a-file-if-not-exist-inside-a-loop/17309)

<div class="topic-metadata">

**Author:** [@Tristan\_Bessoussa](https://forum.ansible.com/u/Tristan_Bessoussa)\
**Replies:** 3\
**Last updated:** [January 19, 2015, 1:33pm UTC](https://forum.ansible.com/t/create-a-file-if-not-exist-inside-a-loop/17309 "2015-01-19T13:33:43Z")

</div>

Hi, I’m trying to achieve something basic (v1.8.2): create a sitemap.xml if not exist for prestahsop projects. \` name: Check if sitemap is present stat: path={{ ansible\_www\_home }}/{{ item.dest }}/sitemap.xml with…

---

## [Dynamic inventory development debugging](https://forum.ansible.com/t/dynamic-inventory-development-debugging/17311)

<div class="topic-metadata">

**Author:** [@Catalin\_Costache](https://forum.ansible.com/u/Catalin_Costache)\
**Replies:** 0\
**Last updated:** [January 19, 2015, 1:06pm UTC](https://forum.ansible.com/t/dynamic-inventory-development-debugging/17311 "2015-01-19T13:06:02Z")

</div>

Hi all, Right now the development of dynamic inventory scripts is somehow cumbersome due to the fact that there’s little to no info exposed when parsing the inventory. In some cases, it just fails with obscure error li…

---

## [How to run a Docker Container as a daemon with Ansible?](https://forum.ansible.com/t/how-to-run-a-docker-container-as-a-daemon-with-ansible/17209)

<div class="topic-metadata">

**Author:** [@Dimitrios\_Alexiou](https://forum.ansible.com/u/Dimitrios_Alexiou)\
**Replies:** 1\
**Last updated:** [January 19, 2015, 9:43am UTC](https://forum.ansible.com/t/how-to-run-a-docker-container-as-a-daemon-with-ansible/17209 "2015-01-19T09:43:31Z")

</div>

Hello to everyone, I came across this issue and until now I haven’t found a practical solution. When running normally on my docker host this commad: docker run -d -p 80:80 -v /var/run/docker.sock:/tmp/docker.sock -t da…

---

## [Linking between hosts](https://forum.ansible.com/t/linking-between-hosts/17265)

<div class="topic-metadata">

**Author:** [@louis\_gueye](https://forum.ansible.com/u/louis_gueye)\
**Replies:** 1\
**Last updated:** [January 19, 2015, 9:24am UTC](https://forum.ansible.com/t/linking-between-hosts/17265 "2015-01-19T09:24:30Z")

</div>

Hi all, First I would like to thank Ansible creators and its great community because this tool really simplifies my day to day life. I have the following workflow and I want a piece of advice on Step 3: Step 1: crea…

---

## [Feature: ansible-pull server daemon](https://forum.ansible.com/t/feature-ansible-pull-server-daemon/17305)

<div class="topic-metadata">

**Author:** [@Stavros\_Korokithakis](https://forum.ansible.com/u/Stavros_Korokithakis)\
**Replies:** 3\
**Last updated:** [January 19, 2015, 12:36am UTC](https://forum.ansible.com/t/feature-ansible-pull-server-daemon/17305 "2015-01-19T00:36:17Z")

</div>

I use ansible-pull regularly, and I use 5-minute intervals to check. This is inefficient 99% of the time, where I haven’t committed anything, and slow when i do commit and wait for a deployment. It would be far easier if…

---

## [using Ansible-Vault vars to run local bash scripts](https://forum.ansible.com/t/using-ansible-vault-vars-to-run-local-bash-scripts/17277)

<div class="topic-metadata">

**Author:** [@Nicolas\_G](https://forum.ansible.com/u/Nicolas_G)\
**Replies:** 8\
**Last updated:** [January 18, 2015, 11:11pm UTC](https://forum.ansible.com/t/using-ansible-vault-vars-to-run-local-bash-scripts/17277 "2015-01-18T23:11:18Z")

</div>

Hi, I have a bash script that i would like to run locally using the Ansible shell module , the problem is that want to use some encrypted variables from Ansible-Vault in that bash script but I think for security reasons…

---

## [Add EC2 security group - only if it not already exists](https://forum.ansible.com/t/add-ec2-security-group-only-if-it-not-already-exists/17261)

<div class="topic-metadata">

**Author:** [@Tzach\_Livyatan](https://forum.ansible.com/u/Tzach_Livyatan)\
**Replies:** 6\
**Last updated:** [January 18, 2015, 10:04pm UTC](https://forum.ansible.com/t/add-ec2-security-group-only-if-it-not-already-exists/17261 "2015-01-18T22:04:22Z")

</div>

newbie Ansible ec2 question: I’m successfully using ec2\_group\_module \[1\] to create EC2 security group. However, the operation fail if the group is already there What is the idiomatic to conditionally skip it if the gr…

---

## [tools to run multiple remote ansible servers?](https://forum.ansible.com/t/tools-to-run-multiple-remote-ansible-servers/17300)

<div class="topic-metadata">

**Author:** [@Don\_Jackson1](https://forum.ansible.com/u/Don_Jackson1)\
**Replies:** 0\
**Last updated:** [January 17, 2015, 1:22am UTC](https://forum.ansible.com/t/tools-to-run-multiple-remote-ansible-servers/17300 "2015-01-17T01:22:20Z")

</div>

I have a number of managment servers (each mgmt server manages numerous nearby servers via Ansible) So, now I’d like to control each of these remote management servers on my notebook via Ansible as well… Are there any …

---

## [Would you please support these style hosts config?](https://forum.ansible.com/t/would-you-please-support-these-style-hosts-config/17299)

<div class="topic-metadata">

**Author:** [@zixu\_mo](https://forum.ansible.com/u/zixu_mo)\
**Replies:** 6\
**Last updated:** [January 17, 2015, 12:29am UTC](https://forum.ansible.com/t/would-you-please-support-these-style-hosts-config/17299 "2015-01-17T00:29:35Z")

</div>

Would you please support these style hosts config? cat /etc/ansible/hosts \` \[webserver\] david@node1.18m.myserver.com:30182 smith@109.110.xxx.28 176.120.13.14:3013 \`

---

## [Testing file upload with uri?](https://forum.ansible.com/t/testing-file-upload-with-uri/15363)

<div class="topic-metadata">

**Author:** [@Guy\_Matz1](https://forum.ansible.com/u/Guy_Matz1)\
**Replies:** 9\
**Last updated:** [January 16, 2015, 9:39pm UTC](https://forum.ansible.com/t/testing-file-upload-with-uri/15363 "2015-01-16T21:39:55Z")

</div>

Hi! Anyone know if it’s possible to test the upload of a binary file using the uri module? It doesn’t look like httplib2 has this functionality . . . Thanks, Guy

---

## ["vars:" before "- hosts:"](https://forum.ansible.com/t/vars-before-hosts/17292)

<div class="topic-metadata">

**Author:** [@Adrian\_Paraschiv](https://forum.ansible.com/u/Adrian_Paraschiv)\
**Replies:** 3\
**Last updated:** [January 16, 2015, 6:52pm UTC](https://forum.ansible.com/t/vars-before-hosts/17292 "2015-01-16T18:52:02Z")

</div>

Hello all, Can I do a playbook like this ??

---

## [Can we put /etc/ansible/hosts file in other place?](https://forum.ansible.com/t/can-we-put-etc-ansible-hosts-file-in-other-place/17289)

<div class="topic-metadata">

**Author:** [@zixu\_mo](https://forum.ansible.com/u/zixu_mo)\
**Replies:** 2\
**Last updated:** [January 16, 2015, 4:59pm UTC](https://forum.ansible.com/t/can-we-put-etc-ansible-hosts-file-in-other-place/17289 "2015-01-16T16:59:08Z")

</div>

Can we put /etc/ansible/hosts file in other place? such as /home/tomy/ansible/hosts ? I would not like to run ansible on my pc with root access.

---

## [would like to create zones in ansible route53 module](https://forum.ansible.com/t/would-like-to-create-zones-in-ansible-route53-module/17294)

<div class="topic-metadata">

**Author:** [@Kesten\_Broughton2](https://forum.ansible.com/u/Kesten_Broughton2)\
**Replies:** 0\
**Last updated:** [January 16, 2015, 2:39pm UTC](https://forum.ansible.com/t/would-like-to-create-zones-in-ansible-route53-module/17294 "2015-01-16T14:39:16Z")

</div>

route53 module currently does not allow zone creation. Starting on line 216: Get all the existing hosted zones and save their ID’s | | zones = {} | results = conn.get\_all\_hosted\_zones() | for r53zone in results\[‘L…

---

## [Problem with ansible variables](https://forum.ansible.com/t/problem-with-ansible-variables/17238)

<div class="topic-metadata">

**Author:** [@Adrian\_Paraschiv](https://forum.ansible.com/u/Adrian_Paraschiv)\
**Replies:** 2\
**Last updated:** [January 16, 2015, 12:05pm UTC](https://forum.ansible.com/t/problem-with-ansible-variables/17238 "2015-01-16T12:05:21Z")

</div>

Hello, I have this small playbook and t doesn’t convert veriables:

---

## [Need assist with syntax for EC2 assignment of Elastic IP Address](https://forum.ansible.com/t/need-assist-with-syntax-for-ec2-assignment-of-elastic-ip-address/15025)

<div class="topic-metadata">

**Author:** [@mark\_david\_mcCreary](https://forum.ansible.com/u/mark_david_mcCreary)\
**Replies:** 5\
**Last updated:** [January 16, 2015, 5:51am UTC](https://forum.ansible.com/t/need-assist-with-syntax-for-ec2-assignment-of-elastic-ip-address/15025 "2015-01-16T05:51:50Z")

</div>

I want to finish off an Ansible playbook by assigning a static IP address to it. I want to do this at the end, because I think it takes a few minutes to take effect. Not sure if doing it at the beginning would cause Ansi…

---

## [Task skipping with when condition with multiple groups](https://forum.ansible.com/t/task-skipping-with-when-condition-with-multiple-groups/17288)

<div class="topic-metadata">

**Author:** [@Michael\_Liu1](https://forum.ansible.com/u/Michael_Liu1)\
**Replies:** 3\
**Last updated:** [January 16, 2015, 5:45am UTC](https://forum.ansible.com/t/task-skipping-with-when-condition-with-multiple-groups/17288 "2015-01-16T05:45:45Z")

</div>

Trying to add a ssh key when a inventory\_hostname belong to certain groups. I would assume that the following is saying when inventory\_hostname belongs to group hadoop OR report. when: inventory\_hostname in \[ groups.had…

---

## [Python API with log\_path default set redirects unrelated logs](https://forum.ansible.com/t/python-api-with-log-path-default-set-redirects-unrelated-logs/17290)

<div class="topic-metadata">

**Author:** [@Jason\_Pettett](https://forum.ansible.com/u/Jason_Pettett)\
**Replies:** 0\
**Last updated:** [January 16, 2015, 5:26am UTC](https://forum.ansible.com/t/python-api-with-log-path-default-set-redirects-unrelated-logs/17290 "2015-01-16T05:26:41Z")

</div>

Hello all, I’m running some Ansible commands from within a flask application via the Python API. Ansible version: 1.8.2 Python version: 2.7 In my home directory, I have .ansible.cfg with the following contents: \[de…

---

## [Promlem with : ssh as regular user which has sudo priviledges, and execute tasks as sudo](https://forum.ansible.com/t/promlem-with-ssh-as-regular-user-which-has-sudo-priviledges-and-execute-tasks-as-sudo/17286)

<div class="topic-metadata">

**Author:** [@Dhruvin\_Shah](https://forum.ansible.com/u/Dhruvin_Shah)\
**Replies:** 3\
**Last updated:** [January 16, 2015, 2:03am UTC](https://forum.ansible.com/t/promlem-with-ssh-as-regular-user-which-has-sudo-priviledges-and-execute-tasks-as-sudo/17286 "2015-01-16T02:03:42Z")

</div>

Hi All, I have a situation where, we need to disable the “root” user. and need to make configuration changes to linux servers using a regular(cafe3) user which has sudo privileges. To achieve that, I am ssh in to serve…

---

## [how can I include only parts (or subtasks of a role](https://forum.ansible.com/t/how-can-i-include-only-parts-or-subtasks-of-a-role/17285)

<div class="topic-metadata">

**Author:** [@Peter\_Mooshammer](https://forum.ansible.com/u/Peter_Mooshammer)\
**Replies:** 3\
**Last updated:** [January 15, 2015, 10:51pm UTC](https://forum.ansible.com/t/how-can-i-include-only-parts-or-subtasks-of-a-role/17285 "2015-01-15T22:51:30Z")

</div>

Hi, I have a role that does everything to standup a server on aws - create a network and provision a VM. But sometimes I only want to run only the part that deploys a new server. Currently I simple include these sub-ta…

---

## [no\_log: True being ignored](https://forum.ansible.com/t/no-log-true-being-ignored/17258)

<div class="topic-metadata">

**Author:** [@Tom\_Bamford](https://forum.ansible.com/u/Tom_Bamford)\
**Replies:** 3\
**Last updated:** [January 15, 2015, 8:27pm UTC](https://forum.ansible.com/t/no-log-true-being-ignored/17258 "2015-01-15T20:27:57Z")

</div>

Hi Running Ansible 1.8.2 and I am trying to prevent sensitive information for a task from reaching the log at ANSIBLE\_LOG\_PATH or the console where ansible-playbook is running. My task: - name: Dump database command…

---

## [Use get\_url to download all files in a location](https://forum.ansible.com/t/use-get-url-to-download-all-files-in-a-location/17280)

<div class="topic-metadata">

**Author:** [@Andres\_Silva1](https://forum.ansible.com/u/Andres_Silva1)\
**Replies:** 3\
**Last updated:** [January 15, 2015, 7:52pm UTC](https://forum.ansible.com/t/use-get-url-to-download-all-files-in-a-location/17280 "2015-01-15T19:52:42Z")

</div>

Im writing a playbook to install the latest version of a software. The latest version will always be in a url like this http://www.example.com/software/latest But the files in there will have different names that will ap…

---

## [RFC: remove apache2\_module](https://forum.ansible.com/t/rfc-remove-apache2-module/17278)

<div class="topic-metadata">

**Author:** [@Rene\_Moser](https://forum.ansible.com/u/Rene_Moser)\
**Replies:** 2\
**Last updated:** [January 15, 2015, 6:52pm UTC](https://forum.ansible.com/t/rfc-remove-apache2-module/17278 "2015-01-15T18:52:06Z")

</div>

Hi I want to start a discussion whether the core module apache2\_module should be removed or not, or be moved to extra Why I vote to remove: The functionality of this module is limited to Debian OS family. (does a2enm…

---

## [group\_vars by multiple criteria](https://forum.ansible.com/t/group-vars-by-multiple-criteria/17279)

<div class="topic-metadata">

**Author:** [@Brian\_N](https://forum.ansible.com/u/Brian_N)\
**Replies:** 0\
**Last updated:** [January 15, 2015, 4:10pm UTC](https://forum.ansible.com/t/group-vars-by-multiple-criteria/17279 "2015-01-15T16:10:59Z")

</div>

Hello. I have an interesting scenario that I have been pondering and would like some input from the community. I would like to apply group\_vars to series of servers, that are defined by application roles and also defined…

---

## [Can I do yum localinstall with the yum module?](https://forum.ansible.com/t/can-i-do-yum-localinstall-with-the-yum-module/17275)

<div class="topic-metadata">

**Author:** [@Jim\_McMahon](https://forum.ansible.com/u/Jim_McMahon)\
**Replies:** 2\
**Last updated:** [January 15, 2015, 3:36pm UTC](https://forum.ansible.com/t/can-i-do-yum-localinstall-with-the-yum-module/17275 "2015-01-15T15:36:20Z")

</div>

With the Ansible yum module, can I install an RPM that is local to the server that I’m deploying to? In other words, can I do something like this using ansible, but using the yum module? name: locally install mysql-com…

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

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