# Latest

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

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

**Page:** 864

---

## [ansible -- vars\_files directory](https://forum.ansible.com/t/ansible-vars-files-directory/18435)

<div class="topic-metadata">

**Author:** [@Gonzalo\_Fernandez](https://forum.ansible.com/u/Gonzalo_Fernandez)\
**Replies:** 0\
**Last updated:** [June 8, 2015, 6:39pm UTC](https://forum.ansible.com/t/ansible-vars-files-directory/18435 "2015-06-08T18:39:55Z")

</div>

Hi I am writing a playbook which looks like the following: name: test hosts: 127.0.0.1 connection: local gather\_facts: yes vars\_files: vars/directory/file.yml roles: I wonder if there is anyway of defining a “…

---

## [Using the same role for configs that go beyond templating](https://forum.ansible.com/t/using-the-same-role-for-configs-that-go-beyond-templating/18431)

<div class="topic-metadata">

**Author:** [@Roger\_Sherman1](https://forum.ansible.com/u/Roger_Sherman1)\
**Replies:** 2\
**Last updated:** [June 8, 2015, 3:45pm UTC](https://forum.ansible.com/t/using-the-same-role-for-configs-that-go-beyond-templating/18431 "2015-06-08T15:45:54Z")

</div>

Can anyone tell me if there’s a way to use the same role, to pass completely different config files to an app? My issue is I need to set up nginx as a load balancer on one node, but as web servers on another node. I can…

---

## [ImportError: No module named six.moves](https://forum.ansible.com/t/importerror-no-module-named-six-moves/18265)

<div class="topic-metadata">

**Author:** [@William\_Attwood](https://forum.ansible.com/u/William_Attwood)\
**Replies:** 5\
**Last updated:** [June 8, 2015, 3:45pm UTC](https://forum.ansible.com/t/importerror-no-module-named-six-moves/18265 "2015-06-08T15:45:15Z")

</div>

Running Ansible 1.9.1 and Vagrant 1.7.2. Recently, without code changes, and with software version updates, every job .yml file when doing a vagrant provision resulted in: stderr: Traceback (most recent call last): Fil…

---

## [Service mysql stopped is not working](https://forum.ansible.com/t/service-mysql-stopped-is-not-working/18426)

<div class="topic-metadata">

**Author:** [@marc\_cyprien](https://forum.ansible.com/u/marc_cyprien)\
**Replies:** 1\
**Last updated:** [June 8, 2015, 3:16pm UTC](https://forum.ansible.com/t/service-mysql-stopped-is-not-working/18426 "2015-06-08T15:16:53Z")

</div>

context I am trying to install mysql for openstack but I got a problem with mysql. Here are my tasks:

---

## [Issue with installing ansible 1.9.1 using python 2.7.10 on Mac OSX (with gather\_facts: yes)](https://forum.ansible.com/t/issue-with-installing-ansible-1-9-1-using-python-2-7-10-on-mac-osx-with-gather-facts-yes/18430)

<div class="topic-metadata">

**Author:** [@AnsibleUser026](https://forum.ansible.com/u/AnsibleUser026)\
**Replies:** 0\
**Last updated:** [June 8, 2015, 3:16pm UTC](https://forum.ansible.com/t/issue-with-installing-ansible-1-9-1-using-python-2-7-10-on-mac-osx-with-gather-facts-yes/18430 "2015-06-08T15:16:08Z")

</div>

I recently upgraded to ansible 1.9.1 and was not successful in executing any of my old playbooks (which ran successfully using 1.7.1) on local MAC (OSX) machine. I’ve tried many things, including installing Python in a c…

---

## [How to combine a dict list and an items list and read the item.key from the dict list](https://forum.ansible.com/t/how-to-combine-a-dict-list-and-an-items-list-and-read-the-item-key-from-the-dict-list/18429)

<div class="topic-metadata">

**Author:** [@Esteban\_Freire](https://forum.ansible.com/u/Esteban_Freire)\
**Replies:** 0\
**Last updated:** [June 8, 2015, 3:07pm UTC](https://forum.ansible.com/t/how-to-combine-a-dict-list-and-an-items-list-and-read-the-item-key-from-the-dict-list/18429 "2015-06-08T15:07:32Z")

</div>

Hello all, I have the following file in vars: groups\_account: project-institute: status: create create\_group\_admin: create group\_admin\_user: test3 group\_admin\_Name: “Pepito” group\_admin\_fullName: ‘GROUP\_ADMIN\_USE…

---

## [Ansible and AWS user for boto](https://forum.ansible.com/t/ansible-and-aws-user-for-boto/18428)

<div class="topic-metadata">

**Author:** [@jaysmythe123](https://forum.ansible.com/u/jaysmythe123)\
**Replies:** 0\
**Last updated:** [June 8, 2015, 12:37pm UTC](https://forum.ansible.com/t/ansible-and-aws-user-for-boto/18428 "2015-06-08T12:37:11Z")

</div>

Hi, Does the AWS user in the .boto file have to be in the Administrators group? I’m only using ansible to manage EC2 instances, but if I try using a user with just ec2:\* access (or the configured AmazonEC2FullAccess pol…

---

## [skip-tags doesn't work for handlers](https://forum.ansible.com/t/skip-tags-doesnt-work-for-handlers/17596)

<div class="topic-metadata">

**Author:** [@Ivaylo\_Bratoev](https://forum.ansible.com/u/Ivaylo_Bratoev)\
**Replies:** 10\
**Last updated:** [June 8, 2015, 12:37pm UTC](https://forum.ansible.com/t/skip-tags-doesnt-work-for-handlers/17596 "2015-06-08T12:37:07Z")

</div>

Is it expected for ansible-playbook with –skip-tags to not skip handlers tagged properly? Let me give an example. If you have the following handler: \` name: NGINX reload service: name: nginx state: reloaded tags:…

---

## [How do you ensure security when using ansible-pull?](https://forum.ansible.com/t/how-do-you-ensure-security-when-using-ansible-pull/18410)

<div class="topic-metadata">

**Author:** [@David\_Reagan](https://forum.ansible.com/u/David_Reagan)\
**Replies:** 10\
**Last updated:** [June 7, 2015, 9:52pm UTC](https://forum.ansible.com/t/how-do-you-ensure-security-when-using-ansible-pull/18410 "2015-06-07T21:52:11Z")

</div>

ansible-pull checks out your entire project repository, then runs whichever playbook you tell it to. That repo is basically a map to your entire infrastructure. So, how do you ensure a compromised server doesn’t reveal …

---

## [Hosts = all, One simple Task - but for multi platform (Windows WinRM + SSH)](https://forum.ansible.com/t/hosts-all-one-simple-task-but-for-multi-platform-windows-winrm-ssh/18423)

<div class="topic-metadata">

**Author:** [@Sassy\_Natan](https://forum.ansible.com/u/Sassy_Natan)\
**Replies:** 1\
**Last updated:** [June 7, 2015, 9:36pm UTC](https://forum.ansible.com/t/hosts-all-one-simple-task-but-for-multi-platform-windows-winrm-ssh/18423 "2015-06-07T21:36:16Z")

</div>

Hi Group, Wonder if someone have a feedback on the following issue: I’m creating two machine in EC2 - One is Windows and the other is Linux. Once VMs are up and running I run a test on Windows which take like 1 hour, …

---

## [Are group\_vars re-evaluated for freshly provisioned EC2 instances with tags matching group names?](https://forum.ansible.com/t/are-group-vars-re-evaluated-for-freshly-provisioned-ec2-instances-with-tags-matching-group-names/16126)

<div class="topic-metadata">

**Author:** [@Craig\_Marvelley](https://forum.ansible.com/u/Craig_Marvelley)\
**Replies:** 11\
**Last updated:** [June 7, 2015, 3:14pm UTC](https://forum.ansible.com/t/are-group-vars-re-evaluated-for-freshly-provisioned-ec2-instances-with-tags-matching-group-names/16126 "2015-06-07T15:14:49Z")

</div>

Hi all! Up until now, I’ve provisioned machines in EC2 in two stages - the first set of playbooks launch the machine and tag it as necessary, and then a second set of playbooks does the proper provisioning, using group\_v…

---

## [What happend? Boto not found? sys is not defined?](https://forum.ansible.com/t/what-happend-boto-not-found-sys-is-not-defined/18421)

<div class="topic-metadata">

**Author:** [@Barry\_Kaplan](https://forum.ansible.com/u/Barry_Kaplan)\
**Replies:** 4\
**Last updated:** [June 7, 2015, 4:16am UTC](https://forum.ansible.com/t/what-happend-boto-not-found-sys-is-not-defined/18421 "2015-06-07T04:16:27Z")

</div>

I’ve been running these playbooks with ansible 1.9.1 and 1.9.2 for weeks now on this same workstations. Now all of the sudden I get the below error. I have no idea what could have triggered this. Anybody seen this befor…

---

## [Windows Tag MisMatch](https://forum.ansible.com/t/windows-tag-mismatch/18362)

<div class="topic-metadata">

**Author:** [@deloreandave](https://forum.ansible.com/u/deloreandave)\
**Replies:** 9\
**Last updated:** [June 6, 2015, 6:40pm UTC](https://forum.ansible.com/t/windows-tag-mismatch/18362 "2015-06-06T18:40:26Z")

</div>

I can’t seem to get anything to work over winrm. I keep getting this error no matter what I try. I have run the setup scripts. \[ansible-stuff\]$ ansible -i inventory windows7-ansible4 -m setup -vvvv ESTABLISH WINRM CON…

---

## [Access to files from library in a role](https://forum.ansible.com/t/access-to-files-from-library-in-a-role/18364)

<div class="topic-metadata">

**Author:** [@zorggy01](https://forum.ansible.com/u/zorggy01)\
**Replies:** 9\
**Last updated:** [June 6, 2015, 5:40pm UTC](https://forum.ansible.com/t/access-to-files-from-library-in-a-role/18364 "2015-06-06T17:40:19Z")

</div>

Hello, I’ve created a role with its main task using my Python module that should access a yaml file located in files dir of the role: \` roles my\_role tasks main.yml library my\_module files my\_file.yml \` From …

---

## [Register variable locally and use on remote host](https://forum.ansible.com/t/register-variable-locally-and-use-on-remote-host/18419)

<div class="topic-metadata">

**Author:** [@David\_Pires](https://forum.ansible.com/u/David_Pires)\
**Replies:** 13\
**Last updated:** [June 6, 2015, 10:44am UTC](https://forum.ansible.com/t/register-variable-locally-and-use-on-remote-host/18419 "2015-06-06T10:44:19Z")

</div>

I am trying to use the route53 module in a playbook. If i install boto and add credentials the play works (reading a record and registering it), however I want to know if I can do this locally (where boto is installed) …

---

## [Using host groups in a playbook](https://forum.ansible.com/t/using-host-groups-in-a-playbook/18420)

<div class="topic-metadata">

**Author:** [@Istvan\_Szukacs](https://forum.ansible.com/u/Istvan_Szukacs)\
**Replies:** 1\
**Last updated:** [June 6, 2015, 3:58am UTC](https://forum.ansible.com/t/using-host-groups-in-a-playbook/18420 "2015-06-06T03:58:30Z")

</div>

Hi everybody, I was wondering what is the most idiomatic way of doing the following:

---

## [When running the shell module in a playbook, how to pass a url to the script?](https://forum.ansible.com/t/when-running-the-shell-module-in-a-playbook-how-to-pass-a-url-to-the-script/18412)

<div class="topic-metadata">

**Author:** [@Emil\_Kacperski1](https://forum.ansible.com/u/Emil_Kacperski1)\
**Replies:** 6\
**Last updated:** [June 5, 2015, 11:32pm UTC](https://forum.ansible.com/t/when-running-the-shell-module-in-a-playbook-how-to-pass-a-url-to-the-script/18412 "2015-06-05T23:32:57Z")

</div>

Hello, If I am running the shell module to run a script and I want to pass a url into the script how would I do this? Can’t use a variable because it’s not a dict word? For example the script is : echo $url \> test.out…

---

## [ec2\_group fails if security group already exists](https://forum.ansible.com/t/ec2-group-fails-if-security-group-already-exists/18411)

<div class="topic-metadata">

**Author:** [@Gonzalo\_Fernandez](https://forum.ansible.com/u/Gonzalo_Fernandez)\
**Replies:** 2\
**Last updated:** [June 5, 2015, 8:27pm UTC](https://forum.ansible.com/t/ec2-group-fails-if-security-group-already-exists/18411 "2015-06-05T20:27:54Z")

</div>

Hi I am having the following problem If I try to run the following Sec\_Rule it works ok, but if I re-run it it fails \` ec2\_security\_groups\_test: sg\_name: test-grup sg\_description: test-group vpc\_id: “vpc-XXXXXX” …

---

## [\--tags tag1 AND tag2, possible?](https://forum.ansible.com/t/tags-tag1-and-tag2-possible/18408)

<div class="topic-metadata">

**Author:** [@Nusenu1](https://forum.ansible.com/u/Nusenu1)\
**Replies:** 4\
**Last updated:** [June 5, 2015, 7:39pm UTC](https://forum.ansible.com/t/tags-tag1-and-tag2-possible/18408 "2015-06-05T19:39:20Z")

</div>

Hi, I have a role which supports multiple platforms (Debian, RHEL, FreeBSD, OpenBSD). I use 'when: ansible\_pkg\_mgr == ...' a lot to autodetect, but that results in a lot of skipping... so I thought I might use tags i…

---

## [Where's my post?](https://forum.ansible.com/t/wheres-my-post/18418)

<div class="topic-metadata">

**Author:** [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Replies:** 0\
**Last updated:** [June 5, 2015, 6:29pm UTC](https://forum.ansible.com/t/wheres-my-post/18418 "2015-06-05T18:29:24Z")

</div>

We manually approve to prevent spam and trolling, so sometimes you get a delay due to human sleep requirements.

---

## [V2 is live](https://forum.ansible.com/t/v2-is-live/18374)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 5\
**Last updated:** [June 5, 2015, 2:33pm UTC](https://forum.ansible.com/t/v2-is-live/18374 "2015-06-05T14:33:17Z")

</div>

Hi all, the transition on devel to the v2 codebase is complete. If you run into any problems and want to switch back to using the old v1 codebase from a git checkout, simply source the hacking script in the v1 directory …

---

## [git pull not supported by ansible git module?](https://forum.ansible.com/t/git-pull-not-supported-by-ansible-git-module/18402)

<div class="topic-metadata">

**Author:** [@namrata.deka](https://forum.ansible.com/u/namrata.deka)\
**Replies:** 2\
**Last updated:** [June 5, 2015, 2:20pm UTC](https://forum.ansible.com/t/git-pull-not-supported-by-ansible-git-module/18402 "2015-06-05T14:20:28Z")

</div>

I have a private git repo and I want it cloned onto my remote servers in the first execution of my playbook. Thereafter I want my repo to be pulled, not cloned over and over again for any change i make in the repository.…

---

## [Bug in top-level playbook: tags broken](https://forum.ansible.com/t/bug-in-top-level-playbook-tags-broken/18403)

<div class="topic-metadata">

**Author:** [@jang](https://forum.ansible.com/u/jang)\
**Replies:** 2\
**Last updated:** [June 5, 2015, 1:53pm UTC](https://forum.ansible.com/t/bug-in-top-level-playbook-tags-broken/18403 "2015-06-05T13:53:54Z")

</div>

See the attachment. With ansible 1.7.2 this works as expected: % ansible-playbook --version ansible-playbook 1.7.2 % ansible-playbook -i hosts/localhost a.yml --tags b PLAY \[localhost\] (attachments)x.tar.gz (308 Byt…

---

## [use password lookup together with vault?](https://forum.ansible.com/t/use-password-lookup-together-with-vault/18416)

<div class="topic-metadata">

**Author:** [@Ulrich\_Hochholdinger](https://forum.ansible.com/u/Ulrich_Hochholdinger)\
**Replies:** 1\
**Last updated:** [June 5, 2015, 10:19am UTC](https://forum.ansible.com/t/use-password-lookup-together-with-vault/18416 "2015-06-05T10:19:58Z")

</div>

Hi, is it possible to keep the password information generated with the password lookup in a vault-encrypted file? I want to generate new random passwords for new machines and keep them idempotent. But the already gener…

---

## [elasticache module doesn't work](https://forum.ansible.com/t/elasticache-module-doesnt-work/18406)

<div class="topic-metadata">

**Author:** [@Giovanni\_Albero](https://forum.ansible.com/u/Giovanni_Albero)\
**Replies:** 6\
**Last updated:** [June 5, 2015, 9:20am UTC](https://forum.ansible.com/t/elasticache-module-doesnt-work/18406 "2015-06-05T09:20:23Z")

</div>

Hi, I’ve tried to create an instance of elasticache, and when I’ve executed the script ansible has returned this failed: \[localhost\] =\> {“failed”: true} msg: Use of cache security groups is not permitted in this API …

---

## [Access all the sub-elements in a yaml map](https://forum.ansible.com/t/access-all-the-sub-elements-in-a-yaml-map/18415)

<div class="topic-metadata">

**Author:** [@Naween\_Ghimire](https://forum.ansible.com/u/Naween_Ghimire)\
**Replies:** 2\
**Last updated:** [June 5, 2015, 6:42am UTC](https://forum.ansible.com/t/access-all-the-sub-elements-in-a-yaml-map/18415 "2015-06-05T06:42:26Z")

</div>

Hi I have been trying to access all the sub-elements available in a map but i am unable to do so: Here’s my usecase: A yaml map is defined as follows: object: element1: “value1” element2: “value2” element3: “value3…

---

## [wait\_for, ssh config, & SOCKs](https://forum.ansible.com/t/wait-for-ssh-config-socks/18382)

<div class="topic-metadata">

**Author:** [@fortescue](https://forum.ansible.com/u/fortescue)\
**Replies:** 2\
**Last updated:** [June 5, 2015, 6:32am UTC](https://forum.ansible.com/t/wait-for-ssh-config-socks/18382 "2015-06-05T06:32:31Z")

</div>

Hi, I am trying to figure out how to use wait\_for to start to detect ssh on a VPC host that needs to use 2 tunnels to be reached. I cannot use the IP address as it collides with my local network. DNS also doesn’t work b…

---

## [Launch ec2 instances in multiple availability zones in single play](https://forum.ansible.com/t/launch-ec2-instances-in-multiple-availability-zones-in-single-play/18414)

<div class="topic-metadata">

**Author:** [@igorc](https://forum.ansible.com/u/igorc)\
**Replies:** 2\
**Last updated:** [June 5, 2015, 6:19am UTC](https://forum.ansible.com/t/launch-ec2-instances-in-multiple-availability-zones-in-single-play/18414 "2015-06-05T06:19:47Z")

</div>

Hi all, I’ve been looking for the best way to achieve what is mentioned in the title of the message but haven’t found any. At least not one that will produce a satisfactory result which can be used further down in the s…

---

## [ec2\_group fails if security group already exists](https://forum.ansible.com/t/ec2-group-fails-if-security-group-already-exists/18413)

<div class="topic-metadata">

**Author:** [@Gonzalo\_Fernandez](https://forum.ansible.com/u/Gonzalo_Fernandez)\
**Replies:** 0\
**Last updated:** [June 5, 2015, 3:21am UTC](https://forum.ansible.com/t/ec2-group-fails-if-security-group-already-exists/18413 "2015-06-05T03:21:41Z")

</div>

Hi I am having the following. Given the following Variable rule: ec2\_security\_groups\_test: sg\_name: test-group sg\_description: test-group vpc\_id: “vpc-XXXXXX” region: “{{ region }}” sg\_rules: proto: 50 from\_por…

---

## [Adding basic cloud-init functionality to the oVirt module](https://forum.ansible.com/t/adding-basic-cloud-init-functionality-to-the-ovirt-module/18399)

<div class="topic-metadata">

**Author:** [@Josha\_Inglis](https://forum.ansible.com/u/Josha_Inglis)\
**Replies:** 2\
**Last updated:** [June 5, 2015, 1:51am UTC](https://forum.ansible.com/t/adding-basic-cloud-init-functionality-to-the-ovirt-module/18399 "2015-06-05T01:51:29Z")

</div>

Hi guys, I’d like to add some functionality to the oVirt module that takes advantage of cloud-init to insert a user/key into authorised hosts. Also I intend to create a dynamic inventory module for oVirt (essentially mi…

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

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