# Latest

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

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

**Page:** 1040

---

## [acl in file module](https://forum.ansible.com/t/acl-in-file-module/11992)

<div class="topic-metadata">

**Author:** [@Patric\_Buskas](https://forum.ansible.com/u/Patric_Buskas)\
**Replies:** 3\
**Last updated:** [June 22, 2013, 5:19pm UTC](https://forum.ansible.com/t/acl-in-file-module/11992 "2013-06-22T17:19:04Z")

</div>

Hi, I know the file module already have a lot of parameters but do you think it’s also possible to add acl to the module?

---

## [Is there any way to make Ansible throw warnings when a variable is not defined](https://forum.ansible.com/t/is-there-any-way-to-make-ansible-throw-warnings-when-a-variable-is-not-defined/13003)

<div class="topic-metadata">

**Author:** [@Dongdong\_Zhou](https://forum.ansible.com/u/Dongdong_Zhou)\
**Replies:** 1\
**Last updated:** [June 22, 2013, 5:00pm UTC](https://forum.ansible.com/t/is-there-any-way-to-make-ansible-throw-warnings-when-a-variable-is-not-defined/13003 "2013-06-22T17:00:17Z")

</div>

Hi, I’m just wondering if there is any settings that can make Ansible throw a warning or error out if a variable is not defined anywhere? Any thoughts would be much appreciated.

---

## [Unicode template character](https://forum.ansible.com/t/unicode-template-character/13006)

<div class="topic-metadata">

**Author:** [@Paul\_Hassinger](https://forum.ansible.com/u/Paul_Hassinger)\
**Replies:** 5\
**Last updated:** [June 21, 2013, 8:43pm UTC](https://forum.ansible.com/t/unicode-template-character/13006 "2013-06-21T20:43:34Z")

</div>

I’m having issues I cannot seem to get past on my own or with Google searches… Playbook: name: unicode issue template: src=mytemplate.conf.j2 dest=/tmp/mytemplate.conf Output -vvv: \<myserver.mydomain.com\> EXEC /bin…

---

## [string operations](https://forum.ansible.com/t/string-operations/12994)

<div class="topic-metadata">

**Author:** [@Clifford\_Sanders](https://forum.ansible.com/u/Clifford_Sanders)\
**Replies:** 6\
**Last updated:** [June 21, 2013, 3:20pm UTC](https://forum.ansible.com/t/string-operations/12994 "2013-06-21T15:20:27Z")

</div>

Hi, I need to replace characters in strings so i can change ‘com.bar.foo’ into ‘com/bar/foo’ common\_vars.yml:

---

## [User creation problem](https://forum.ansible.com/t/user-creation-problem/12993)

<div class="topic-metadata">

**Author:** [@Carlo\_Bertoldi](https://forum.ansible.com/u/Carlo_Bertoldi)\
**Replies:** 2\
**Last updated:** [June 21, 2013, 8:39am UTC](https://forum.ansible.com/t/user-creation-problem/12993 "2013-06-21T08:39:16Z")

</div>

Hi, I’m having some troubles creating a user on a Debian host, using ansible 1.2. This is my action: action: user name=erlang comment=“Delibird user” group=staff shell=/bin/false createhome=no action: user name=erlan…

---

## [adding termination support to the ec2 module](https://forum.ansible.com/t/adding-termination-support-to-the-ec2-module/13000)

<div class="topic-metadata">

**Author:** [@John\_Jarvis](https://forum.ansible.com/u/John_Jarvis)\
**Replies:** 0\
**Last updated:** [June 21, 2013, 12:08am UTC](https://forum.ansible.com/t/adding-termination-support-to-the-ec2-module/13000 "2013-06-21T00:08:38Z")

</div>

I talked to lwade briefly on IRC about this and thought it might be useful for other people using ec2. I created a new argument for ec2 that takes the ec2.instances that were provisioned and terminates them. This is use…

---

## [Git recursive support](https://forum.ansible.com/t/git-recursive-support/12997)

<div class="topic-metadata">

**Author:** [@Tom\_Deckers](https://forum.ansible.com/u/Tom_Deckers)\
**Replies:** 3\
**Last updated:** [June 20, 2013, 9:52pm UTC](https://forum.ansible.com/t/git-recursive-support/12997 "2013-06-20T21:52:55Z")

</div>

Hi, I’m pulling in a git repo that uses .gitmodules, and the ansible module for git (confusing, isn’t it) doesn’t seem to be pulling those gitmodules in. Is there a way to provide --recursive support for git? Thanks! …

---

## [Var precedence](https://forum.ansible.com/t/var-precedence/12865)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 34\
**Last updated:** [June 20, 2013, 8:34pm UTC](https://forum.ansible.com/t/var-precedence/12865 "2013-06-20T20:34:47Z")

</div>

There are plenty of ways to set defaults. You can put your systems into a group, and put the variables into group\_vars/. This has the lowest precedence of anything in Ansible, and you can even have defaults for those i…

---

## [Ansible and OpenSuse 11.4](https://forum.ansible.com/t/ansible-and-opensuse-11-4/12977)

<div class="topic-metadata">

**Author:** [@Mario\_Adrian\_Lopez\_A](https://forum.ansible.com/u/Mario_Adrian_Lopez_A)\
**Replies:** 5\
**Last updated:** [June 20, 2013, 7:49pm UTC](https://forum.ansible.com/t/ansible-and-opensuse-11-4/12977 "2013-06-20T19:49:33Z")

</div>

Hi Everyone. I’m currently trying to connect to an OpenSuse machine. It’s an OpenSuse 11.4 server with the minimum requirements to use it with ansible. The problem is that when I’m trying to gather some info with the …

---

## [compute variables inside playbooks](https://forum.ansible.com/t/compute-variables-inside-playbooks/12996)

<div class="topic-metadata">

**Author:** [@Prune](https://forum.ansible.com/u/Prune)\
**Replies:** 2\
**Last updated:** [June 20, 2013, 7:08pm UTC](https://forum.ansible.com/t/compute-variables-inside-playbooks/12996 "2013-06-20T19:08:17Z")

</div>

Hi, I’m wondering how to compute variables inside the playbook. Maybe I’m just trying to do something wrong, please let me know… Let’s say I have 2 frontend servers running NGINX as a proxy to two backend servers. I …

---

## [New feature "--limit" on ansible-playbook, confining patterns to part of your inventory](https://forum.ansible.com/t/new-feature-limit-on-ansible-playbook-confining-patterns-to-part-of-your-inventory/11790)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 6\
**Last updated:** [June 20, 2013, 4:05pm UTC](https://forum.ansible.com/t/new-feature-limit-on-ansible-playbook-confining-patterns-to-part-of-your-inventory/11790 "2013-06-20T16:05:32Z")

</div>

Sometimes you want to run a playbook on a cross section of your infrastructure. There are multiple reasons for this. Assume the following inventory for an example of overlapping groups: \[webservers\] wa wb wc wd w…

---

## [Comprehensive operator list / cheatsheet (needs a lot of work)](https://forum.ansible.com/t/comprehensive-operator-list-cheatsheet-needs-a-lot-of-work/12670)

<div class="topic-metadata">

**Author:** [@Brian\_Coca1](https://forum.ansible.com/u/Brian_Coca1)\
**Replies:** 7\
**Last updated:** [June 20, 2013, 3:57pm UTC](https://forum.ansible.com/t/comprehensive-operator-list-cheatsheet-needs-a-lot-of-work/12670 "2013-06-20T15:57:57Z")

</div>

Nice, +1, this has been on my list for a while, thnx! Brian Coca

---

## [Facts of other hosts in the case of unreachability](https://forum.ansible.com/t/facts-of-other-hosts-in-the-case-of-unreachability/12986)

<div class="topic-metadata">

**Author:** [@martin\_f\_krafft](https://forum.ansible.com/u/martin_f_krafft)\
**Replies:** 5\
**Last updated:** [June 20, 2013, 5:50am UTC](https://forum.ansible.com/t/facts-of-other-hosts-in-the-case-of-unreachability/12986 "2013-06-20T05:50:07Z")

</div>

Dear list, Ansible usually gathers facts from all targetted hosts before any other tasks are run. Those facts are then available subsequently to all hosts. One logical use case of this could be to automatically popul…

---

## [Lots of new things in 1.3 already](https://forum.ansible.com/t/lots-of-new-things-in-1-3-already/12992)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 0\
**Last updated:** [June 20, 2013, 2:51am UTC](https://forum.ansible.com/t/lots-of-new-things-in-1-3-already/12992 "2013-06-20T02:51:52Z")

</div>

It’s been a very busy two weeks! Stay up to date with changes and additions here: https://github.com/ansible/ansible/blob/devel/CHANGELOG.md 3 new modules already for Amazon RDS, Digital Ocean, and Datadog. there’s al…

---

## [Comparing files](https://forum.ansible.com/t/comparing-files/12969)

<div class="topic-metadata">

**Author:** [@celine](https://forum.ansible.com/u/celine)\
**Replies:** 8\
**Last updated:** [June 20, 2013, 1:30am UTC](https://forum.ansible.com/t/comparing-files/12969 "2013-06-20T01:30:35Z")

</div>

Hi, I wish to compare the file in client machine with the file in server machine. I wish to know if the contents are the same. How do I do it? tasks: name: Compare 2 files action: How do I input my action statement? …

---

## [Performance considerations: consolidating with\_items](https://forum.ansible.com/t/performance-considerations-consolidating-with-items/12985)

<div class="topic-metadata">

**Author:** [@martin\_f\_krafft](https://forum.ansible.com/u/martin_f_krafft)\
**Replies:** 3\
**Last updated:** [June 20, 2013, 12:00am UTC](https://forum.ansible.com/t/performance-considerations-consolidating-with-items/12985 "2013-06-20T00:00:17Z")

</div>

Hello, we have set up a relatively simple testing environment, and we are hitting performance issues that I hope can be easily resolved, e.g. because I am doing something wrong. We are already using Fireball. Pull-m…

---

## [Per-play private keys?](https://forum.ansible.com/t/per-play-private-keys/12430)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 6\
**Last updated:** [June 19, 2013, 11:56pm UTC](https://forum.ansible.com/t/per-play-private-keys/12430 "2013-06-19T23:56:43Z")

</div>

So we have "--private-key-file". Currently that is not settable per play as a play level option but I'm not against it. Right now I think everyone uses common keyfiles for everything addressed in the same playbook r…

---

## [with\_items passed individually and as list](https://forum.ansible.com/t/with-items-passed-individually-and-as-list/12987)

<div class="topic-metadata">

**Author:** [@martin\_f\_krafft](https://forum.ansible.com/u/martin_f_krafft)\
**Replies:** 8\
**Last updated:** [June 19, 2013, 11:13pm UTC](https://forum.ansible.com/t/with-items-passed-individually-and-as-list/12987 "2013-06-19T23:13:30Z")

</div>

Hello, I have a simple playbook that just defines an APT task to purge packages provided as with\_items list. tasks: - name: remove packages apt: pkg={{item}} state=absent purge=yes update\_cache=no …

---

## [On demand gather\_facts?](https://forum.ansible.com/t/on-demand-gather-facts/12989)

<div class="topic-metadata">

**Author:** [@GW1](https://forum.ansible.com/u/GW1)\
**Replies:** 5\
**Last updated:** [June 19, 2013, 8:36pm UTC](https://forum.ansible.com/t/on-demand-gather-facts/12989 "2013-06-19T20:36:28Z")

</div>

Hi, I was wondering if there are any plans to add an on demand gather\_facts-like meta task (similar to “- meta: flush\_handlers”)? Use case: during the bootstrapping of a system the play must have “gather\_facts: off” …

---

## [pre/post for roles and tasks](https://forum.ansible.com/t/pre-post-for-roles-and-tasks/12983)

<div class="topic-metadata">

**Author:** [@Sash\_Nagarkar](https://forum.ansible.com/u/Sash_Nagarkar)\
**Replies:** 1\
**Last updated:** [June 19, 2013, 2:36pm UTC](https://forum.ansible.com/t/pre-post-for-roles-and-tasks/12983 "2013-06-19T14:36:59Z")

</div>

Hello, I see that pre\_tasks and post\_tasks exist for roles, where you can run individual tasks before or after completing all of the actions in a role. I also see that there is notify, which is for executing a handler i…

---

## [EC2 Idempotency: client-token vs ec2 tags](https://forum.ansible.com/t/ec2-idempotency-client-token-vs-ec2-tags/12979)

<div class="topic-metadata">

**Author:** [@Conrad\_Lee](https://forum.ansible.com/u/Conrad_Lee)\
**Replies:** 3\
**Last updated:** [June 19, 2013, 11:13am UTC](https://forum.ansible.com/t/ec2-idempotency-client-token-vs-ec2-tags/12979 "2013-06-19T11:13:08Z")

</div>

Based on discussions in the IRC channel today with hazmat and jarv, I’ve got some comments and suggestions about how the ec2 module currently handles idempotency. By default, the ec2 module is not idempotent. If I write…

---

## [complex variable lists with file contents](https://forum.ansible.com/t/complex-variable-lists-with-file-contents/12982)

<div class="topic-metadata">

**Author:** [@Sash\_Nagarkar](https://forum.ansible.com/u/Sash_Nagarkar)\
**Replies:** 0\
**Last updated:** [June 19, 2013, 1:03am UTC](https://forum.ansible.com/t/complex-variable-lists-with-file-contents/12982 "2013-06-19T01:03:08Z")

</div>

Brilliant, that did the trick! Thanks.

---

## [Inconsistent behavior of new-style variables?](https://forum.ansible.com/t/inconsistent-behavior-of-new-style-variables/12981)

<div class="topic-metadata">

**Author:** [@slothrop](https://forum.ansible.com/u/slothrop)\
**Replies:** 2\
**Last updated:** [June 18, 2013, 10:26pm UTC](https://forum.ansible.com/t/inconsistent-behavior-of-new-style-variables/12981 "2013-06-18T22:26:38Z")

</div>

This is a syntax error at the closing brackets of {{ app\_root }}:

---

## [Add diff messages / Creating scripts and patches options](https://forum.ansible.com/t/add-diff-messages-creating-scripts-and-patches-options/12973)

<div class="topic-metadata">

**Author:** [@Paul\_Hassinger](https://forum.ansible.com/u/Paul_Hassinger)\
**Replies:** 7\
**Last updated:** [June 18, 2013, 7:58pm UTC](https://forum.ansible.com/t/add-diff-messages-creating-scripts-and-patches-options/12973 "2013-06-18T19:58:49Z")

</div>

I am interested in adding another feature to the core module so when using the “dry run” check mode and diff mode it doesn’t just skip, and can display a message of what would occur (if using creates/removes/only\_if/etc)…

---

## [copy action with\_fileglob always skips files in 1.2](https://forum.ansible.com/t/copy-action-with-fileglob-always-skips-files-in-1-2/12975)

<div class="topic-metadata">

**Author:** [@Dave\_Stern](https://forum.ansible.com/u/Dave_Stern)\
**Replies:** 8\
**Last updated:** [June 18, 2013, 6:29pm UTC](https://forum.ansible.com/t/copy-action-with-fileglob-always-skips-files-in-1-2/12975 "2013-06-18T18:29:35Z")

</div>

The pattern mentioned here is failing for me in 1.2: http://www.ansibleworks.com/docs/playbooks2.html#lookup-plugins-accessing-outside-data I believe my playbook worked in 1.1, but every task that uses copy with\_filegl…

---

## [Undeclared variables implementation Pull 2874](https://forum.ansible.com/t/undeclared-variables-implementation-pull-2874/12974)

<div class="topic-metadata">

**Author:** [@Paul\_Hassinger](https://forum.ansible.com/u/Paul_Hassinger)\
**Replies:** 3\
**Last updated:** [June 18, 2013, 5:40pm UTC](https://forum.ansible.com/t/undeclared-variables-implementation-pull-2874/12974 "2013-06-18T17:40:07Z")

</div>

I submitted pull request a while back #2874. I’m fairly new to Ansible and Python and am looking for some community support to help contribute back these changes. https://github.com/ansible/ansible/pull/2874 Michael De…

---

## [only\_if and when and  1.2](https://forum.ansible.com/t/only-if-and-when-and-1-2/12980)

<div class="topic-metadata">

**Author:** [@Seth\_Vidal](https://forum.ansible.com/u/Seth_Vidal)\
**Replies:** 3\
**Last updated:** [June 18, 2013, 4:45pm UTC](https://forum.ansible.com/t/only-if-and-when-and-1-2/12980 "2013-06-18T16:45:45Z")

</div>

Hi, We've encountered a few things which worked in 1.1 which don't work in 1.2. Most of them are fairly minor but I'm a bit concerned about other things. So I've been auditing our playbooks looking for potential trou…

---

## [Issue with pip module](https://forum.ansible.com/t/issue-with-pip-module/12087)

<div class="topic-metadata">

**Author:** [@jpmens1](https://forum.ansible.com/u/jpmens1)\
**Replies:** 1\
**Last updated:** [June 17, 2013, 10:00pm UTC](https://forum.ansible.com/t/issue-with-pip-module/12087 "2013-06-17T22:00:24Z")

</div>

Hello, I'm having a bit of trouble with the PIP module re-installing things that are there already... When I try to install simplejson with the specified version (which is already installed), Ansible correctly indica…

---

## [Ansible user meeting reminder](https://forum.ansible.com/t/ansible-user-meeting-reminder/12976)

<div class="topic-metadata">

**Author:** [@Dag\_Wieers](https://forum.ansible.com/u/Dag_Wieers)\
**Replies:** 0\
**Last updated:** [June 17, 2013, 7:02pm UTC](https://forum.ansible.com/t/ansible-user-meeting-reminder/12976 "2013-06-17T19:02:45Z")

</div>

This Thursday, in Ghent, Belgium: http://www.eventbrite.com/event/7126318009

---

## [Bay Area meetup reminder](https://forum.ansible.com/t/bay-area-meetup-reminder/12972)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 0\
**Last updated:** [June 17, 2013, 4:54pm UTC](https://forum.ansible.com/t/bay-area-meetup-reminder/12972 "2013-06-17T16:54:04Z")

</div>

This Thursday, in Mountain View: https://www.eventbrite.com/event/7036623731

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

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