# Latest

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

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

**Page:** 1007

---

## [Monitoring long-running tasks](https://forum.ansible.com/t/monitoring-long-running-tasks/14060)

<div class="topic-metadata">

**Author:** [@Brian\_Candler](https://forum.ansible.com/u/Brian_Candler)\
**Replies:** 2\
**Last updated:** [December 4, 2013, 6:02pm UTC](https://forum.ansible.com/t/monitoring-long-running-tasks/14060 "2013-12-04T18:02:20Z")

</div>

Just throwing this out for ideas - it may yet turn into a feature request ticket. I plan to use the Ansible API to manage some infrastructure, but some of the tasks will take several hours to complete: in particular, co…

---

## [Ansible hanging without exiting after executing commands for a host group](https://forum.ansible.com/t/ansible-hanging-without-exiting-after-executing-commands-for-a-host-group/14057)

<div class="topic-metadata">

**Author:** [@Nitin](https://forum.ansible.com/u/Nitin)\
**Replies:** 1\
**Last updated:** [December 4, 2013, 5:54pm UTC](https://forum.ansible.com/t/ansible-hanging-without-exiting-after-executing-commands-for-a-host-group/14057 "2013-12-04T17:54:17Z")

</div>

Hi, I am able to execute commands on remote hosts when i am just specifying one. But if I am running a command on host group after executing the command on all hosts and giving the output, it hangs with exiting. I have …

---

## [variable for the user running ansible-playbook on the control machine](https://forum.ansible.com/t/variable-for-the-user-running-ansible-playbook-on-the-control-machine/14061)

<div class="topic-metadata">

**Author:** [@Jerome\_Wagner](https://forum.ansible.com/u/Jerome_Wagner)\
**Replies:** 0\
**Last updated:** [December 4, 2013, 5:54pm UTC](https://forum.ansible.com/t/variable-for-the-user-running-ansible-playbook-on-the-control-machine/14061 "2013-12-04T17:54:07Z")

</div>

Hello, I may have missed something, but is there a variable like {{ ansible\_control\_user }} that interpolates to the current user that is executing the ansible-playbook command ? thanks Jerome

---

## [ec2 module failure for specific instance types](https://forum.ansible.com/t/ec2-module-failure-for-specific-instance-types/14058)

<div class="topic-metadata">

**Author:** [@cpatanaik](https://forum.ansible.com/u/cpatanaik)\
**Replies:** 1\
**Last updated:** [December 4, 2013, 2:17pm UTC](https://forum.ansible.com/t/ec2-module-failure-for-specific-instance-types/14058 "2013-12-04T14:17:06Z")

</div>

Hi, I was trying to create an ec2 instance with instance type “cg1.4xlarge” or “8x.large” and image as “bitnami ubuntu13.04 32-bit”. I called my playbook inside from a python script as follows. import sys from subproc…

---

## [credentials problem when running ansible-pull from cron](https://forum.ansible.com/t/credentials-problem-when-running-ansible-pull-from-cron/14034)

<div class="topic-metadata">

**Author:** [@Nicolas\_G](https://forum.ansible.com/u/Nicolas_G)\
**Replies:** 3\
**Last updated:** [December 4, 2013, 1:53pm UTC](https://forum.ansible.com/t/credentials-problem-when-running-ansible-pull-from-cron/14034 "2013-12-04T13:53:12Z")

</div>

Hi All, This is a simple playbook I have to test the S3 module which is working fine but I’m having problems when I run the same in pull mode from cron: s3example.yml

---

## [How to override nested variables?](https://forum.ansible.com/t/how-to-override-nested-variables/14040)

<div class="topic-metadata">

**Author:** [@eric2](https://forum.ansible.com/u/eric2)\
**Replies:** 7\
**Last updated:** [December 4, 2013, 11:23am UTC](https://forum.ansible.com/t/how-to-override-nested-variables/14040 "2013-12-04T11:23:18Z")

</div>

Hi folks, I created a role with default variables using a nested syntax and not I’d like to override just a few of those attributes in the playbook, but whenever I do it I end up redefining the entire variable na loosin…

---

## [intermittent md5sum warning with no associated error message](https://forum.ansible.com/t/intermittent-md5sum-warning-with-no-associated-error-message/14047)

<div class="topic-metadata">

**Author:** [@mike5](https://forum.ansible.com/u/mike5)\
**Replies:** 6\
**Last updated:** [December 4, 2013, 1:39am UTC](https://forum.ansible.com/t/intermittent-md5sum-warning-with-no-associated-error-message/14047 "2013-12-04T01:39:37Z")

</div>

I get this message off and on. There isn’t any error that I can see, so I’m unsure why this is complaining. Many other tasks in the playbook work fine, even in the same run. Any idea what causes this? TASK: \[fix grub\] …

---

## [Similar external inventory to puppet hiera](https://forum.ansible.com/t/similar-external-inventory-to-puppet-hiera/14055)

<div class="topic-metadata">

**Author:** [@Patrick\_Heeney](https://forum.ansible.com/u/Patrick_Heeney)\
**Replies:** 1\
**Last updated:** [December 4, 2013, 1:17am UTC](https://forum.ansible.com/t/similar-external-inventory-to-puppet-hiera/14055 "2013-12-04T01:17:49Z")

</div>

Hello all, I just discovered ansible recently and I can’t seem to find any documentation on accessing data similar to puppet hiera. My project currently builds a vagrant development box using puppet based on a bunch of …

---

## [Rename item variable with with\_items (or, how to set arbitrary variables when calling the template module)](https://forum.ansible.com/t/rename-item-variable-with-with-items-or-how-to-set-arbitrary-variables-when-calling-the-template-module/14053)

<div class="topic-metadata">

**Author:** [@Miguel\_Pontes](https://forum.ansible.com/u/Miguel_Pontes)\
**Replies:** 1\
**Last updated:** [December 3, 2013, 8:37pm UTC](https://forum.ansible.com/t/rename-item-variable-with-with-items-or-how-to-set-arbitrary-variables-when-calling-the-template-module/14053 "2013-12-03T20:37:16Z")

</div>

Hello, I’m trying to figure out how to loop over a variable with with\_items and pass it to the template module with a different name other than item. The issue is that I don’t want to refer to {{ item }}, {{ item.host …

---

## [include\_vars variables persist across plays ?](https://forum.ansible.com/t/include-vars-variables-persist-across-plays/14052)

<div class="topic-metadata">

**Author:** [@Renaud\_Guerin](https://forum.ansible.com/u/Renaud_Guerin)\
**Replies:** 0\
**Last updated:** [December 3, 2013, 3:37pm UTC](https://forum.ansible.com/t/include-vars-variables-persist-across-plays/14052 "2013-12-03T15:37:28Z")

</div>

Hi, I have set ansible\_ssh\_host to a default value in my inventory. Under some circumstances inside a role, I’ll use include\_vars to override it with something else. Later in the playbook, in a different play, I’m cal…

---

## [Solaris modules](https://forum.ansible.com/t/solaris-modules/14050)

<div class="topic-metadata">

**Author:** [@Paul\_Markham](https://forum.ansible.com/u/Paul_Markham)\
**Replies:** 0\
**Last updated:** [December 3, 2013, 7:43am UTC](https://forum.ansible.com/t/solaris-modules/14050 "2013-12-03T07:43:52Z")

</div>

Guys, I’ve written two modules to make Ansible work better on Solaris. A zone module to create and delete Solaris zones (pull request already submitted). A filesystem mount module; the Ansible mount module doesn’t wor…

---

## [Accessing variables of other hosts does not work (for me) on 1.4](https://forum.ansible.com/t/accessing-variables-of-other-hosts-does-not-work-for-me-on-1-4/14045)

<div class="topic-metadata">

**Author:** [@Steven\_Truong](https://forum.ansible.com/u/Steven_Truong)\
**Replies:** 4\
**Last updated:** [December 3, 2013, 4:04am UTC](https://forum.ansible.com/t/accessing-variables-of-other-hosts-does-not-work-for-me-on-1-4/14045 "2013-12-03T04:04:14Z")

</div>

Hi all, Using the info from the document, I tried this but this totally does not work. I tried a few different varibles such as ansible\_ipv4 and nothing seemed to work. {% for host in groups\[‘iad2-ads’\] %} server {{ i…

---

## ["local\_action: command rsync  -a"](https://forum.ansible.com/t/local-action-command-rsync-a/14048)

<div class="topic-metadata">

**Author:** [@Steven\_Truong](https://forum.ansible.com/u/Steven_Truong)\
**Replies:** 1\
**Last updated:** [December 3, 2013, 3:47am UTC](https://forum.ansible.com/t/local-action-command-rsync-a/14048 "2013-12-03T03:47:20Z")

</div>

Hi all, I have around 120 hosts to push out this much of data in two directories: du -hs bin conf/ 308K bin 16K conf/ The strange thing is that this take a long long time and it even stucked and then “At times” migh…

---

## [Tags inside role, working?](https://forum.ansible.com/t/tags-inside-role-working/14044)

<div class="topic-metadata">

**Author:** [@Eduardo\_Roldan](https://forum.ansible.com/u/Eduardo_Roldan)\
**Replies:** 1\
**Last updated:** [December 3, 2013, 3:44am UTC](https://forum.ansible.com/t/tags-inside-role-working/14044 "2013-12-03T03:44:10Z")

</div>

I’m trying to use role tags with ansible 1.4.1 but they do not seem to work. Any clue? #file ex.yml

---

## [Reboot](https://forum.ansible.com/t/reboot/13999)

<div class="topic-metadata">

**Author:** [@Mathias\_Bogaert](https://forum.ansible.com/u/Mathias_Bogaert)\
**Replies:** 10\
**Last updated:** [December 2, 2013, 7:50pm UTC](https://forum.ansible.com/t/reboot/13999 "2013-12-02T19:50:38Z")

</div>

Hi, Using Ansible 1.3, the following worked: name: reboot after bonding the interfaces shell: sleep 2s && /sbin/reboot & name: wait for the server to go down (reboot) local\_action: wait\_for host={{ inventory\_hos…

---

## [conditional question](https://forum.ansible.com/t/conditional-question/14037)

<div class="topic-metadata">

**Author:** [@lstask](https://forum.ansible.com/u/lstask)\
**Replies:** 4\
**Last updated:** [December 2, 2013, 7:28pm UTC](https://forum.ansible.com/t/conditional-question/14037 "2013-12-02T19:28:29Z")

</div>

Hi, Is there a recommended way to set the value of a var based on remote machine architecture? i.e., i’d like to download file A on x86\_64 and file B on i386. Normally, I would use the ‘where’ clause, but this variable…

---

## [Set-theoretic approach to host inventory - fail. Any way out?](https://forum.ansible.com/t/set-theoretic-approach-to-host-inventory-fail-any-way-out/14003)

<div class="topic-metadata">

**Author:** [@Paul\_Sokolovsky](https://forum.ansible.com/u/Paul_Sokolovsky)\
**Replies:** 10\
**Last updated:** [December 2, 2013, 6:25pm UTC](https://forum.ansible.com/t/set-theoretic-approach-to-host-inventory-fail-any-way-out/14003 "2013-12-02T18:25:58Z")

</div>

Hello, I'm trying to encode following host schedule into Ansible inventory: 1. There're multiple distinct services. 2. Each service is implemented by production host, staging host, and unlimited number of (on-demand)…

---

## [local\_action: synchronize not working as expected](https://forum.ansible.com/t/local-action-synchronize-not-working-as-expected/14042)

<div class="topic-metadata">

**Author:** [@Oliver\_Heinz](https://forum.ansible.com/u/Oliver_Heinz)\
**Replies:** 0\
**Last updated:** [December 2, 2013, 3:28pm UTC](https://forum.ansible.com/t/local-action-synchronize-not-working-as-expected/14042 "2013-12-02T15:28:59Z")

</div>

Is it just my fault or a bug worth filing at github? Synchronize module tries to push the files to the remote host even if it I try to do a local copy as seen on ansible docs: # Synchronization of two paths both on the…

---

## [loading ini style facts for user settings](https://forum.ansible.com/t/loading-ini-style-facts-for-user-settings/14038)

<div class="topic-metadata">

**Author:** [@Kesten\_Broughton2](https://forum.ansible.com/u/Kesten_Broughton2)\
**Replies:** 2\
**Last updated:** [December 2, 2013, 3:01pm UTC](https://forum.ansible.com/t/loading-ini-style-facts-for-user-settings/14038 "2013-12-02T15:01:23Z")

</div>

I’m trying to work out a system that will accommodate user specific settings for things like credentials (using vault) and user specific facts. I’d like to be able to load .yml and .ini style. I use --start-at-task a lo…

---

## [Problem: Installing Postgresql on Ubuntu 12.04 via ansible](https://forum.ansible.com/t/problem-installing-postgresql-on-ubuntu-12-04-via-ansible/13953)

<div class="topic-metadata">

**Author:** [@Patrick\_Craston](https://forum.ansible.com/u/Patrick_Craston)\
**Replies:** 7\
**Last updated:** [December 2, 2013, 2:39pm UTC](https://forum.ansible.com/t/problem-installing-postgresql-on-ubuntu-12-04-via-ansible/13953 "2013-12-02T14:39:20Z")

</div>

Hi I’m encountering an odd issue while installing Postgresql server 9.1 on a blank Ubuntu 12.04 machine using ansible. My playbook has the following simple task: name: Install postgresql apt: pkg=postgresql state=pr…

---

## [Playbook style reminder: whitespace is your friend!](https://forum.ansible.com/t/playbook-style-reminder-whitespace-is-your-friend/14041)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 0\
**Last updated:** [December 2, 2013, 1:29pm UTC](https://forum.ansible.com/t/playbook-style-reminder-whitespace-is-your-friend/14041 "2013-12-02T13:29:03Z")

</div>

I’ve noticed a lot of examples on the internet like this: hosts: blarg tasks: name: aaaaa foo: aaaaaa name: bbbbb foo: bbbb handlers: name: ccccc cccc: dddd hosts: blarg2 tasks: … To which, I’ll say, this is mak…

---

## [ssh performance - follow up](https://forum.ansible.com/t/ssh-performance-follow-up/14028)

<div class="topic-metadata">

**Author:** [@Jerome\_Wagner](https://forum.ansible.com/u/Jerome_Wagner)\
**Replies:** 23\
**Last updated:** [December 1, 2013, 11:48pm UTC](https://forum.ansible.com/t/ssh-performance-follow-up/14028 "2013-12-01T23:48:15Z")

</div>

Hello, I mentioned on “ansible project” that I had difficulties with the performance of ansible on my “network”. In fact, I try to use ansible on a set of remote machines that are not hosted by the same provider. The s…

---

## [How to specify host file via playbook?](https://forum.ansible.com/t/how-to-specify-host-file-via-playbook/12544)

<div class="topic-metadata">

**Author:** [@benno\_joy](https://forum.ansible.com/u/benno_joy)\
**Replies:** 10\
**Last updated:** [December 1, 2013, 7:45pm UTC](https://forum.ansible.com/t/how-to-specify-host-file-via-playbook/12544 "2013-12-01T19:45:06Z")

</div>

Hi Samnang, You can use ansible-playbook -i hosts abc.yml to specify your inventory file. you can also have a look at https://github.com/ansible/ansible-examples for some examples.

---

## [Tricky shell syntax error](https://forum.ansible.com/t/tricky-shell-syntax-error/14036)

<div class="topic-metadata">

**Author:** [@Steven\_Haddox](https://forum.ansible.com/u/Steven_Haddox)\
**Replies:** 8\
**Last updated:** [December 1, 2013, 6:12pm UTC](https://forum.ansible.com/t/tricky-shell-syntax-error/14036 "2013-12-01T18:12:01Z")

</div>

I’m trying to run a task that invokes bash as part of the task. The command works directly from the user’s command line on the box but fails when run via Ansible: Here’s the task that’s running: name: Install User RVM…

---

## [include\_vars in roles not working](https://forum.ansible.com/t/include-vars-in-roles-not-working/14025)

<div class="topic-metadata">

**Author:** [@Anand\_Buddhdev2](https://forum.ansible.com/u/Anand_Buddhdev2)\
**Replies:** 15\
**Last updated:** [December 1, 2013, 5:51pm UTC](https://forum.ansible.com/t/include-vars-in-roles-not-working/14025 "2013-12-01T17:51:55Z")

</div>

Hi people, I’m on ansible 1.4.1, and trying to use include\_vars: for a role called “firewall”. I have: firewall/tasks/main.yml, which starts with:

---

## [reffering variables inside vars.yml](https://forum.ansible.com/t/reffering-variables-inside-vars-yml/14026)

<div class="topic-metadata">

**Author:** [@Frank3](https://forum.ansible.com/u/Frank3)\
**Replies:** 2\
**Last updated:** [December 1, 2013, 1:57pm UTC](https://forum.ansible.com/t/reffering-variables-inside-vars-yml/14026 "2013-12-01T13:57:10Z")

</div>

I guys, ansible newbie here… I’ve read how to refere variables inside vars.yml file here: http://www.ansibleworks.com/docs/YAMLSyntax.html foo: 1 foo\_value: {{ foo }} then under my playbook.yml load vars.yml with va…

---

## [Variable syntax warning in ansible 1.4.1](https://forum.ansible.com/t/variable-syntax-warning-in-ansible-1-4-1/14035)

<div class="topic-metadata">

**Author:** [@Anand\_Buddhdev2](https://forum.ansible.com/u/Anand_Buddhdev2)\
**Replies:** 2\
**Last updated:** [November 29, 2013, 10:19pm UTC](https://forum.ansible.com/t/variable-syntax-warning-in-ansible-1-4-1/14035 "2013-11-29T22:19:14Z")

</div>

All my playbook runs are now emitting this warning at the start: \[WARNING\]: It is unneccessary to use ‘{{’ in loops, leave variables in loop expressions bare. However, my playbook is quite large, and includes several …

---

## [is there a way for a task to know if playbook is running in check-mode?](https://forum.ansible.com/t/is-there-a-way-for-a-task-to-know-if-playbook-is-running-in-check-mode/14030)

<div class="topic-metadata">

**Author:** [@eric2](https://forum.ansible.com/u/eric2)\
**Replies:** 1\
**Last updated:** [November 29, 2013, 4:15pm UTC](https://forum.ansible.com/t/is-there-a-way-for-a-task-to-know-if-playbook-is-running-in-check-mode/14030 "2013-11-29T16:15:51Z")

</div>

Hi people, Some modules when running in check-mode still raising errors in certain conditions. For example, the service module fails when the service is not found, which is usually installed in a previous task on the pl…

---

## [idea - cascading ansible](https://forum.ansible.com/t/idea-cascading-ansible/14033)

<div class="topic-metadata">

**Author:** [@Jerome\_Wagner](https://forum.ansible.com/u/Jerome_Wagner)\
**Replies:** 1\
**Last updated:** [November 29, 2013, 3:51pm UTC](https://forum.ansible.com/t/idea-cascading-ansible/14033 "2013-11-29T15:51:42Z")

</div>

Hello, Just a thought for a future development and it maybe has already been discussed. It could be interesting if ansible had a module to : start a playbook on another machine (launch ansible on that machine with ar…

---

## [install F-Secure](https://forum.ansible.com/t/install-f-secure/14024)

<div class="topic-metadata">

**Author:** [@Marc\_Patermann](https://forum.ansible.com/u/Marc_Patermann)\
**Replies:** 2\
**Last updated:** [November 29, 2013, 2:06pm UTC](https://forum.ansible.com/t/install-f-secure/14024 "2013-11-29T14:06:44Z")

</div>

Hi, I have to install F-Secure. It comes as a single file script/BLOB which installs RPMs and does stuff - and is a real pain ... I need the install script f-secure-linux-security-9.20.2520 at the remote machine. T…

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

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