# Latest

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

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

**Page:** 918

---

## [ansible simplified logfile?](https://forum.ansible.com/t/ansible-simplified-logfile/16845)

<div class="topic-metadata">

**Author:** [@Pablo\_Escobar](https://forum.ansible.com/u/Pablo_Escobar)\
**Replies:** 0\
**Last updated:** [November 21, 2014, 4:02pm UTC](https://forum.ansible.com/t/ansible-simplified-logfile/16845 "2014-11-21T16:02:23Z")

</div>

Hi I would like to get an ansible simplied log file in the ansible master machine with this format and no further details. DATE | HOST | PATH TO APPLIED PLAYBOOK Ideally I would like to keep another copy of the same l…

---

## [Using tilde (~) in destination for unarchive module](https://forum.ansible.com/t/using-tilde-in-destination-for-unarchive-module/16827)

<div class="topic-metadata">

**Author:** [@cselden](https://forum.ansible.com/u/cselden)\
**Replies:** 6\
**Last updated:** [November 21, 2014, 3:47pm UTC](https://forum.ansible.com/t/using-tilde-in-destination-for-unarchive-module/16827 "2014-11-21T15:47:32Z")

</div>

Hey all, I’m trying to unzip a file into a directory relative to the home directory on a host server. The problem is that when Ansible runs the unarchive module, it replaces the tilde in the variable with master server’…

---

## [ansible registered variable reporting](https://forum.ansible.com/t/ansible-registered-variable-reporting/16842)

<div class="topic-metadata">

**Author:** [@marek\_cervenka](https://forum.ansible.com/u/marek_cervenka)\
**Replies:** 3\
**Last updated:** [November 21, 2014, 3:00pm UTC](https://forum.ansible.com/t/ansible-registered-variable-reporting/16842 "2014-11-21T15:00:27Z")

</div>

hi, i want use ansible as “data miner”. like get information X from 100 hosts and report it to the local file (on ansible host) or export it to the elasticsearch server can you recommend the best way? thanks

---

## [variable scope groups\_vars  overwrides host\_vars?](https://forum.ansible.com/t/variable-scope-groups-vars-overwrides-host-vars/16838)

<div class="topic-metadata">

**Author:** [@Steve\_Kieu](https://forum.ansible.com/u/Steve_Kieu)\
**Replies:** 6\
**Last updated:** [November 21, 2014, 3:09am UTC](https://forum.ansible.com/t/variable-scope-groups-vars-overwrides-host-vars/16838 "2014-11-21T03:09:10Z")

</div>

Hi all, I have read the http://docs.ansible.com/playbooks\_variables.html#variable-precedence-where-should-i-put-a-variable it does nto answer my question. Basically I saw two unexpected (at least common sense speaking)…

---

## ['empty()' Jinja test?](https://forum.ansible.com/t/empty-jinja-test/16837)

<div class="topic-metadata">

**Author:** [@Dimon](https://forum.ansible.com/u/Dimon)\
**Replies:** 2\
**Last updated:** [November 20, 2014, 8:17pm UTC](https://forum.ansible.com/t/empty-jinja-test/16837 "2014-11-20T20:17:20Z")

</div>

Hi, several times now I came across situation where one of the modules returns ‘empty list’ in variable and it would be handy to have a simple test like: {% if foo is empty %} which is not the same as {% if foo is de…

---

## [Best way to retry task with a list of items until successful](https://forum.ansible.com/t/best-way-to-retry-task-with-a-list-of-items-until-successful/16835)

<div class="topic-metadata">

**Author:** [@Pedro\_Romano](https://forum.ansible.com/u/Pedro_Romano)\
**Replies:** 2\
**Last updated:** [November 20, 2014, 7:29pm UTC](https://forum.ansible.com/t/best-way-to-retry-task-with-a-list-of-items-until-successful/16835 "2014-11-20T19:29:19Z")

</div>

For tasks that depend, for example, on remote servers, it would be very useful to be able to retry the task with a list of items for the remote server names until the task was successful. This would enable defining secon…

---

## [Loading facts from json, but not from /etc/ansible/facts.d](https://forum.ansible.com/t/loading-facts-from-json-but-not-from-etc-ansible-facts-d/16836)

<div class="topic-metadata">

**Author:** [@Lorin\_Hochstein](https://forum.ansible.com/u/Lorin_Hochstein)\
**Replies:** 3\
**Last updated:** [November 20, 2014, 7:05pm UTC](https://forum.ansible.com/t/loading-facts-from-json-but-not-from-etc-ansible-facts-d/16836 "2014-11-20T19:05:15Z")

</div>

I’d like to load facts for a host that are defined in a JSON file on the control machine. The json file (along with the playbooks) is in a repo that multiple people can check out, and so I don’t want to require that each…

---

## [paramiko: The authenticity of host can't be established](https://forum.ansible.com/t/paramiko-the-authenticity-of-host-cant-be-established/16818)

<div class="topic-metadata">

**Author:** [@lanz](https://forum.ansible.com/u/lanz)\
**Replies:** 5\
**Last updated:** [November 20, 2014, 6:36pm UTC](https://forum.ansible.com/t/paramiko-the-authenticity-of-host-cant-be-established/16818 "2014-11-20T18:36:54Z")

</div>

ansible v1.7.2, running on RHEL 6.5, x86\_64 Sorry for the newbie question, but I’m just starting out with ansible. I’ve set up the SSH public/private key pairs between the ansible host and a few test boxes; I can now …

---

## [bug in "with\_items" or misunderstanding?](https://forum.ansible.com/t/bug-in-with-items-or-misunderstanding/16829)

<div class="topic-metadata">

**Author:** [@Dimon](https://forum.ansible.com/u/Dimon)\
**Replies:** 3\
**Last updated:** [November 20, 2014, 6:25pm UTC](https://forum.ansible.com/t/bug-in-with-items-or-misunderstanding/16829 "2014-11-20T18:25:29Z")

</div>

I have an inventory of hosts that defines “my\_groups” hash: my\_groups: group1=val1 group2=val2 … Note - it’s a dynamic inventory which in fact produces valid JSON that works otherwise. Then I try to use it to auto-…

---

## [Best Practice Question: Multiple non-overlapping groups for one host - best alternative?](https://forum.ansible.com/t/best-practice-question-multiple-non-overlapping-groups-for-one-host-best-alternative/16832)

<div class="topic-metadata">

**Author:** [@David\_Fritzsche](https://forum.ansible.com/u/David_Fritzsche)\
**Replies:** 3\
**Last updated:** [November 20, 2014, 5:48pm UTC](https://forum.ansible.com/t/best-practice-question-multiple-non-overlapping-groups-for-one-host-best-alternative/16832 "2014-11-20T17:48:22Z")

</div>

Hi all, in the setup I would like to automate with ansible I have mostly servers with distinct purposes and on each server they may be several distinct services/components. The plan is to use ansible to have the confi…

---

## ['copy' operation on remote host?](https://forum.ansible.com/t/copy-operation-on-remote-host/16830)

<div class="topic-metadata">

**Author:** [@John\_Oliver](https://forum.ansible.com/u/John_Oliver)\
**Replies:** 3\
**Last updated:** [November 20, 2014, 12:56pm UTC](https://forum.ansible.com/t/copy-operation-on-remote-host/16830 "2014-11-20T12:56:21Z")

</div>

Is there a way to use the ‘copy’ module, or an equivalent, to copy files from one spot to another on the target host? Right now, I’m trying to use ‘command’ or ‘shell’, but I’m running into issues with unusable choking …

---

## [How to use variable template in shell or command](https://forum.ansible.com/t/how-to-use-variable-template-in-shell-or-command/16819)

<div class="topic-metadata">

**Author:** [@Steve\_Kieu](https://forum.ansible.com/u/Steve_Kieu)\
**Replies:** 2\
**Last updated:** [November 20, 2014, 12:00am UTC](https://forum.ansible.com/t/how-to-use-variable-template-in-shell-or-command/16819 "2014-11-20T00:00:16Z")

</div>

Hi everyone, I want to something like this name: Run the setup script shell: “{{ SITE\_DIR }}”/setup\_jibs.sh creates=“{{ item }}/run\_setup\_jibs\_DO\_NOT\_REMOVE.sh” and yaml complain as it is not valid The first after …

---

## [Method for checking the value of "serial"](https://forum.ansible.com/t/method-for-checking-the-value-of-serial/16815)

<div class="topic-metadata">

**Author:** [@lucky\_numbersevun](https://forum.ansible.com/u/lucky_numbersevun)\
**Replies:** 4\
**Last updated:** [November 19, 2014, 10:56pm UTC](https://forum.ansible.com/t/method-for-checking-the-value-of-serial/16815 "2014-11-19T22:56:01Z")

</div>

Hello, I have a playbook that updates the kernel version on ceph cluster members. Its important that we only do a single service at a time to prevent the OSD from trying to cope with a host when it reboots. I want to …

---

## [msg: Failed to lock apt for exclusive operation](https://forum.ansible.com/t/msg-failed-to-lock-apt-for-exclusive-operation/16756)

<div class="topic-metadata">

**Author:** [@nataliia.mazur](https://forum.ansible.com/u/nataliia.mazur)\
**Replies:** 2\
**Last updated:** [November 19, 2014, 8:43pm UTC](https://forum.ansible.com/t/msg-failed-to-lock-apt-for-exclusive-operation/16756 "2014-11-19T20:43:10Z")

</div>

Hi folks. I try to run such yaml using ansible 1.8 via Web-UI Tower:

---

## [question about the docker module](https://forum.ansible.com/t/question-about-the-docker-module/15036)

<div class="topic-metadata">

**Author:** [@Patrick\_Galbraith](https://forum.ansible.com/u/Patrick_Galbraith)\
**Replies:** 12\
**Last updated:** [November 19, 2014, 6:43pm UTC](https://forum.ansible.com/t/question-about-the-docker-module/15036 "2014-11-19T18:43:44Z")

</div>

Hi all! I have what I think is a simple question. It pertains to what is visible/available in the “docker\_containers” dictionary when running a run book. Ok, so, what’s throwing me off is whether to use one of the foll…

---

## [How to loop over an array inside a dictionary](https://forum.ansible.com/t/how-to-loop-over-an-array-inside-a-dictionary/16814)

<div class="topic-metadata">

**Author:** [@Thomas\_Krahn](https://forum.ansible.com/u/Thomas_Krahn)\
**Replies:** 6\
**Last updated:** [November 19, 2014, 6:06pm UTC](https://forum.ansible.com/t/how-to-loop-over-an-array-inside-a-dictionary/16814 "2014-11-19T18:06:50Z")

</div>

Hi All i’m trying to migrate my Oracle installation from Puppet to Ansible. As i need severyl ORACLE\_HOME on one server i have defned the following dictionary variable: oracle\_app\_directory=/app oracle\_db\_homes: dbho…

---

## [Conditional and include](https://forum.ansible.com/t/conditional-and-include/16828)

<div class="topic-metadata">

**Author:** [@John\_Oliver](https://forum.ansible.com/u/John_Oliver)\
**Replies:** 1\
**Last updated:** [November 19, 2014, 5:50pm UTC](https://forum.ansible.com/t/conditional-and-include/16828 "2014-11-19T17:50:48Z")

</div>

My playbook: name: Get Java version shell: /Library/Internet\\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java -version 2\>&1 | grep ‘^java’ | cut -d’"’ -f2 register: jre\_ver debug: msg=“{{ jre\_ver.stdout }…

---

## [Get EC2 public IP](https://forum.ansible.com/t/get-ec2-public-ip/16813)

<div class="topic-metadata">

**Author:** [@Matthew\_Morgan](https://forum.ansible.com/u/Matthew_Morgan)\
**Replies:** 3\
**Last updated:** [November 19, 2014, 4:59pm UTC](https://forum.ansible.com/t/get-ec2-public-ip/16813 "2014-11-19T16:59:00Z")

</div>

Hello, I’ve run into a situation where I need to define a variable of EC2 public IPs so I can pass them into my cassandra nodes as seeds. The problem being, I don’t know a good way to get the public IPs. I currently us…

---

## [Need help in using set\_fact , playbook runs fine , facts not set , no errors](https://forum.ansible.com/t/need-help-in-using-set-fact-playbook-runs-fine-facts-not-set-no-errors/16822)

<div class="topic-metadata">

**Author:** [@Marc\_Roelofs](https://forum.ansible.com/u/Marc_Roelofs)\
**Replies:** 1\
**Last updated:** [November 19, 2014, 3:30pm UTC](https://forum.ansible.com/t/need-help-in-using-set-fact-playbook-runs-fine-facts-not-set-no-errors/16822 "2014-11-19T15:30:59Z")

</div>

Hi Group, I am trying to add some basic facts to a system but nothing seems to work. My goal is to add a simple fact like the type of the server and the main application running on it to be set Type of server can be w…

---

## [run handlers at](https://forum.ansible.com/t/run-handlers-at/16821)

<div class="topic-metadata">

**Author:** [@ahaitoute](https://forum.ansible.com/u/ahaitoute)\
**Replies:** 1\
**Last updated:** [November 19, 2014, 3:00pm UTC](https://forum.ansible.com/t/run-handlers-at/16821 "2014-11-19T15:00:18Z")

</div>

Hello, In the following paragraph http://docs.ansible.com/playbooks\_best\_practices.html#task-and-handler-organization-for-a-role it says: “…handlers are only fired when certain tasks report changes, and are run at the …

---

## [How to define "all hosts but first in a group"?](https://forum.ansible.com/t/how-to-define-all-hosts-but-first-in-a-group/16820)

<div class="topic-metadata">

**Author:** [@t\_goto](https://forum.ansible.com/u/t_goto)\
**Replies:** 4\
**Last updated:** [November 19, 2014, 2:48pm UTC](https://forum.ansible.com/t/how-to-define-all-hosts-but-first-in-a-group/16820 "2014-11-19T14:48:15Z")

</div>

Hello, Ansible experts. I’m stuck with this and I need help. I have several servers in a group in inventory file. \[webservers\] web1 web2 web3 web4 . . And I want to do some tasks to all hosts except first one in webs…

---

## [next version?](https://forum.ansible.com/t/next-version/16809)

<div class="topic-metadata">

**Author:** [@Yves\_Dorfsman](https://forum.ansible.com/u/Yves_Dorfsman)\
**Replies:** 2\
**Last updated:** [November 19, 2014, 2:29pm UTC](https://forum.ansible.com/t/next-version/16809 "2014-11-19T14:29:55Z")

</div>

What will the next version of ansible be? 1.8? Asking to be able to add go documentation (add in version x). Thanks.

---

## [stat path meta character and register best practice](https://forum.ansible.com/t/stat-path-meta-character-and-register-best-practice/16793)

<div class="topic-metadata">

**Author:** [@faust](https://forum.ansible.com/u/faust)\
**Replies:** 3\
**Last updated:** [November 19, 2014, 1:59pm UTC](https://forum.ansible.com/t/stat-path-meta-character-and-register-best-practice/16793 "2014-11-19T13:59:06Z")

</div>

Hi, is it possible to use the stat module with meta characters: \` stat: path=/etc/rc2.d/S\*init\_script.sh register: i debug: msg=“Path is a simlink” when: i.stat.islnk \` Or what is the elegant way of doing t…

---

## [ERROR: set\_fact is not a legal parameter in an Ansible task or handler](https://forum.ansible.com/t/error-set-fact-is-not-a-legal-parameter-in-an-ansible-task-or-handler/16825)

<div class="topic-metadata">

**Author:** [@Nico\_K](https://forum.ansible.com/u/Nico_K)\
**Replies:** 1\
**Last updated:** [November 19, 2014, 1:13pm UTC](https://forum.ansible.com/t/error-set-fact-is-not-a-legal-parameter-in-an-ansible-task-or-handler/16825 "2014-11-19T13:13:21Z")

</div>

Hi, I just updated my ansible environment to the latest version, however my playbooks now no longer run. When trying to run it I get: “ERROR: set\_fact is not a legal parameter in an Ansible task or handler”. This ‘set…

---

## [integration tests; make non\_destructive; specifying sudo password](https://forum.ansible.com/t/integration-tests-make-non-destructive-specifying-sudo-password/16749)

<div class="topic-metadata">

**Author:** [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Replies:** 4\
**Last updated:** [November 19, 2014, 1:06pm UTC](https://forum.ansible.com/t/integration-tests-make-non-destructive-specifying-sudo-password/16749 "2014-11-19T13:06:13Z")

</div>

Hello, How do I specify a sudo password for when I am running the integration tests? Jon

---

## [ERROR: glance\_image is not a legal parameter in an Ansible Playbook](https://forum.ansible.com/t/error-glance-image-is-not-a-legal-parameter-in-an-ansible-playbook/16824)

<div class="topic-metadata">

**Author:** [@Vijay\_Prasad\_N](https://forum.ansible.com/u/Vijay_Prasad_N)\
**Replies:** 0\
**Last updated:** [November 19, 2014, 11:49am UTC](https://forum.ansible.com/t/error-glance-image-is-not-a-legal-parameter-in-an-ansible-playbook/16824 "2014-11-19T11:49:35Z")

</div>

Hello All, I am trying to use the glance\_image plugin and keep on getting: ERROR: glance\_image is not a legal parameter in an Ansible Playbook I am able to see glance\_image under /usr/share/ansible/cloud/. I am using …

---

## [ERROR: glance\_image is not a legal parameter in an Ansible Playbook](https://forum.ansible.com/t/error-glance-image-is-not-a-legal-parameter-in-an-ansible-playbook/16823)

<div class="topic-metadata">

**Author:** [@Vijay\_Prasad\_N](https://forum.ansible.com/u/Vijay_Prasad_N)\
**Replies:** 0\
**Last updated:** [November 19, 2014, 10:55am UTC](https://forum.ansible.com/t/error-glance-image-is-not-a-legal-parameter-in-an-ansible-playbook/16823 "2014-11-19T10:55:44Z")

</div>

I am very new to Ansible,I am just trying to add an image to openstack using Ansible,so created a yml file with below input. glance\_image: login\_username= login\_password= login\_tenant\_name= name=vivid container\_for…

---

## [duplicate role execution with role denpendencies](https://forum.ansible.com/t/duplicate-role-execution-with-role-denpendencies/16816)

<div class="topic-metadata">

**Author:** [@Daniel\_Wendler](https://forum.ansible.com/u/Daniel_Wendler)\
**Replies:** 1\
**Last updated:** [November 19, 2014, 12:47am UTC](https://forum.ansible.com/t/duplicate-role-execution-with-role-denpendencies/16816 "2014-11-19T00:47:28Z")

</div>

Hello, today i try to split our grown ansible roles in more simple roles. After do some work i realize that after rewrite and set some dependencies in our roles, some roles got executed multiple times. So i google a b…

---

## [New feature survey - your thoughts wanted!](https://forum.ansible.com/t/new-feature-survey-your-thoughts-wanted/16817)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Replies:** 0\
**Last updated:** [November 18, 2014, 10:12pm UTC](https://forum.ansible.com/t/new-feature-survey-your-thoughts-wanted/16817 "2014-11-18T22:12:23Z")

</div>

Hi all, We have a new survey posted requesting some info about some new features that may be coming in Ansible and/or Tower. Questions involve, specifically Baremetal and datacenter management IT compliance State of …

---

## [ec2 module "unsupported parameter for module: volumes"](https://forum.ansible.com/t/ec2-module-unsupported-parameter-for-module-volumes/16811)

<div class="topic-metadata">

**Author:** [@Yves\_Dorfsman](https://forum.ansible.com/u/Yves_Dorfsman)\
**Replies:** 1\
**Last updated:** [November 18, 2014, 9:34pm UTC](https://forum.ansible.com/t/ec2-module-unsupported-parameter-for-module-volumes/16811 "2014-11-18T21:34:06Z")

</div>

Ansible 1.7.2, If I follow the example that include module, I am getting: msg: unsupported parameter for module: volumes It works with the devel (future 1.8), but what it puzzles me that it's in the documentation …

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

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