# Latest

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

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

**Page:** 1004

---

## [Ansible + Vagrant with VirtualBox ssh error](https://forum.ansible.com/t/ansible-vagrant-with-virtualbox-ssh-error/14143)

<div class="topic-metadata">

**Author:** [@Seth\_Edwards](https://forum.ansible.com/u/Seth_Edwards)\
**Replies:** 2\
**Last updated:** [December 14, 2013, 10:14pm UTC](https://forum.ansible.com/t/ansible-vagrant-with-virtualbox-ssh-error/14143 "2013-12-14T22:14:25Z")

</div>

I’ve just recently started using Ansible + Vagrant and I have a multi-machine Vagrant file which I’ve put in this pastebin http://pastebin.com/91GLiJaD When I run ‘vagrant up’ sometimes it works and other times I get e…

---

## [Global roles repository](https://forum.ansible.com/t/global-roles-repository/14158)

<div class="topic-metadata">

**Author:** [@Eugene\_Dounar](https://forum.ansible.com/u/Eugene_Dounar)\
**Replies:** 1\
**Last updated:** [December 14, 2013, 9:32pm UTC](https://forum.ansible.com/t/global-roles-repository/14158 "2013-12-14T21:32:05Z")

</div>

Hi all! Is there any project intended for easy sharing and reusing ansible roles? Like rubygems for ruby, npm for nodejs or composer for php? I’ve Searched Github issues, and this mailing list and found nothing similar. …

---

## [Conditionally updating a list?](https://forum.ansible.com/t/conditionally-updating-a-list/14156)

<div class="topic-metadata">

**Author:** [@Ross\_Becker](https://forum.ansible.com/u/Ross_Becker)\
**Replies:** 4\
**Last updated:** [December 14, 2013, 5:41pm UTC](https://forum.ansible.com/t/conditionally-updating-a-list/14156 "2013-12-14T17:41:55Z")

</div>

So, I’m looking for a way to add items to a list conditionally. The point of the list is to be provided for a with\_items clause. I know I can evaluate python in jinja expressions, but it seems that those changes may be l…

---

## [Cron with\_items hash + spaces](https://forum.ansible.com/t/cron-with-items-hash-spaces/14154)

<div class="topic-metadata">

**Author:** [@BrianAI](https://forum.ansible.com/u/BrianAI)\
**Replies:** 3\
**Last updated:** [December 14, 2013, 4:12am UTC](https://forum.ansible.com/t/cron-with-items-hash-spaces/14154 "2013-12-14T04:12:30Z")

</div>

Another question folks. When I try the following bit of code, it seems to choke: 10 - name: set cron for any cron-able scripts 11 cron: name={{ item.name }} job={{ item.job }} state=present 12 with\_items: 13 - { na…

---

## [Yum Local Install Variable](https://forum.ansible.com/t/yum-local-install-variable/14152)

<div class="topic-metadata">

**Author:** [@BrianAI](https://forum.ansible.com/u/BrianAI)\
**Replies:** 8\
**Last updated:** [December 14, 2013, 3:59am UTC](https://forum.ansible.com/t/yum-local-install-variable/14152 "2013-12-14T03:59:45Z")

</div>

All; I am building an RPM for a machine using rpm-build. I then need to take the rpm it built, and I want to use yum to install that. Below is my .yml playbook and the error that accompanies trying to install it. Any th…

---

## [Feature request - support docker container names (I'll code it!)](https://forum.ansible.com/t/feature-request-support-docker-container-names-ill-code-it/14146)

<div class="topic-metadata">

**Author:** [@Rob\_Martin](https://forum.ansible.com/u/Rob_Martin)\
**Replies:** 3\
**Last updated:** [December 13, 2013, 9:43pm UTC](https://forum.ansible.com/t/feature-request-support-docker-container-names-ill-code-it/14146 "2013-12-13T21:43:12Z")

</div>

I’m in a position where I need to name docker containers, which is supported as of Docker 0.6.5 and docker-py as of 0.2.3. But the Ansible docker module doesn’t support it, so I’m coding it. There are some issues around…

---

## [Associate AWS EC2 elastic IP address with instance](https://forum.ansible.com/t/associate-aws-ec2-elastic-ip-address-with-instance/14153)

<div class="topic-metadata">

**Author:** [@Viacheslav\_Kuzmenko](https://forum.ansible.com/u/Viacheslav_Kuzmenko)\
**Replies:** 6\
**Last updated:** [December 13, 2013, 9:34pm UTC](https://forum.ansible.com/t/associate-aws-ec2-elastic-ip-address-with-instance/14153 "2013-12-13T21:34:56Z")

</div>

Hi, I'm trying to associate AWS EC2 elastic IP address with instance but I'm getting the following error: PLAY \[EC2 instance\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* TASK: \[allocate a new elastic I…

---

## [git module with gitlab](https://forum.ansible.com/t/git-module-with-gitlab/14155)

<div class="topic-metadata">

**Author:** [@David\_Neudorfer](https://forum.ansible.com/u/David_Neudorfer)\
**Replies:** 4\
**Last updated:** [December 13, 2013, 9:26pm UTC](https://forum.ansible.com/t/git-module-with-gitlab/14155 "2013-12-13T21:26:03Z")

</div>

Trying to clone a repo git@git.lbox.com:douglas.goodwin/rodney.git returns stderr: ssh: Could not resolve hostname git.lbox.com:douglas.goodwin: Name or service not known The git module is trying to use douglas.goodw…

---

## [Ansible modules forced to non-exec permissions when uploaded to remote node](https://forum.ansible.com/t/ansible-modules-forced-to-non-exec-permissions-when-uploaded-to-remote-node/14142)

<div class="topic-metadata">

**Author:** [@Steven\_Haddox](https://forum.ansible.com/u/Steven_Haddox)\
**Replies:** 11\
**Last updated:** [December 13, 2013, 8:55pm UTC](https://forum.ansible.com/t/ansible-modules-forced-to-non-exec-permissions-when-uploaded-to-remote-node/14142 "2013-12-13T20:55:46Z")

</div>

Due to the joys of Enterprise security, it appears that ansible is hanging (literally just sits until I Ctl+C like 10 minutes later) when trying to run any modules besides raw. So for an example of a working command: $…

---

## [roles an funky playbooks](https://forum.ansible.com/t/roles-an-funky-playbooks/14136)

<div class="topic-metadata">

**Author:** [@Dimon](https://forum.ansible.com/u/Dimon)\
**Replies:** 7\
**Last updated:** [December 13, 2013, 8:31pm UTC](https://forum.ansible.com/t/roles-an-funky-playbooks/14136 "2013-12-13T20:31:06Z")

</div>

Hi, I have a usecase for split-playbook but I still want to maintain it all under the same structure. In my case I’d like to split two phases “install” and “configure” but retain most of the vars etc. between two. What…

---

## [struggling with loops](https://forum.ansible.com/t/struggling-with-loops/14148)

<div class="topic-metadata">

**Author:** [@Dimon](https://forum.ansible.com/u/Dimon)\
**Replies:** 3\
**Last updated:** [December 13, 2013, 8:17pm UTC](https://forum.ansible.com/t/struggling-with-loops/14148 "2013-12-13T20:17:23Z")

</div>

Hi, I’m trying to loop over a list of arrays but I seem to be picking up each array element instead of entire array on each pass: hosts: all vars: hello: \[ ‘Hello’, ‘world’\] \[ ‘Goodbye’, ‘people’\] tasks: name: Testi…

---

## [Custom inventory with group-based lookup](https://forum.ansible.com/t/custom-inventory-with-group-based-lookup/14144)

<div class="topic-metadata">

**Author:** [@E.C\_Raymond](https://forum.ansible.com/u/E.C_Raymond)\
**Replies:** 13\
**Last updated:** [December 13, 2013, 5:50pm UTC](https://forum.ansible.com/t/custom-inventory-with-group-based-lookup/14144 "2013-12-13T17:50:35Z")

</div>

We have a database that is populated with host and group information. I have searched through various documents on the ansible site and looked at the inventory plugins, but I am not sure how to implement what I need. We…

---

## [ansible on windows - on the roadmap?](https://forum.ansible.com/t/ansible-on-windows-on-the-roadmap/13171)

<div class="topic-metadata">

**Author:** [@Eric\_Palmer1](https://forum.ansible.com/u/Eric_Palmer1)\
**Replies:** 11\
**Last updated:** [December 13, 2013, 4:45pm UTC](https://forum.ansible.com/t/ansible-on-windows-on-the-roadmap/13171 "2013-12-13T16:45:38Z")

</div>

Just wondering what the plans are for using a windows system for the controlling ansible host. I use mac and various linux versions and don’t use windows but I have been talking up ansible to friends and some of them are…

---

## [Internal process?](https://forum.ansible.com/t/internal-process/14138)

<div class="topic-metadata">

**Author:** [@Aaron\_Wang](https://forum.ansible.com/u/Aaron_Wang)\
**Replies:** 2\
**Last updated:** [December 13, 2013, 3:55pm UTC](https://forum.ansible.com/t/internal-process/14138 "2013-12-13T15:55:32Z")

</div>

I’m trying to read ansible’s source code, it would be much easier if there are some overall guidelines of how ansible is running internally, like, when to load related files, how to interpret playbook step by step. Can’t…

---

## [Gathering Facts "hanging" for a single host](https://forum.ansible.com/t/gathering-facts-hanging-for-a-single-host/14093)

<div class="topic-metadata">

**Author:** [@Drew\_Decker](https://forum.ansible.com/u/Drew_Decker)\
**Replies:** 16\
**Last updated:** [December 13, 2013, 3:23pm UTC](https://forum.ansible.com/t/gathering-facts-hanging-for-a-single-host/14093 "2013-12-13T15:23:33Z")

</div>

I have a host that, when I run a playbook against it, it fails at gathering facts. Unfortunately, it just hangs: ansible-playbook -i test playbooks/get\_release\_versions/site.yml -f 10 -vvvv PLAY \[Grabs all release vers…

---

## [OSError: \[Errno 17\] File exists: '/home/travis/.fireball.keys'](https://forum.ansible.com/t/oserror-errno-17-file-exists-home-travis-fireball-keys/14151)

<div class="topic-metadata">

**Author:** [@tannerjc](https://forum.ansible.com/u/tannerjc)\
**Replies:** 0\
**Last updated:** [December 13, 2013, 3:21pm UTC](https://forum.ansible.com/t/oserror-errno-17-file-exists-home-travis-fireball-keys/14151 "2013-12-13T15:21:10Z")

</div>

This is the codeblock where the directory is created ... key\_path = os.path.expanduser("~/.fireball.keys") if not os.path.exists(key\_path): os.makedirs(key\_path) Once the traceback occurs, does the…

---

## [Use host IP as variable in other host](https://forum.ansible.com/t/use-host-ip-as-variable-in-other-host/14150)

<div class="topic-metadata">

**Author:** [@user44](https://forum.ansible.com/u/user44)\
**Replies:** 1\
**Last updated:** [December 13, 2013, 3:20pm UTC](https://forum.ansible.com/t/use-host-ip-as-variable-in-other-host/14150 "2013-12-13T15:20:58Z")

</div>

Hello! I have two servers. For example, srv1 and srv2. I need to provide IP address srv1 in the configuration srv2. How this can be done using the ip address obtained through the facts?

---

## [module subversion, export option](https://forum.ansible.com/t/module-subversion-export-option/14149)

<div class="topic-metadata">

**Author:** [@Baptiste\_Lafontaine](https://forum.ansible.com/u/Baptiste_Lafontaine)\
**Replies:** 0\
**Last updated:** [December 13, 2013, 8:57am UTC](https://forum.ansible.com/t/module-subversion-export-option/14149 "2013-12-13T08:57:14Z")

</div>

Hi, The subversion only offers to “checkout” (or update) the code. The pull request offers a “export” option that allows to export the code. It feels cleaner in production to not have the .svn directories and permits to…

---

## [Nested variable expansion](https://forum.ansible.com/t/nested-variable-expansion/14145)

<div class="topic-metadata">

**Author:** [@Anand\_Buddhdev2](https://forum.ansible.com/u/Anand_Buddhdev2)\
**Replies:** 2\
**Last updated:** [December 13, 2013, 12:02am UTC](https://forum.ansible.com/t/nested-variable-expansion/14145 "2013-12-13T00:02:39Z")

</div>

Hello ansible devs and users, In a variables file, I’d like to do something like this: iface: eth0 address:“{{ ansible\_{{ iface }}.ipv4.address }}” However, this does not work. In a task or template, instead of getti…

---

## [A bit of lightweight entertainment](https://forum.ansible.com/t/a-bit-of-lightweight-entertainment/14137)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 10\
**Last updated:** [December 12, 2013, 9:08pm UTC](https://forum.ansible.com/t/a-bit-of-lightweight-entertainment/14137 "2013-12-12T21:08:10Z")

</div>

I have long threatened to make a Mac computer lab, using the “say” vocalization tool and the osx\_say module in Ansible, perform a work of Shakespeare on a group of computers all sitting across from one another. Alas, I’…

---

## [seemingly random Failed to parse JSON on setup](https://forum.ansible.com/t/seemingly-random-failed-to-parse-json-on-setup/14043)

<div class="topic-metadata">

**Author:** [@Paul\_Hassinger](https://forum.ansible.com/u/Paul_Hassinger)\
**Replies:** 13\
**Last updated:** [December 12, 2013, 6:11pm UTC](https://forum.ansible.com/t/seemingly-random-failed-to-parse-json-on-setup/14043 "2013-12-12T18:11:02Z")

</div>

In different parts of ansible -m setup, I’ll get varying degrees of the “Failed to parse JSON” message, randomly at different parts, and sometimes not at all. If I add “-f 1”, it appears to work properly. I found the f…

---

## [Update 1.2 -\> 1.4, accept all ssh connections again](https://forum.ansible.com/t/update-1-2-1-4-accept-all-ssh-connections-again/14140)

<div class="topic-metadata">

**Author:** [@Marc\_Patermann](https://forum.ansible.com/u/Marc_Patermann)\
**Replies:** 2\
**Last updated:** [December 12, 2013, 3:54pm UTC](https://forum.ansible.com/t/update-1-2-1-4-accept-all-ssh-connections-again/14140 "2013-12-12T15:54:40Z")

</div>

Hi, I upgraded from 1.2 to 1.4 and tested a playbook. I had to accept all ssh connections once again. "The authenticity of host 'foo (10.10.20.60)' can't be established." What change caused this? Marc

---

## [elasticache\_facts module](https://forum.ansible.com/t/elasticache-facts-module/14141)

<div class="topic-metadata">

**Author:** [@Baptiste\_Lafontaine](https://forum.ansible.com/u/Baptiste_Lafontaine)\
**Replies:** 0\
**Last updated:** [December 12, 2013, 3:32pm UTC](https://forum.ansible.com/t/elasticache-facts-module/14141 "2013-12-12T15:32:18Z")

</div>

Hi, I’ve created a module elasticache\_facts which allow users to get facts such as endpoint address and port from AWS. I’ve created it upon the model of the module ec2\_facts Pull request done here: https://github.com/…

---

## [When changed](https://forum.ansible.com/t/when-changed/14139)

<div class="topic-metadata">

**Author:** [@Mark\_Maas](https://forum.ansible.com/u/Mark_Maas)\
**Replies:** 1\
**Last updated:** [December 12, 2013, 3:16pm UTC](https://forum.ansible.com/t/when-changed/14139 "2013-12-12T15:16:50Z")

</div>

Hi List, I’d like to run this tidbit: name: Patch | Patchen apt: update\_cache=yes upgrade=dist notify: reboot machine register: patched tags: ubuntu\_patch name: Patch | Logging ophalen fetch: dest=/media/s…

---

## [How to run an action for a dynamically–templated host group](https://forum.ansible.com/t/how-to-run-an-action-for-a-dynamically-templated-host-group/14135)

<div class="topic-metadata">

**Author:** [@Joshua\_Conner](https://forum.ansible.com/u/Joshua_Conner)\
**Replies:** 1\
**Last updated:** [December 12, 2013, 2:18pm UTC](https://forum.ansible.com/t/how-to-run-an-action-for-a-dynamically-templated-host-group/14135 "2013-12-12T14:18:15Z")

</div>

Hello! I’m trying to develop an ec2-instances role that I can use to ensure the proper number and type of ec2 instances are running for a given playbook. You can see what I’ve got so far here: https://gist.github.com/jo…

---

## [Serial per group](https://forum.ansible.com/t/serial-per-group/14132)

<div class="topic-metadata">

**Author:** [@Joost\_Cassee](https://forum.ansible.com/u/Joost_Cassee)\
**Replies:** 4\
**Last updated:** [December 12, 2013, 10:54am UTC](https://forum.ansible.com/t/serial-per-group/14132 "2013-12-12T10:54:36Z")

</div>

Hi, The serial option is a great way of upgrading servers behind a load balancer. One of the example playbooks has a HAProxy example that I used, and it works great. I set the serial option upto half of the hosts and th…

---

## [module development: freestyle parameters](https://forum.ansible.com/t/module-development-freestyle-parameters/14031)

<div class="topic-metadata">

**Author:** [@Dimon](https://forum.ansible.com/u/Dimon)\
**Replies:** 7\
**Last updated:** [December 12, 2013, 2:05am UTC](https://forum.ansible.com/t/module-development-freestyle-parameters/14031 "2013-12-12T02:05:40Z")

</div>

Hi, I’m trying to extend yum module to allow passing some “extra” options to it that are provided by some of the yum plugins. I would rather avoid enumeration of all possible options (some I don’t even know what they wi…

---

## [files/ vs roles/foo/files . Can I use both?](https://forum.ansible.com/t/files-vs-roles-foo-files-can-i-use-both/14120)

<div class="topic-metadata">

**Author:** [@Dimon](https://forum.ansible.com/u/Dimon)\
**Replies:** 3\
**Last updated:** [December 12, 2013, 2:03am UTC](https://forum.ansible.com/t/files-vs-roles-foo-files-can-i-use-both/14120 "2013-12-12T02:03:39Z")

</div>

I have a situation where I have files locateed in /files (top-level) and would like to use them within certain roles to avoid duplication. However ansible tells me it can’t find referenced file. Do I need to turn a knob …

---

## [OpenStack Dynamic Inventory](https://forum.ansible.com/t/openstack-dynamic-inventory/14134)

<div class="topic-metadata">

**Author:** [@AmiableAlbion](https://forum.ansible.com/u/AmiableAlbion)\
**Replies:** 4\
**Last updated:** [December 11, 2013, 11:44pm UTC](https://forum.ansible.com/t/openstack-dynamic-inventory/14134 "2013-12-11T23:44:37Z")

</div>

Hi All, I am trying to use the nova.py script provided as a jumping off point for using OpenStack as a dynamic inventory repository.I am experiencing a problem where the script does not work if I use the hostname (claim…

---

## [Escaping $ inside a variable](https://forum.ansible.com/t/escaping-inside-a-variable/12001)

<div class="topic-metadata">

**Author:** [@Janis\_Gengeris](https://forum.ansible.com/u/Janis_Gengeris)\
**Replies:** 10\
**Last updated:** [December 11, 2013, 11:01pm UTC](https://forum.ansible.com/t/escaping-inside-a-variable/12001 "2013-12-11T23:01:31Z")

</div>

I have variable defined in playbook like this: vars: net\_status\_match\_02: “\[1\]+address ${service\_net\_ip}$” How to properly escape the ‘$’ sign? The backslash is not working for me. Thanks, –janis \[:blank:\] ↩︎ …

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

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