# Latest

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

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

**Page:** 959

---

## [Readable error message for all humans](https://forum.ansible.com/t/readable-error-message-for-all-humans/15519)

<div class="topic-metadata">

**Author:** [@Marc\_Trudel](https://forum.ansible.com/u/Marc_Trudel)\
**Replies:** 12\
**Last updated:** [June 26, 2014, 8:09am UTC](https://forum.ansible.com/t/readable-error-message-for-all-humans/15519 "2014-06-26T08:09:20Z")

</div>

Greetings, Someone at work brought this one to me, and I thought I would put the question out there and see what others do/think about this. We have a deployment tool which early on transformed itself into a local deve…

---

## [Help simplify my user management](https://forum.ansible.com/t/help-simplify-my-user-management/15547)

<div class="topic-metadata">

**Author:** [@Pete\_Emerson](https://forum.ansible.com/u/Pete_Emerson)\
**Replies:** 2\
**Last updated:** [June 26, 2014, 4:18am UTC](https://forum.ansible.com/t/help-simplify-my-user-management/15547 "2014-06-26T04:18:16Z")

</div>

I haven’t seen the “right” way to organizer users, so here’s my attempt, but it seems to me like it should be a bit simpler. https://gist.github.com/pete0emerson/ba331fd0defba6d2dd7c Why I organized things this way: …

---

## [Ansible 1.6.5 - updated security fix](https://forum.ansible.com/t/ansible-1-6-5-updated-security-fix/15553)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Replies:** 0\
**Last updated:** [June 26, 2014, 2:40am UTC](https://forum.ansible.com/t/ansible-1-6-5-updated-security-fix/15553 "2014-06-26T02:40:09Z")

</div>

Hello everyone, As you the least release indicated we updated Ansible to 1.6.4 to include a security fix, as we said, “where specifically constructed untrusted data can cause the Ansible tool to execute unwanted inputs …

---

## [cleanup playbook](https://forum.ansible.com/t/cleanup-playbook/15551)

<div class="topic-metadata">

**Author:** [@Nick\_Evgeniev](https://forum.ansible.com/u/Nick_Evgeniev)\
**Replies:** 1\
**Last updated:** [June 26, 2014, 12:19am UTC](https://forum.ansible.com/t/cleanup-playbook/15551 "2014-06-26T00:19:08Z")

</div>

hi, What is the best way of having a ‘cleanup’ playbook in ansible and having it run unconditionally after the main one? I mean I want to have set of tasks each which will be run after completion (or failure) of main p…

---

## [Ansible OS Abstraction](https://forum.ansible.com/t/ansible-os-abstraction/15527)

<div class="topic-metadata">

**Author:** [@Nico\_K](https://forum.ansible.com/u/Nico_K)\
**Replies:** 12\
**Last updated:** [June 26, 2014, 12:11am UTC](https://forum.ansible.com/t/ansible-os-abstraction/15527 "2014-06-26T00:11:11Z")

</div>

Hi, So I’ve been scavenging through a lot of posts to figure out how to deal with heterogeneous environments. The two approaches that I see most are either using “group\_by” or using “when”. For example: site.yml: n…

---

## [vars\_files not importing existing file](https://forum.ansible.com/t/vars-files-not-importing-existing-file/15534)

<div class="topic-metadata">

**Author:** [@micafer](https://forum.ansible.com/u/micafer)\
**Replies:** 3\
**Last updated:** [June 26, 2014, 12:09am UTC](https://forum.ansible.com/t/vars-files-not-importing-existing-file/15534 "2014-06-26T00:09:07Z")

</div>

Hi, I create an issue in the ansible github and Michael DeHaan recomend me to ask here for help. All the information is in this issue: https://github.com/ansible/ansible/issues/7901 The summary is: In Ubuntu 12.04. …

---

## [FYI: What is PWD when executed as  host:localhost vs delegate\_to vs local\_action  ?](https://forum.ansible.com/t/fyi-what-is-pwd-when-executed-as-host-localhost-vs-delegate-to-vs-local-action/15552)

<div class="topic-metadata">

**Author:** [@Larry\_Fast](https://forum.ansible.com/u/Larry_Fast)\
**Replies:** 1\
**Last updated:** [June 25, 2014, 10:41pm UTC](https://forum.ansible.com/t/fyi-what-is-pwd-when-executed-as-host-localhost-vs-delegate-to-vs-local-action/15552 "2014-06-25T22:41:10Z")

</div>

Thought I’d share some gory details I just worked through. I was writing a self-check playbook and wanted to look at files in the playbook directory. Note that a module would probably solve my problem more effectively th…

---

## [Ansible 1.6.4 update - security release](https://forum.ansible.com/t/ansible-1-6-4-update-security-release/15549)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Replies:** 3\
**Last updated:** [June 25, 2014, 9:16pm UTC](https://forum.ansible.com/t/ansible-1-6-4-update-security-release/15549 "2014-06-25T21:16:27Z")

</div>

Hi everyone, Today we have updated Ansible to fix a security problem where specifically constructed untrusted data can cause the Ansible tool to execute unwanted inputs on the control machine. This update is available …

---

## [Python boilerplate in modules](https://forum.ansible.com/t/python-boilerplate-in-modules/15545)

<div class="topic-metadata">

**Author:** [@Andreas\_Harpfer](https://forum.ansible.com/u/Andreas_Harpfer)\
**Replies:** 3\
**Last updated:** [June 25, 2014, 6:58pm UTC](https://forum.ansible.com/t/python-boilerplate-in-modules/15545 "2014-06-25T18:58:41Z")

</div>

Hi all, being new to Ansible development and currently trying to understand how some of the core modules work, I was wondering why modules don't use the usual good practice Python boilerplate a la from ansible.m…

---

## [msg = unicode(msg).encode('utf8') LookupError](https://forum.ansible.com/t/msg-unicode-msg-encode-utf8-lookuperror/15517)

<div class="topic-metadata">

**Author:** [@Nic\_Flores](https://forum.ansible.com/u/Nic_Flores)\
**Replies:** 6\
**Last updated:** [June 25, 2014, 6:53pm UTC](https://forum.ansible.com/t/msg-unicode-msg-encode-utf8-lookuperror/15517 "2014-06-25T18:53:16Z")

</div>

Hi All, I’m seeing the following error: When I run the following command: ansible my\_server -i sdc\_hosts -m ping -u ansible --ask-pass against a server running: myserver$ python --version Python 2.6.6 myserver | F…

---

## [Using ansible\_ssh\_private\_key\_file variable vs --private-key](https://forum.ansible.com/t/using-ansible-ssh-private-key-file-variable-vs-private-key/15178)

<div class="topic-metadata">

**Author:** [@Stuart\_Reynolds](https://forum.ansible.com/u/Stuart_Reynolds)\
**Replies:** 1\
**Last updated:** [June 25, 2014, 6:21pm UTC](https://forum.ansible.com/t/using-ansible-ssh-private-key-file-variable-vs-private-key/15178 "2014-06-25T18:21:24Z")

</div>

I can call: ansible all -m ping -i DevHosts --user=ubuntu --private-key=../DevMongo.pem with DevHosts: \[mongo\] 1.2.3.4 and ansible will correctly connect to the host. But if I try and store these parameters in an inv…

---

## [Using a variable inside a jinja loop](https://forum.ansible.com/t/using-a-variable-inside-a-jinja-loop/15533)

<div class="topic-metadata">

**Author:** [@CWS](https://forum.ansible.com/u/CWS)\
**Replies:** 5\
**Last updated:** [June 25, 2014, 6:05pm UTC](https://forum.ansible.com/t/using-a-variable-inside-a-jinja-loop/15533 "2014-06-25T18:05:45Z")

</div>

Hi there, I have a play with a role that creates a load balancer template. I’ve successfully tested it in my dev environment, using {% for host in groups\[‘dev-web’\] %} server {{ host }} {{ host }}:80 {% endfor %} th…

---

## [Error when running ec2\_tag action](https://forum.ansible.com/t/error-when-running-ec2-tag-action/15535)

<div class="topic-metadata">

**Author:** [@douglaslopespereira](https://forum.ansible.com/u/douglaslopespereira)\
**Replies:** 2\
**Last updated:** [June 25, 2014, 5:24pm UTC](https://forum.ansible.com/t/error-when-running-ec2-tag-action/15535 "2014-06-25T17:24:23Z")

</div>

I’ve being trying to get the tag “Name” I’ve created for my ec2 instance using the ec2\_tag module with this task file: $cat getTagTask.yml name: Testing action: ec2\_facts tags: \[metric-alarms\] name: list resourc…

---

## [multiple async actions (background tasks) question](https://forum.ansible.com/t/multiple-async-actions-background-tasks-question/15529)

<div class="topic-metadata">

**Author:** [@Dimon](https://forum.ansible.com/u/Dimon)\
**Replies:** 2\
**Last updated:** [June 25, 2014, 3:28pm UTC](https://forum.ansible.com/t/multiple-async-actions-background-tasks-question/15529 "2014-06-25T15:28:49Z")

</div>

Hi, I’m trying to reconfigure a running OS to use bridge vs the actual interface. My playbook so far: name: copy bridge config template: src=if-br.j2 dest=/etc/sysconfig/network-scripts/if-{{ bridge\_name }} backup=ye…

---

## [registered variables not updating when using parametrized roles multiple times](https://forum.ansible.com/t/registered-variables-not-updating-when-using-parametrized-roles-multiple-times/15513)

<div class="topic-metadata">

**Author:** [@remcovanhest](https://forum.ansible.com/u/remcovanhest)\
**Replies:** 2\
**Last updated:** [June 25, 2014, 1:42pm UTC](https://forum.ansible.com/t/registered-variables-not-updating-when-using-parametrized-roles-multiple-times/15513 "2014-06-25T13:42:01Z")

</div>

Hi, See https://github.com/ansible/ansible/pull/7838 for a description of the problem. Unfortunately the solution proposed in the pull request was rejected. Does anyone know a way to get this to work? Thanks. Remco …

---

## [Service module and RC files (FreeBSD)](https://forum.ansible.com/t/service-module-and-rc-files-freebsd/15536)

<div class="topic-metadata">

**Author:** [@Dominik\_Kolowski](https://forum.ansible.com/u/Dominik_Kolowski)\
**Replies:** 1\
**Last updated:** [June 25, 2014, 2:07am UTC](https://forum.ansible.com/t/service-module-and-rc-files-freebsd/15536 "2014-06-25T02:07:13Z")

</div>

Hello, I’m using Ansible since the very begining to manage my farm of FreeBSD based servers. Some time ago I have spotted a problem, I can’t actually understand, related to service module of Ansible. According to the so…

---

## [Deprecating pararmeters](https://forum.ansible.com/t/deprecating-pararmeters/15537)

<div class="topic-metadata">

**Author:** [@Stephen\_Gargan](https://forum.ansible.com/u/Stephen_Gargan)\
**Replies:** 1\
**Last updated:** [June 25, 2014, 12:53am UTC](https://forum.ansible.com/t/deprecating-pararmeters/15537 "2014-06-25T00:53:24Z")

</div>

Hi, I’ve been making changes to the ec2\_elb\_lb module to allow security group names as well as security group ids. While doing this I had added a new module parameter ‘security\_groups’ with the intention of marking the …

---

## [Register being set even though task is skipped](https://forum.ansible.com/t/register-being-set-even-though-task-is-skipped/15538)

<div class="topic-metadata">

**Author:** [@PePe\_Amengual](https://forum.ansible.com/u/PePe_Amengual)\
**Replies:** 1\
**Last updated:** [June 24, 2014, 10:57pm UTC](https://forum.ansible.com/t/register-being-set-even-though-task-is-skipped/15538 "2014-06-24T22:57:50Z")

</div>

Hi there I’m running into an issue that I don’t know if it is a expected behaviour or a bug… I have a play with two task both of them have the conditional “when” and both of them use the same variable name as a registe…

---

## [Ansible Windows 404 error](https://forum.ansible.com/t/ansible-windows-404-error/15532)

<div class="topic-metadata">

**Author:** [@Ollie\_Lawson](https://forum.ansible.com/u/Ollie_Lawson)\
**Replies:** 2\
**Last updated:** [June 24, 2014, 9:49pm UTC](https://forum.ansible.com/t/ansible-windows-404-error/15532 "2014-06-24T21:49:20Z")

</div>

Hi, I’m trying to do a proof of concept install of the new windows functionality of anisble. I have tried Windows Server 2012 and 2008 r2 but I get the following errors back: WIN-3Q6QUQU2T6P.cs29cloud.internal | FAILE…

---

## [Recursively chown'ing a directory](https://forum.ansible.com/t/recursively-chowning-a-directory/11904)

<div class="topic-metadata">

**Author:** [@Matt\_Coddington](https://forum.ansible.com/u/Matt_Coddington)\
**Replies:** 11\
**Last updated:** [June 24, 2014, 7:37pm UTC](https://forum.ansible.com/t/recursively-chowning-a-directory/11904 "2014-06-24T19:37:13Z")

</div>

Hi All, Prior to Ansible 0.7, the file module would recursively chown directories, now it doesn't (seems like the right behavior; i was surprised when it did recurse, but that's actually what i wanted in this case :)…

---

## [Problems getting EC2 VPC information](https://forum.ansible.com/t/problems-getting-ec2-vpc-information/15528)

<div class="topic-metadata">

**Author:** [@Michael\_Peters](https://forum.ansible.com/u/Michael_Peters)\
**Replies:** 6\
**Last updated:** [June 24, 2014, 7:18pm UTC](https://forum.ansible.com/t/problems-getting-ec2-vpc-information/15528 "2014-06-24T19:18:57Z")

</div>

I'm trying to use the ec2\_vpc module to get the information about an existing VPC (specifically get all of the subnets and their IDs to use later). From reading the docs, I'm not completely sure this is possible since…

---

## [Having problems with --exclude, --include with synchronize module using rsync\_opts](https://forum.ansible.com/t/having-problems-with-exclude-include-with-synchronize-module-using-rsync-opts/15485)

<div class="topic-metadata">

**Author:** [@Heath\_Henjum](https://forum.ansible.com/u/Heath_Henjum)\
**Replies:** 4\
**Last updated:** [June 24, 2014, 3:58pm UTC](https://forum.ansible.com/t/having-problems-with-exclude-include-with-synchronize-module-using-rsync-opts/15485 "2014-06-24T15:58:26Z")

</div>

Hi, I was trying to do something using synchronize where I exclude some files and include others, but it does not work like rsync: So, this works with rsync, name: testrsync local\_action: command rsync -aH --include…

---

## [Moving a docker instance between 2 hosts](https://forum.ansible.com/t/moving-a-docker-instance-between-2-hosts/15467)

<div class="topic-metadata">

**Author:** [@Laurent\_PETIT](https://forum.ansible.com/u/Laurent_PETIT)\
**Replies:** 16\
**Last updated:** [June 24, 2014, 3:06pm UTC](https://forum.ansible.com/t/moving-a-docker-instance-between-2-hosts/15467 "2014-06-24T15:06:25Z")

</div>

Hello, I’m trying to figure out how to best stay declarative while being able to have my system properly reconfigure itself in the following situation: I have a bunch of docker hosts I have a bunch of docker container…

---

## [More configuration options for EC2 dynamic inventories](https://forum.ansible.com/t/more-configuration-options-for-ec2-dynamic-inventories/15486)

<div class="topic-metadata">

**Author:** [@Michael\_Peters](https://forum.ansible.com/u/Michael_Peters)\
**Replies:** 7\
**Last updated:** [June 24, 2014, 2:30pm UTC](https://forum.ansible.com/t/more-configuration-options-for-ec2-dynamic-inventories/15486 "2014-06-24T14:30:24Z")

</div>

All, I've recently begun using the ec2.py dynamic inventory script and I've thought of some relatively simple optional enhancements that would be driven by the ec2.ini configuration file and wanted to see if there wa…

---

## [Multi-cloud deployment, use site.yml or --extra-vars](https://forum.ansible.com/t/multi-cloud-deployment-use-site-yml-or-extra-vars/15525)

<div class="topic-metadata">

**Author:** [@Roman\_Valls](https://forum.ansible.com/u/Roman_Valls)\
**Replies:** 5\
**Last updated:** [June 24, 2014, 1:10pm UTC](https://forum.ansible.com/t/multi-cloud-deployment-use-site-yml-or-extra-vars/15525 "2014-06-24T13:10:38Z")

</div>

Hello Ansible-Project, I would like to know which best practices are there when it comes to deploying a playbook to several different cloud providers (mainly AWS and GCE now, but more might come later). More specifical…

---

## [Scoping dynamic inventory best practices](https://forum.ansible.com/t/scoping-dynamic-inventory-best-practices/15491)

<div class="topic-metadata">

**Author:** [@Loren\_Carvalho](https://forum.ansible.com/u/Loren_Carvalho)\
**Replies:** 4\
**Last updated:** [June 24, 2014, 9:36am UTC](https://forum.ansible.com/t/scoping-dynamic-inventory-best-practices/15491 "2014-06-24T09:36:59Z")

</div>

Hello, So I recently opened a PR against ansible with the intention of passing the ‘host-pattern’ command line argument to my dynamic inventory script in order to scope responses to just the set of hosts I intended to w…

---

## [Feedback on a mult-platform CM & deploy use-case please?](https://forum.ansible.com/t/feedback-on-a-mult-platform-cm-deploy-use-case-please/15531)

<div class="topic-metadata">

**Author:** [@Boy\_Baukema](https://forum.ansible.com/u/Boy_Baukema)\
**Replies:** 0\
**Last updated:** [June 24, 2014, 8:58am UTC](https://forum.ansible.com/t/feedback-on-a-mult-platform-cm-deploy-use-case-please/15531 "2014-06-24T08:58:33Z")

</div>

Hi! Could anyone give me feedback in the way I’m setting up our DevOps? I really couldn’t find much that actually dealt with multiple platforms so I had to piece together what I could and came up with the following (ho…

---

## [Unable to fetch value from ansible\_devices variable if special charcter in key](https://forum.ansible.com/t/unable-to-fetch-value-from-ansible-devices-variable-if-special-charcter-in-key/15523)

<div class="topic-metadata">

**Author:** [@Roopendra\_Vishwakarm](https://forum.ansible.com/u/Roopendra_Vishwakarm)\
**Replies:** 2\
**Last updated:** [June 24, 2014, 7:22am UTC](https://forum.ansible.com/t/unable-to-fetch-value-from-ansible-devices-variable-if-special-charcter-in-key/15523 "2014-06-24T07:22:50Z")

</div>

I am using gather fact variable to get size from ansible\_devices variable. for some host I am getting variable "ansible\_devices": { "sda" and for few server getting "ansible\_devices": { "cciss!c0d0". Problem:- When I am…

---

## [OSX (?) ansible docker module issue](https://forum.ansible.com/t/osx-ansible-docker-module-issue/15530)

<div class="topic-metadata">

**Author:** [@Laurent\_PETIT](https://forum.ansible.com/u/Laurent_PETIT)\
**Replies:** 2\
**Last updated:** [June 23, 2014, 9:26pm UTC](https://forum.ansible.com/t/osx-ansible-docker-module-issue/15530 "2014-06-23T21:26:44Z")

</div>

Hello, On my OSX box, I’m unable to call the docker command from the docker module. I tried to install docker both from homebrew, and then deinstall and install from pip. Both times, I get this error: failed: \[docker…

---

## [Add a with\_batching feature so that any module can batch variable input](https://forum.ansible.com/t/add-a-with-batching-feature-so-that-any-module-can-batch-variable-input/15522)

<div class="topic-metadata">

**Author:** [@Gregory\_Rehm](https://forum.ansible.com/u/Gregory_Rehm)\
**Replies:** 2\
**Last updated:** [June 23, 2014, 2:30pm UTC](https://forum.ansible.com/t/add-a-with-batching-feature-so-that-any-module-can-batch-variable-input/15522 "2014-06-23T14:30:07Z")

</div>

Ansible currently handles batching items for installing packages with the apt, yum, and pkgng modules. This works well with the aforementioned packages because people do not have much reason to use with\_items for any oth…

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

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