# Latest

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

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

**Page:** 940

---

## [Syntax Error while loading YAML script, cron.yml](https://forum.ansible.com/t/syntax-error-while-loading-yaml-script-cron-yml/16141)

<div class="topic-metadata">

**Author:** [@Chris\_Olido](https://forum.ansible.com/u/Chris_Olido)\
**Replies:** 1\
**Last updated:** [September 8, 2014, 1:21pm UTC](https://forum.ansible.com/t/syntax-error-while-loading-yaml-script-cron-yml/16141 "2014-09-08T13:21:53Z")

</div>

I am creating a cron playbook, my code is as follow. Creates an entry like “\* 5,2 \* \* ls -alh \> /dev/null” cron: name=“daily\_stats” hour=“\* 12 \* \* \*” job=“/home/ec2-user/send\_report\_stats.sh” and change to Creates a…

---

## [Progress bars](https://forum.ansible.com/t/progress-bars/16130)

<div class="topic-metadata">

**Author:** [@Jason\_Harris](https://forum.ansible.com/u/Jason_Harris)\
**Replies:** 10\
**Last updated:** [September 8, 2014, 12:54pm UTC](https://forum.ansible.com/t/progress-bars/16130 "2014-09-08T12:54:47Z")

</div>

Hi, I just wanted to bring up progress bars again and monitoring of long running tasks. There is something approaching 50 +1’s to the bug report / request https://github.com/ansible/ansible/issues/3887 It would be rea…

---

## [Register var is var|succes when it was skipped (check\_mode)](https://forum.ansible.com/t/register-var-is-var-succes-when-it-was-skipped-check-mode/16067)

<div class="topic-metadata">

**Author:** [@Rene\_Moser](https://forum.ansible.com/u/Rene_Moser)\
**Replies:** 4\
**Last updated:** [September 8, 2014, 6:41am UTC](https://forum.ansible.com/t/register-var-is-var-succes-when-it-was-skipped-check-mode/16067 "2014-09-08T06:41:13Z")

</div>

Hi I recently created a bug report https://github.com/ansible/ansible/issues/8753 for this unexpected behaviour which was closed. While it is not a big “deal” to fix it using always\_run in the command task. I still thi…

---

## [Overriding Role variables using vars\_files](https://forum.ansible.com/t/overriding-role-variables-using-vars-files/16139)

<div class="topic-metadata">

**Author:** [@Mike\_Bell](https://forum.ansible.com/u/Mike_Bell)\
**Replies:** 1\
**Last updated:** [September 7, 2014, 10:30pm UTC](https://forum.ansible.com/t/overriding-role-variables-using-vars-files/16139 "2014-09-07T22:30:53Z")

</div>

Hi, I’m trying to override some default variables in a rolebook that I’m using from ansible galaxy. In my playbook I have the following: \`

---

## [ssh failing for a newly created EC2 instances](https://forum.ansible.com/t/ssh-failing-for-a-newly-created-ec2-instances/13731)

<div class="topic-metadata">

**Author:** [@Soumya\_Simanta](https://forum.ansible.com/u/Soumya_Simanta)\
**Replies:** 17\
**Last updated:** [September 7, 2014, 8:30pm UTC](https://forum.ansible.com/t/ssh-failing-for-a-newly-created-ec2-instances/13731 "2014-09-07T20:30:51Z")

</div>

My apologies for posting this as a new question but I’m doing it because I think it’s a separate question. My understanding is that the newly launched EC2 instances are added to an in-memory host group. And since I’m pas…

---

## [Ansible and Unifying all the Security Projects - new "lockdown" project in github](https://forum.ansible.com/t/ansible-and-unifying-all-the-security-projects-new-lockdown-project-in-github/15993)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Replies:** 3\
**Last updated:** [September 7, 2014, 6:29pm UTC](https://forum.ansible.com/t/ansible-and-unifying-all-the-security-projects-new-lockdown-project-in-github/15993 "2014-09-07T18:29:30Z")

</div>

Hi all, Recently there’s been some nice activity around securification (it’s a word) around systems with Ansible. We believe this is a great thing for a couple of reasons - (A) ansible makes conditional application sup…

---

## [How can I create a path variable containing a timestamp?](https://forum.ansible.com/t/how-can-i-create-a-path-variable-containing-a-timestamp/12553)

<div class="topic-metadata">

**Author:** [@Clifford\_Sanders](https://forum.ansible.com/u/Clifford_Sanders)\
**Replies:** 16\
**Last updated:** [September 7, 2014, 5:07pm UTC](https://forum.ansible.com/t/how-can-i-create-a-path-variable-containing-a-timestamp/12553 "2014-09-07T17:07:19Z")

</div>

Hi, I’m trying to create something like: vars: path\_to\_somewhere: /home/somewhere/${timestamp}/foo the timestamp format should be like the output of ‘date +%Y%m%d%H%M%S’ → 20130321164525 Is this possible? Thank you …

---

## [Several host merge hierarchically](https://forum.ansible.com/t/several-host-merge-hierarchically/16137)

<div class="topic-metadata">

**Author:** [@Javier\_Domingo\_Cansi](https://forum.ansible.com/u/Javier_Domingo_Cansi)\
**Replies:** 1\
**Last updated:** [September 7, 2014, 12:35pm UTC](https://forum.ansible.com/t/several-host-merge-hierarchically/16137 "2014-09-07T12:35:56Z")

</div>

Hello, I have developed a role that uses group\_vars/all (usually) and very defined scope. Manage access to root user in several machines\[1\]. While developing it, I have realized that when I specify a site.yml like the …

---

## [Windows; support for active directory or domain users; please test](https://forum.ansible.com/t/windows-support-for-active-directory-or-domain-users-please-test/16136)

<div class="topic-metadata">

**Author:** [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Replies:** 1\
**Last updated:** [September 7, 2014, 12:30pm UTC](https://forum.ansible.com/t/windows-support-for-active-directory-or-domain-users-please-test/16136 "2014-09-07T12:30:19Z")

</div>

Hi, I have just pushed https://github.com/ansible/ansible/pull/8914 to tackle this. If anyone else is interested in this, please could you give it a try so I can make the setup instructions as good as possible. Many t…

---

## [Public Image around Ansible + Windows](https://forum.ansible.com/t/public-image-around-ansible-windows/16090)

<div class="topic-metadata">

**Author:** [@Damon\_Overboe](https://forum.ansible.com/u/Damon_Overboe)\
**Replies:** 2\
**Last updated:** [September 7, 2014, 6:34am UTC](https://forum.ansible.com/t/public-image-around-ansible-windows/16090 "2014-09-07T06:34:11Z")

</div>

I posted up how to resolve the workaround on Twitter & my blog for the StackOverflows and Out of Memory issues I was facing with Windows + Ansible. It was a tip from Chris Church, pointing me to this topic: https://gith…

---

## [Using facts from all systems](https://forum.ansible.com/t/using-facts-from-all-systems/16133)

<div class="topic-metadata">

**Author:** [@Matt\_Hughes](https://forum.ansible.com/u/Matt_Hughes)\
**Replies:** 4\
**Last updated:** [September 6, 2014, 6:52pm UTC](https://forum.ansible.com/t/using-facts-from-all-systems/16133 "2014-09-06T18:52:55Z")

</div>

As far as I understand it, fact variables are exposed for the current server that Ansible is operating on. So if I say: {{ ansible\_default\_ipv4.address }}, that is going to get evaluated for each host as I perform some o…

---

## [Set vars for template from task](https://forum.ansible.com/t/set-vars-for-template-from-task/16095)

<div class="topic-metadata">

**Author:** [@anatoly\_techtonik](https://forum.ansible.com/u/anatoly_techtonik)\
**Replies:** 11\
**Last updated:** [September 6, 2014, 6:17am UTC](https://forum.ansible.com/t/set-vars-for-template-from-task/16095 "2014-09-06T06:17:16Z")

</div>

Hi, I need to set values for variable per task. Is it possible at all in Ansible? I have this template: \<VirtualHost \*:80\> DocumentRoot /var/www/{{name}} ServerName {{name}}{{domain}} \</VirtualHost\> And I want to cal…

---

## [Diff between template and copy if target directory doesn't exist](https://forum.ansible.com/t/diff-between-template-and-copy-if-target-directory-doesnt-exist/16132)

<div class="topic-metadata">

**Author:** [@Matt\_Hughes](https://forum.ansible.com/u/Matt_Hughes)\
**Replies:** 3\
**Last updated:** [September 5, 2014, 9:21pm UTC](https://forum.ansible.com/t/diff-between-template-and-copy-if-target-directory-doesnt-exist/16132 "2014-09-05T21:21:39Z")

</div>

It appears the ‘template’ module doesn’t auto create the destination directory, yet ‘copy’ module does. I don’t see any way to force it to auto-create, nor any module that would work around this. Any one else experience …

---

## [pip install fails on Cento5.10](https://forum.ansible.com/t/pip-install-fails-on-cento5-10/15304)

<div class="topic-metadata">

**Author:** [@Mark\_Maas](https://forum.ansible.com/u/Mark_Maas)\
**Replies:** 4\
**Last updated:** [September 5, 2014, 9:21pm UTC](https://forum.ansible.com/t/pip-install-fails-on-cento5-10/15304 "2014-09-05T21:21:03Z")

</div>

Dear All, I’m unable to install ansible via pip on Centos 5.10: Using version 0.11 (newest of versions: 0.11, 0.10, 0.9, 0.8, 0.7, 0.6) Downloading from URL https://pypi.python.org/packages/source/e/ecdsa/ecdsa-0.11.…

---

## [Gather facts for one group to run playbook on another](https://forum.ansible.com/t/gather-facts-for-one-group-to-run-playbook-on-another/16131)

<div class="topic-metadata">

**Author:** [@Paul\_Smith](https://forum.ansible.com/u/Paul_Smith)\
**Replies:** 1\
**Last updated:** [September 5, 2014, 9:18pm UTC](https://forum.ansible.com/t/gather-facts-for-one-group-to-run-playbook-on-another/16131 "2014-09-05T21:18:31Z")

</div>

I’d like to gather facts from one group of servers for running a playbook on another group. Crucially, I don’t want to run tasks on the first group, just the fact-gathering. For example, I want to run a playbook for a g…

---

## [Parentheses in lineinfile line argument](https://forum.ansible.com/t/parentheses-in-lineinfile-line-argument/16040)

<div class="topic-metadata">

**Author:** [@Matteo\_Ceccarello](https://forum.ansible.com/u/Matteo_Ceccarello)\
**Replies:** 6\
**Last updated:** [September 5, 2014, 9:17pm UTC](https://forum.ansible.com/t/parentheses-in-lineinfile-line-argument/16040 "2014-09-05T21:17:20Z")

</div>

Hi all! I’m trying to use the lineinfile module to configure NFS exports and I need to put parentheses in my line argument. If I do something like this name: Export the NFS directory for root lineinfile: dest=/etc/e…

---

## [re-run failed task only](https://forum.ansible.com/t/re-run-failed-task-only/16128)

<div class="topic-metadata">

**Author:** [@Kien\_Pham](https://forum.ansible.com/u/Kien_Pham)\
**Replies:** 7\
**Last updated:** [September 5, 2014, 9:08pm UTC](https://forum.ansible.com/t/re-run-failed-task-only/16128 "2014-09-05T21:08:00Z")

</div>

Hi all, I would like to discuss whether ansible should support the re-run failed task. This is different with the suggested answer here: http://docs.ansible.com/playbooks\_loops.html#do-until-loops It is similar to how…

---

## [ec2\_group - passing a list to a rule fails on subsequent runs.](https://forum.ansible.com/t/ec2-group-passing-a-list-to-a-rule-fails-on-subsequent-runs/16124)

<div class="topic-metadata">

**Author:** [@Aaron\_Mills](https://forum.ansible.com/u/Aaron_Mills)\
**Replies:** 5\
**Last updated:** [September 5, 2014, 8:05pm UTC](https://forum.ansible.com/t/ec2-group-passing-a-list-to-a-rule-fails-on-subsequent-runs/16124 "2014-09-05T20:05:44Z")

</div>

Hi all, I’m using Ansible 1.7 and trying to populate an ec2\_group with a list of allowed IPs inbound. My playbook looks like so: \`

---

## [Ansible and openstack questions](https://forum.ansible.com/t/ansible-and-openstack-questions/14892)

<div class="topic-metadata">

**Author:** [@Patrick\_Galbraith](https://forum.ansible.com/u/Patrick_Galbraith)\
**Replies:** 5\
**Last updated:** [September 5, 2014, 7:37pm UTC](https://forum.ansible.com/t/ansible-and-openstack-questions/14892 "2014-09-05T19:37:28Z")

</div>

Hi all! I am trying to use the nova\_compute plugin and keep on getting: ERROR: nova\_compute is not a legal parameter in an Ansible Playbook ansible-doc, if I run it, shows that the module is there as well as looking i…

---

## [Custom modules for roles](https://forum.ansible.com/t/custom-modules-for-roles/16127)

<div class="topic-metadata">

**Author:** [@Andrei\_Pashkin](https://forum.ansible.com/u/Andrei_Pashkin)\
**Replies:** 2\
**Last updated:** [September 5, 2014, 7:36pm UTC](https://forum.ansible.com/t/custom-modules-for-roles/16127 "2014-09-05T19:36:42Z")

</div>

Hi all! I there way to package custom modules (in my case - Jinja2 filters) with a role?

---

## [Release Deployment:  Ansible only, or Ansible + wrapper scripts?](https://forum.ansible.com/t/release-deployment-ansible-only-or-ansible-wrapper-scripts/16122)

<div class="topic-metadata">

**Author:** [@Tiglath](https://forum.ansible.com/u/Tiglath)\
**Replies:** 3\
**Last updated:** [September 5, 2014, 7:35pm UTC](https://forum.ansible.com/t/release-deployment-ansible-only-or-ansible-wrapper-scripts/16122 "2014-09-05T19:35:12Z")

</div>

I am developing an application deployment program using Ansible. The task entails: Prompt for release number. Prompt for environment: QA or prod. Prompt for the target server. Copy data and configure it Prompt if a…

---

## [Only show output for changed things?](https://forum.ansible.com/t/only-show-output-for-changed-things/16120)

<div class="topic-metadata">

**Author:** [@Josh\_Smift1](https://forum.ansible.com/u/Josh_Smift1)\
**Replies:** 3\
**Last updated:** [September 5, 2014, 7:34pm UTC](https://forum.ansible.com/t/only-show-output-for-changed-things/16120 "2014-09-05T19:34:14Z")

</div>

Is there a way to tell Ansible to only show output for things that have changed? We've got playbooks that include roles and run dozens of tasks, and often want to check to see what's going to happen before we actually …

---

## [Run Script and display its output on the remote node](https://forum.ansible.com/t/run-script-and-display-its-output-on-the-remote-node/16112)

<div class="topic-metadata">

**Author:** [@Imran\_Khan1](https://forum.ansible.com/u/Imran_Khan1)\
**Replies:** 6\
**Last updated:** [September 5, 2014, 7:14pm UTC](https://forum.ansible.com/t/run-script-and-display-its-output-on-the-remote-node/16112 "2014-09-05T19:14:58Z")

</div>

Like the subject explains. I want to run an un-ending script and want to see the output on the remote node only. Is that possible ?

---

## [fetch with backup (done with rsync)](https://forum.ansible.com/t/fetch-with-backup-done-with-rsync/16114)

<div class="topic-metadata">

**Author:** [@pjdeelman](https://forum.ansible.com/u/pjdeelman)\
**Replies:** 3\
**Last updated:** [September 5, 2014, 7:08pm UTC](https://forum.ansible.com/t/fetch-with-backup-done-with-rsync/16114 "2014-09-05T19:08:05Z")

</div>

All I wanted to do was to fetch files for OTAP purposes. Well … I tried fetch, combining it with copying files to a backup folder and using fdupes (not installed by default). But i needed the backup files to include a t…

---

## ['lineinfile' module - possible bug?](https://forum.ansible.com/t/lineinfile-module-possible-bug/15894)

<div class="topic-metadata">

**Author:** [@Will\_Dennis](https://forum.ansible.com/u/Will_Dennis)\
**Replies:** 5\
**Last updated:** [September 5, 2014, 3:57pm UTC](https://forum.ansible.com/t/lineinfile-module-possible-bug/15894 "2014-09-05T15:57:06Z")

</div>

Hi all, I have a playbook used for setting up new servers here, that among other things, ensures both NTP and NIS (yes, we still use NIS here…) are installed and are running. The problem I am seeing is that when the pla…

---

## [Strange problem running Ansible against a CentOS 7 box](https://forum.ansible.com/t/strange-problem-running-ansible-against-a-centos-7-box/16115)

<div class="topic-metadata">

**Author:** [@Will\_Dennis](https://forum.ansible.com/u/Will_Dennis)\
**Replies:** 10\
**Last updated:** [September 5, 2014, 2:33am UTC](https://forum.ansible.com/t/strange-problem-running-ansible-against-a-centos-7-box/16115 "2014-09-05T02:33:55Z")

</div>

Hi all, I just installed CentOS 7 on a new machine, and ‘yum update’-ed it to pick up the latest packages. Here’s the output of ‘uname -a’ and ‘/etc/redhat-release’: \[root@problem-svr ~\]# uname -a Linux problem-svr.my…

---

## [Question about talking to ssh-enabled devices](https://forum.ansible.com/t/question-about-talking-to-ssh-enabled-devices/16078)

<div class="topic-metadata">

**Author:** [@Patrick\_Galbraith](https://forum.ansible.com/u/Patrick_Galbraith)\
**Replies:** 10\
**Last updated:** [September 5, 2014, 1:47am UTC](https://forum.ansible.com/t/question-about-talking-to-ssh-enabled-devices/16078 "2014-09-05T01:47:24Z")

</div>

Hi all, I’m looking at building a module to talk to an HP Switch (1910). This switch only has a web UI (not REST nor SOAP) and ssh. I have scoured the Internet and only found info about devices that have nice REST APIs.…

---

## [Pip Module Auto Install Required Modules?](https://forum.ansible.com/t/pip-module-auto-install-required-modules/16116)

<div class="topic-metadata">

**Author:** [@Matt\_Hughes](https://forum.ansible.com/u/Matt_Hughes)\
**Replies:** 1\
**Last updated:** [September 5, 2014, 1:29am UTC](https://forum.ansible.com/t/pip-module-auto-install-required-modules/16116 "2014-09-05T01:29:20Z")

</div>

Recently got the Ansible docker module working after I learned that it requires the ‘docker-py’ module installed on the server. It took me a while to figure this out. I was going to put a PR together that clarify this f…

---

## [compare results of two tasks?](https://forum.ansible.com/t/compare-results-of-two-tasks/16109)

<div class="topic-metadata">

**Author:** [@Dylan\_Martin2](https://forum.ansible.com/u/Dylan_Martin2)\
**Replies:** 1\
**Last updated:** [September 5, 2014, 1:19am UTC](https://forum.ansible.com/t/compare-results-of-two-tasks/16109 "2014-09-05T01:19:40Z")

</div>

I’ve looked for this and haven’t found it, so if this is documented elsewhere, I do apologize. I want to compare the md5 sums of two copies of a list of files. IE there are two locations which should have the same exact…

---

## [debug statements trigger security check error "A variable inserted a new parameter into the module args"](https://forum.ansible.com/t/debug-statements-trigger-security-check-error-a-variable-inserted-a-new-parameter-into-the-module-args/16108)

<div class="topic-metadata">

**Author:** [@Kesten\_Broughton2](https://forum.ansible.com/u/Kesten_Broughton2)\
**Replies:** 1\
**Last updated:** [September 5, 2014, 1:18am UTC](https://forum.ansible.com/t/debug-statements-trigger-security-check-error-a-variable-inserted-a-new-parameter-into-the-module-args/16108 "2014-09-05T01:18:23Z")

</div>

I’m running into several cases where debug statements trigger the security check error: A variable inserted a new parameter into the module args. Be sure to quote variables if they contain equal signs (for example: “{{v…

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

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