# Latest

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

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

**Page:** 934

---

## [ansible yum module can not be used](https://forum.ansible.com/t/ansible-yum-module-can-not-be-used/16350)

<div class="topic-metadata">

**Author:** [@Fe\_Zheng](https://forum.ansible.com/u/Fe_Zheng)\
**Replies:** 1\
**Last updated:** [September 26, 2014, 12:01pm UTC](https://forum.ansible.com/t/ansible-yum-module-can-not-be-used/16350 "2014-09-26T12:01:31Z")

</div>

hi I faced a problem when use ansible module yum. my hosts file /etc/ansible/hosts add eg:10.255.22.102 ansible\_python\_interpreter=/usr/local/python2.7/bin/python this new interpreter is python2.7 when i came back t…

---

## [User module change AIX password](https://forum.ansible.com/t/user-module-change-aix-password/16308)

<div class="topic-metadata">

**Author:** [@Mark6](https://forum.ansible.com/u/Mark6)\
**Replies:** 4\
**Last updated:** [September 26, 2014, 6:08am UTC](https://forum.ansible.com/t/user-module-change-aix-password/16308 "2014-09-26T06:08:43Z")

</div>

This process seems to be elusive for AIX. I have tried several hash types and string substitutions. Any help would be much appreciated. Below is the run of the playbook. ansible-playbook account.yml -i./hosts -k -K SS…

---

## [Idiomatic EC2 project structure](https://forum.ansible.com/t/idiomatic-ec2-project-structure/15907)

<div class="topic-metadata">

**Author:** [@Dominic\_Bou-Samra](https://forum.ansible.com/u/Dominic_Bou-Samra)\
**Replies:** 12\
**Last updated:** [September 25, 2014, 11:56pm UTC](https://forum.ansible.com/t/idiomatic-ec2-project-structure/15907 "2014-09-25T23:56:38Z")

</div>

Hi all, I’ve been playing with Ansible as a solution to our deployment infrastructure. Our stack is: Dozens of “transporters” running on EC2. Dozens of “detectors” running on EC2 Production and staging environments Mu…

---

## [Tower - Pause Module](https://forum.ansible.com/t/tower-pause-module/16344)

<div class="topic-metadata">

**Author:** [@Lui](https://forum.ansible.com/u/Lui)\
**Replies:** 3\
**Last updated:** [September 25, 2014, 8:23pm UTC](https://forum.ansible.com/t/tower-pause-module/16344 "2014-09-25T20:23:35Z")

</div>

When using the “Pause” module in a playbook and running via Tower how do you resume?

---

## [windows updates](https://forum.ansible.com/t/windows-updates/16292)

<div class="topic-metadata">

**Author:** [@Dann\_Bohn](https://forum.ansible.com/u/Dann_Bohn)\
**Replies:** 3\
**Last updated:** [September 25, 2014, 8:05pm UTC](https://forum.ansible.com/t/windows-updates/16292 "2014-09-25T20:05:09Z")

</div>

Hi all, I’m pinging the group to see if anyone is interested / working on windows update support (running updates, checking config) – I’m not a windows admin, but this is something that i’d like to see. Am I going abou…

---

## [Any support for template in Windows?](https://forum.ansible.com/t/any-support-for-template-in-windows/16265)

<div class="topic-metadata">

**Author:** [@Daniel\_Spisak](https://forum.ansible.com/u/Daniel_Spisak)\
**Replies:** 7\
**Last updated:** [September 25, 2014, 7:55pm UTC](https://forum.ansible.com/t/any-support-for-template-in-windows/16265 "2014-09-25T19:55:22Z")

</div>

Hi there, somewhat new to Ansible, just using it for the past year on Linux hosts. I’m working on a project that has me applying ansible to a windows deployment scenario and I find myself in need of the template capabili…

---

## [using copy module, with\_items and a vault](https://forum.ansible.com/t/using-copy-module-with-items-and-a-vault/16340)

<div class="topic-metadata">

**Author:** [@Tom\_Ekberg](https://forum.ansible.com/u/Tom_Ekberg)\
**Replies:** 2\
**Last updated:** [September 25, 2014, 6:58pm UTC](https://forum.ansible.com/t/using-copy-module-with-items-and-a-vault/16340 "2014-09-25T18:58:51Z")

</div>

I’ve been having trouble with the copy module, using with\_items and a vault. I pulled the devel version of ansible so the version should be 1.7.2 + changes added since then. I put the whole thing in a public bitbucket r…

---

## [help avoiding u" prefixes on template generated output of a dictionary](https://forum.ansible.com/t/help-avoiding-u-prefixes-on-template-generated-output-of-a-dictionary/16324)

<div class="topic-metadata">

**Author:** [@kesten\_broughton1](https://forum.ansible.com/u/kesten_broughton1)\
**Replies:** 6\
**Last updated:** [September 25, 2014, 5:58pm UTC](https://forum.ansible.com/t/help-avoiding-u-prefixes-on-template-generated-output-of-a-dictionary/16324 "2014-09-25T17:58:38Z")

</div>

The goal is to define a dictionary like dict1: int1: 5 str1: "four" and be able to template output the dictionary as a whole (not leaf by leaf) such that the output looks like dict1: {"int1": 5, "srt1": "four"} …

---

## [cloudformation module support for AWS Security Token](https://forum.ansible.com/t/cloudformation-module-support-for-aws-security-token/16331)

<div class="topic-metadata">

**Author:** [@Mick\_Bass](https://forum.ansible.com/u/Mick_Bass)\
**Replies:** 2\
**Last updated:** [September 25, 2014, 4:23pm UTC](https://forum.ansible.com/t/cloudformation-module-support-for-aws-security-token/16331 "2014-09-25T16:23:57Z")

</div>

We have been using the cloudformation module for quite some time, and now need to use it with STS temporary credentials, but the cloudformation module (among others) does not appear to support the AWS Security Token. Ar…

---

## [Ansible 1.7 shell module doesnt wait for background jobs to finish](https://forum.ansible.com/t/ansible-1-7-shell-module-doesnt-wait-for-background-jobs-to-finish/16334)

<div class="topic-metadata">

**Author:** [@oravirt](https://forum.ansible.com/u/oravirt)\
**Replies:** 7\
**Last updated:** [September 25, 2014, 1:36pm UTC](https://forum.ansible.com/t/ansible-1-7-shell-module-doesnt-wait-for-background-jobs-to-finish/16334 "2014-09-25T13:36:05Z")

</div>

Hi, I’m using Ansible to install Oracle and it’s been working great on 1.6, but when I hit 1.7 some of the tasks using the shell module started behaving differently, specifically with jobs in the background. The oracle…

---

## [Help understanding the copy module's "validate" parameter](https://forum.ansible.com/t/help-understanding-the-copy-modules-validate-parameter/16335)

<div class="topic-metadata">

**Author:** [@Dan\_Bohea](https://forum.ansible.com/u/Dan_Bohea)\
**Replies:** 2\
**Last updated:** [September 25, 2014, 12:06pm UTC](https://forum.ansible.com/t/help-understanding-the-copy-modules-validate-parameter/16335 "2014-09-25T12:06:43Z")

</div>

Pretty sure I need to use the validate parameter in a copy task but am unclear on how to use it. Here’s my copy task for context: \` \` copy: src={{ item }} dest=/home/vagrant/.drush/{{ boxname }}.aliases.drushrc.php …

---

## [Get list of subnets for ec2\_elb\_lb](https://forum.ansible.com/t/get-list-of-subnets-for-ec2-elb-lb/16329)

<div class="topic-metadata">

**Author:** [@Steven\_Ringo](https://forum.ansible.com/u/Steven_Ringo)\
**Replies:** 0\
**Last updated:** [September 24, 2014, 11:18pm UTC](https://forum.ansible.com/t/get-list-of-subnets-for-ec2-elb-lb/16329 "2014-09-24T23:18:15Z")

</div>

Hi, ec2\_elb\_lb wants subnets as a list of IDs. Using tags to identify subnets is more useful to us. Anyone know if there is a way get a list of subnets for a VPC, given a dictionary of tags. Thanks, Steve

---

## [Notify based on with\_items variable](https://forum.ansible.com/t/notify-based-on-with-items-variable/16328)

<div class="topic-metadata">

**Author:** [@Paul\_Wolstenholme](https://forum.ansible.com/u/Paul_Wolstenholme)\
**Replies:** 2\
**Last updated:** [September 24, 2014, 10:51pm UTC](https://forum.ansible.com/t/notify-based-on-with-items-variable/16328 "2014-09-24T22:51:10Z")

</div>

I’m using the template module and would like loop through a bunch of templates for configuration files and execute and handler if need be. I tried the following. And, it failed. I thought it would be cool to avoid descre…

---

## [docker\_image and path](https://forum.ansible.com/t/docker-image-and-path/16317)

<div class="topic-metadata">

**Author:** [@Christopher\_Lamey](https://forum.ansible.com/u/Christopher_Lamey)\
**Replies:** 4\
**Last updated:** [September 24, 2014, 8:42pm UTC](https://forum.ansible.com/t/docker-image-and-path/16317 "2014-09-24T20:42:48Z")

</div>

Hello, I’m trying to use Docker with Ansible to build a Docker image, but am running into an issue. Any help would be appreciated. Basically, I want to put my docker files in my role’s ‘files’ directory and not have to…

---

## [urlparse filters](https://forum.ansible.com/t/urlparse-filters/16303)

<div class="topic-metadata">

**Author:** [@Jameel\_Al-Aziz](https://forum.ansible.com/u/Jameel_Al-Aziz)\
**Replies:** 5\
**Last updated:** [September 24, 2014, 8:38pm UTC](https://forum.ansible.com/t/urlparse-filters/16303 "2014-09-24T20:38:05Z")

</div>

I added a urljoin filter (https://github.com/jalaziz/ansible/commit/2eb5d1b94732197c651f6962444df88bb90a1575), but am considering adding some other urlparse filters before submitting the PR. Any suggestions on other url …

---

## [Ansible 1.7.2 Released](https://forum.ansible.com/t/ansible-1-7-2-released/16327)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 0\
**Last updated:** [September 24, 2014, 8:06pm UTC](https://forum.ansible.com/t/ansible-1-7-2-released/16327 "2014-09-24T20:06:36Z")

</div>

Hi all, We have released Ansible 1.7.2, which addresses a few bug: Fixes a bug in accelerate mode which caused a traceback when trying to use that connection method. Fixes a bug in vault where the password file option…

---

## [with\_flattened: list vs lookup('flattened',list-of-lists)](https://forum.ansible.com/t/with-flattened-list-vs-lookup-flattened-list-of-lists/16326)

<div class="topic-metadata">

**Author:** [@Josh\_Smift1](https://forum.ansible.com/u/Josh_Smift1)\
**Replies:** 2\
**Last updated:** [September 24, 2014, 7:38pm UTC](https://forum.ansible.com/t/with-flattened-list-vs-lookup-flattened-list-of-lists/16326 "2014-09-24T19:38:13Z")

</div>

We have a playbook like this: - hosts: localhost gather\_facts: false vars: produsers: \[chris, dana\] stgusers: \[pat, sandy\] allusers: \[alex, andy, chris, dan, dana, jamie, pat, sandy, ter…

---

## [Custom ssh\_config Not Working As Expected](https://forum.ansible.com/t/custom-ssh-config-not-working-as-expected/16316)

<div class="topic-metadata">

**Author:** [@James\_Goodhouse](https://forum.ansible.com/u/James_Goodhouse)\
**Replies:** 4\
**Last updated:** [September 24, 2014, 7:28pm UTC](https://forum.ansible.com/t/custom-ssh-config-not-working-as-expected/16316 "2014-09-24T19:28:45Z")

</div>

I am having some issues with a custom ssh\_config file and not sure if I’m doing something wrong, if it’s an ssh bug, or if it’s an Ansible bug. I currently have a custom ssh\_config file placed next to my ansible.cfg fil…

---

## [Roles and sub Roles: A feature or a bug that will be fixed?](https://forum.ansible.com/t/roles-and-sub-roles-a-feature-or-a-bug-that-will-be-fixed/13534)

<div class="topic-metadata">

**Author:** [@Dan7](https://forum.ansible.com/u/Dan7)\
**Replies:** 7\
**Last updated:** [September 24, 2014, 7:12pm UTC](https://forum.ansible.com/t/roles-and-sub-roles-a-feature-or-a-bug-that-will-be-fixed/13534 "2014-09-24T19:12:08Z")

</div>

Hey, I noticed that I can create roles inside roles in dirs of roles. For example I can have the following structure: roles/php5-fpm roles/php5-fpm/pool And then, inside a playbook I can do: Roles: { role: php5-f…

---

## [httplib2 is not installed in fresh venv](https://forum.ansible.com/t/httplib2-is-not-installed-in-fresh-venv/16325)

<div class="topic-metadata">

**Author:** [@david.neudorfer](https://forum.ansible.com/u/david.neudorfer)\
**Replies:** 2\
**Last updated:** [September 24, 2014, 7:10pm UTC](https://forum.ansible.com/t/httplib2-is-not-installed-in-fresh-venv/16325 "2014-09-24T19:10:28Z")

</div>

Inside a fresh virtualenv I installed httplib and ansible and run the following command but ansible complains that httplib2 isn’t installed. Any suggestions how I get this working? Thanks for the help! \` (httplib2\_test…

---

## [about having top-level scope for main() call in modules](https://forum.ansible.com/t/about-having-top-level-scope-for-main-call-in-modules/16251)

<div class="topic-metadata">

**Author:** [@Abhishek\_Kumar](https://forum.ansible.com/u/Abhishek_Kumar)\
**Replies:** 3\
**Last updated:** [September 24, 2014, 4:10pm UTC](https://forum.ansible.com/t/about-having-top-level-scope-for-main-call-in-modules/16251 "2014-09-24T16:10:37Z")

</div>

Hi, What if the call to main() in python-based core modules gets changed to just if \_\_name\_\_ == "\_\_main\_\_": main() it will import all required modules, and still not call main() if imported. Opinions?

---

## [Persistent set\_fact](https://forum.ansible.com/t/persistent-set-fact/16309)

<div class="topic-metadata">

**Author:** [@Hagai\_Kariti](https://forum.ansible.com/u/Hagai_Kariti)\
**Replies:** 6\
**Last updated:** [September 24, 2014, 3:29pm UTC](https://forum.ansible.com/t/persistent-set-fact/16309 "2014-09-24T15:29:02Z")

</div>

Hi I was thinking about extending set\_fact to be able to write the facts given as a local facts file. Something like this: set\_fact: var=value persistent\_file=myvars To create /etc/ansible/facts.d/myvars.fact as a…

---

## [Using \`notify\` with an \`include\` statement silently fails](https://forum.ansible.com/t/using-notify-with-an-include-statement-silently-fails/16319)

<div class="topic-metadata">

**Author:** [@tadej.janez](https://forum.ansible.com/u/tadej.janez)\
**Replies:** 2\
**Last updated:** [September 24, 2014, 3:09pm UTC](https://forum.ansible.com/t/using-notify-with-an-include-statement-silently-fails/16319 "2014-09-24T15:09:03Z")

</div>

Hi! I've recently been bitten by this unintuitive behaviour. For example, in a task like this: - include: foo.yml notify: - test handler the 'test handler' is (silently) not being run. Even adding 'changed\_w…

---

## [Hash merging not working for me (hash\_behaviour = merge)](https://forum.ansible.com/t/hash-merging-not-working-for-me-hash-behaviour-merge/16306)

<div class="topic-metadata">

**Author:** [@Daniel\_Schroeder](https://forum.ansible.com/u/Daniel_Schroeder)\
**Replies:** 5\
**Last updated:** [September 24, 2014, 12:41pm UTC](https://forum.ansible.com/t/hash-merging-not-working-for-me-hash-behaviour-merge/16306 "2014-09-24T12:41:33Z")

</div>

Hello, I want to merge hashes of config files. My ansible.cfg includes this line: hash\_behaviour = merge The ansible.cfg file is in the same directory as my playbook, in other words, the current directly where I’m cd’…

---

## [Hierarchical overrides for playbooks](https://forum.ansible.com/t/hierarchical-overrides-for-playbooks/16288)

<div class="topic-metadata">

**Author:** [@Javier\_Domingo\_Cansi](https://forum.ansible.com/u/Javier_Domingo_Cansi)\
**Replies:** 12\
**Last updated:** [September 24, 2014, 7:53am UTC](https://forum.ansible.com/t/hierarchical-overrides-for-playbooks/16288 "2014-09-24T07:53:55Z")

</div>

Hello, First of all, I am coming from puppet. I have already done some experiments with ansible, and created a user management module, mainly to create the root Authkeys file. This was a little approach to see how overr…

---

## [Getting remote user environment with sudo](https://forum.ansible.com/t/getting-remote-user-environment-with-sudo/12210)

<div class="topic-metadata">

**Author:** [@Michel\_Blanc1](https://forum.ansible.com/u/Michel_Blanc1)\
**Replies:** 12\
**Last updated:** [September 24, 2014, 4:05am UTC](https://forum.ansible.com/t/getting-remote-user-environment-with-sudo/12210 "2014-09-24T04:05:53Z")

</div>

Hi all, It seems I can not get the remote user's environment loaded when using sudo in a playbook (or at the command line). Here is an example : I need to retrieve the installed ruby version with rbenv. Ruby is insta…

---

## [Ability to dump all variables](https://forum.ansible.com/t/ability-to-dump-all-variables/16267)

<div class="topic-metadata">

**Author:** [@Alexander\_Uvizhev](https://forum.ansible.com/u/Alexander_Uvizhev)\
**Replies:** 16\
**Last updated:** [September 24, 2014, 2:28am UTC](https://forum.ansible.com/t/ability-to-dump-all-variables/16267 "2014-09-24T02:28:57Z")

</div>

Hi, I need to dump all the vars available at certain steps of playbook so I tried to follow this tip. At first it looks like it does what I need but then I noticed that dumping vars gives me variables specified only in…

---

## [Clarifying docker and docker\_image module](https://forum.ansible.com/t/clarifying-docker-and-docker-image-module/16310)

<div class="topic-metadata">

**Author:** [@Toshio\_Kuratomi](https://forum.ansible.com/u/Toshio_Kuratomi)\
**Replies:** 1\
**Last updated:** [September 24, 2014, 2:27am UTC](https://forum.ansible.com/t/clarifying-docker-and-docker-image-module/16310 "2014-09-24T02:27:06Z")

</div>

So this bug just hit my radar: https://github.com/ansible/ansible/issues/9104 In a nutshell, when you run the command ansible localhost -m docker -a ‘image=foo state=present’ nothing happens and success is returned. Th…

---

## [Specifying roles dynamically at runtime for playbooks](https://forum.ansible.com/t/specifying-roles-dynamically-at-runtime-for-playbooks/16314)

<div class="topic-metadata">

**Author:** [@Sankalp\_Khare](https://forum.ansible.com/u/Sankalp_Khare)\
**Replies:** 1\
**Last updated:** [September 24, 2014, 1:08am UTC](https://forum.ansible.com/t/specifying-roles-dynamically-at-runtime-for-playbooks/16314 "2014-09-24T01:08:00Z")

</div>

Hi, I often come across the situation where I need to apply some roles X,Y,Z on a bunch of machines. How do I do that without having to edit the list of roles in a playbook? In other words, could there be something of t…

---

## [Reusing existing EC2-Classic targeted Playbooks for EC2-VPC](https://forum.ansible.com/t/reusing-existing-ec2-classic-targeted-playbooks-for-ec2-vpc/16313)

<div class="topic-metadata">

**Author:** [@Sankalp\_Khare](https://forum.ansible.com/u/Sankalp_Khare)\
**Replies:** 1\
**Last updated:** [September 24, 2014, 1:04am UTC](https://forum.ansible.com/t/reusing-existing-ec2-classic-targeted-playbooks-for-ec2-vpc/16313 "2014-09-24T01:04:35Z")

</div>

Hi, Over the past few months using Ansible, I’ve accumulated a handy bunch of playbooks which create different varieties of servers. The top-level directory looks like this : modular-role-based-playbooks – \[-rw-r–r–\]…

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

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