# Latest

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

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

**Page:** 765

---

## [Private Key path for ec2\_lc module under userdata field](https://forum.ansible.com/t/private-key-path-for-ec2-lc-module-under-userdata-field/21414)

<div class="topic-metadata">

**Author:** [@Bhotu](https://forum.ansible.com/u/Bhotu)\
**Replies:** 0\
**Last updated:** [May 11, 2016, 7:35pm UTC](https://forum.ansible.com/t/private-key-path-for-ec2-lc-module-under-userdata-field/21414 "2016-05-11T19:35:08Z")

</div>

I am trying to create new instance with ec2\_lc module in ansible. At the time of bootstraping, I want to install some configurations. Those configurations come from the public github file, its basically the ansible playb…

---

## [Query on Async and Poll](https://forum.ansible.com/t/query-on-async-and-poll/21413)

<div class="topic-metadata">

**Author:** [@Aprameya\_NDS](https://forum.ansible.com/u/Aprameya_NDS)\
**Replies:** 0\
**Last updated:** [May 11, 2016, 7:22pm UTC](https://forum.ansible.com/t/query-on-async-and-poll/21413 "2016-05-11T19:22:29Z")

</div>

Hi, I am currently using Ansible for a small traffic tool deployment. The task that i am running is an infinite one which is implemented in a playbook. I have another playbook which would stop based on some conditions. …

---

## [Windows put\_file performance (please test!)](https://forum.ansible.com/t/windows-put-file-performance-please-test/19598)

<div class="topic-metadata">

**Author:** [@Matt\_Davis](https://forum.ansible.com/u/Matt_Davis)\
**Replies:** 27\
**Last updated:** [May 11, 2016, 5:25pm UTC](https://forum.ansible.com/t/windows-put-file-performance-please-test/19598 "2016-05-11T17:25:17Z")

</div>

Chris Church and I have been kicking around a major Windows performance fix for awhile now- I finally got around to merging our efforts together and working some of the bugs out. The result is available here: https://git…

---

## [Jinja2 - snmp\_facts - dynamic template genration](https://forum.ansible.com/t/jinja2-snmp-facts-dynamic-template-genration/21412)

<div class="topic-metadata">

**Author:** [@michal\_trembacz](https://forum.ansible.com/u/michal_trembacz)\
**Replies:** 0\
**Last updated:** [May 11, 2016, 3:50pm UTC](https://forum.ansible.com/t/jinja2-snmp-facts-dynamic-template-genration/21412 "2016-05-11T15:50:47Z")

</div>

Hi, I’m trying to use snmp\_facts module to retrieve information from Cisco IOS device. I want to use this information to generate config. Module works ok, but it returns strange list format that from which i can’t acc…

---

## [Resolved bug about block/rescue does not seem solved to me](https://forum.ansible.com/t/resolved-bug-about-block-rescue-does-not-seem-solved-to-me/21301)

<div class="topic-metadata">

**Author:** [@dcodix](https://forum.ansible.com/u/dcodix)\
**Replies:** 2\
**Last updated:** [May 11, 2016, 3:32pm UTC](https://forum.ansible.com/t/resolved-bug-about-block-rescue-does-not-seem-solved-to-me/21301 "2016-05-11T15:32:07Z")

</div>

Hi, I opened an issue on github: https://github.com/ansible/ansible/issues/14324 Now it has been closed and it did not seem solved to me. I am testing with: ansible 2.2.0 (devel 48d01f63ca) last updated 2016/04/28 14…

---

## [EC2  volume\_size not working](https://forum.ansible.com/t/ec2-volume-size-not-working/21408)

<div class="topic-metadata">

**Author:** [@akhform](https://forum.ansible.com/u/akhform)\
**Replies:** 0\
**Last updated:** [May 11, 2016, 1:11pm UTC](https://forum.ansible.com/t/ec2-volume-size-not-working/21408 "2016-05-11T13:11:48Z")

</div>

Hello all, I’m trying to create an EC2 on my AWS account using Ansible (ansible-playbook 2.0.2.0), and i have an issue modifying the root volume of the EC2, when i add the following parameters: volumes: device\_name: …

---

## [tree/hierarchic structure for inventory?](https://forum.ansible.com/t/tree-hierarchic-structure-for-inventory/18772)

<div class="topic-metadata">

**Author:** [@esco\_real](https://forum.ansible.com/u/esco_real)\
**Replies:** 10\
**Last updated:** [May 11, 2016, 12:53pm UTC](https://forum.ansible.com/t/tree-hierarchic-structure-for-inventory/18772 "2016-05-11T12:53:02Z")

</div>

Hello, I would like to discuss the idea for a hierarchic structure for the inventory. Would it possible to support something like that? For example with this structure: server – atlanta -- web –hosts:web1 – raleig…

---

## [Execution of core-modules failes in action-plugins](https://forum.ansible.com/t/execution-of-core-modules-failes-in-action-plugins/21407)

<div class="topic-metadata">

**Author:** [@Sirk\_Johannsen](https://forum.ansible.com/u/Sirk_Johannsen)\
**Replies:** 0\
**Last updated:** [May 11, 2016, 12:09pm UTC](https://forum.ansible.com/t/execution-of-core-modules-failes-in-action-plugins/21407 "2016-05-11T12:09:17Z")

</div>

Hi, I am trying to write an action plugin that executes 2 core modules. I always get the error message that the plugin I’m trying to execute is missing the interpreter line (#/usr/bin/python) Certainly someone has don…

---

## [How to configuration my network switch with Ansible?](https://forum.ansible.com/t/how-to-configuration-my-network-switch-with-ansible/21403)

<div class="topic-metadata">

**Author:** [@aries](https://forum.ansible.com/u/aries)\
**Replies:** 0\
**Last updated:** [May 11, 2016, 9:32am UTC](https://forum.ansible.com/t/how-to-configuration-my-network-switch-with-ansible/21403 "2016-05-11T09:32:27Z")

</div>

Hi~ My network switch has ssh protocol but no Python installed. Can I use the Ansible via SSH CLI command to configuration? Thanks

---

## [Inventory level files and templates](https://forum.ansible.com/t/inventory-level-files-and-templates/21383)

<div class="topic-metadata">

**Author:** [@Krzysztof\_Zarzycki](https://forum.ansible.com/u/Krzysztof_Zarzycki)\
**Replies:** 5\
**Last updated:** [May 11, 2016, 7:22am UTC](https://forum.ansible.com/t/inventory-level-files-and-templates/21383 "2016-05-11T07:22:07Z")

</div>

Hi! Is it possible to store files or templates per inventory? Similar to how we can store group\_vars per inventory. I often hit the issue with Ansible, that I would like to store a file or a template per inventory (TES…

---

## [ERROR! Unexpected Exception: \[Errno 24\] Too many open files Ansible](https://forum.ansible.com/t/error-unexpected-exception-errno-24-too-many-open-files-ansible/21390)

<div class="topic-metadata">

**Author:** [@Lawrence1](https://forum.ansible.com/u/Lawrence1)\
**Replies:** 1\
**Last updated:** [May 11, 2016, 5:32am UTC](https://forum.ansible.com/t/error-unexpected-exception-errno-24-too-many-open-files-ansible/21390 "2016-05-11T05:32:58Z")

</div>

Hello, Hope you all well ! I can’t execute my Ansible playbook role because there are too many open files. Have you already got this problem ? If you have faced this problem, could you please share your solution ? Ab…

---

## [yum update ansible to latest version fail to install the yum\_repository module](https://forum.ansible.com/t/yum-update-ansible-to-latest-version-fail-to-install-the-yum-repository-module/21392)

<div class="topic-metadata">

**Author:** [@sabarinath\_g](https://forum.ansible.com/u/sabarinath_g)\
**Replies:** 2\
**Last updated:** [May 10, 2016, 6:45pm UTC](https://forum.ansible.com/t/yum-update-ansible-to-latest-version-fail-to-install-the-yum-repository-module/21392 "2016-05-10T18:45:25Z")

</div>

Hi, I have been practicing infrastructure automation using ansible ,at one point i have recognized installation or update of ansible through yum does not have the module yum\_repository in my installation. i have ran an…

---

## [get private ip of instances behind ec2 elastic load balancer](https://forum.ansible.com/t/get-private-ip-of-instances-behind-ec2-elastic-load-balancer/21393)

<div class="topic-metadata">

**Author:** [@saurabh.jha](https://forum.ansible.com/u/saurabh.jha)\
**Replies:** 1\
**Last updated:** [May 10, 2016, 6:00pm UTC](https://forum.ansible.com/t/get-private-ip-of-instances-behind-ec2-elastic-load-balancer/21393 "2016-05-10T18:00:16Z")

</div>

Dear all, I am new to ansible, I want to populate my host file by finding the private ip of instances which are behind the ec2 elb. So that my inventory file is consistent with actual running instances. I don’t seem to…

---

## [\[RFC\] a new module: lxd\_container](https://forum.ansible.com/t/rfc-a-new-module-lxd-container/21396)

<div class="topic-metadata">

**Author:** [@Hiroaki\_Nakamura](https://forum.ansible.com/u/Hiroaki_Nakamura)\
**Replies:** 0\
**Last updated:** [May 10, 2016, 4:29pm UTC](https://forum.ansible.com/t/rfc-a-new-module-lxd-container/21396 "2016-05-10T16:29:08Z")

</div>

Hi all, I created the lxd\_container Ansible module and sent a pull request to the ansible-modules-extra project. "Add lxd\_container module by hnakamur · Pull Request #2208 · ansible/ansible-modules-extras" https://g…

---

## [How to use dictionnary with multiple elements ?](https://forum.ansible.com/t/how-to-use-dictionnary-with-multiple-elements/21394)

<div class="topic-metadata">

**Author:** [@Clement\_VALENTIN](https://forum.ansible.com/u/Clement_VALENTIN)\
**Replies:** 5\
**Last updated:** [May 10, 2016, 3:30pm UTC](https://forum.ansible.com/t/how-to-use-dictionnary-with-multiple-elements/21394 "2016-05-10T15:30:28Z")

</div>

Hi, I need help for use an dictionnary with multiple element, but i don’t find how to :confused: Exemple : vars/mains.yml : users: alice: name: Alice Appleworth telephone: “123-456-7890” “123-456-7891” task/m…

---

## [hosts: launched](https://forum.ansible.com/t/hosts-launched/21395)

<div class="topic-metadata">

**Author:** [@William\_Donnelly](https://forum.ansible.com/u/William_Donnelly)\
**Replies:** 0\
**Last updated:** [May 10, 2016, 2:44pm UTC](https://forum.ansible.com/t/hosts-launched/21395 "2016-05-10T14:44:10Z")

</div>

Hello, Has anyone found the correct syntax for launching a temporary ec2 instance with Ansible, doing some config on it, then using the newly created ip address of the ec2 instance in the the host inventory. This part…

---

## [yum\_repository module (has anyone thought of doing it...)](https://forum.ansible.com/t/yum-repository-module-has-anyone-thought-of-doing-it/12630)

<div class="topic-metadata">

**Author:** [@Jimmy\_Tang](https://forum.ansible.com/u/Jimmy_Tang)\
**Replies:** 17\
**Last updated:** [May 10, 2016, 1:39pm UTC](https://forum.ansible.com/t/yum-repository-module-has-anyone-thought-of-doing-it/12630 "2016-05-10T13:39:04Z")

</div>

Hi All I just noticed that I wanted to run ‘yum-conf-manager’ to add http://ftp1.scientificlinux.org/linux/scientific/6.4/x86\_64/addons/mock-sl6-config/ to my SL machines for testing and realised that there is probably …

---

## [Register shell output in a variable](https://forum.ansible.com/t/register-shell-output-in-a-variable/21384)

<div class="topic-metadata">

**Author:** [@Ivo\_Hechmann](https://forum.ansible.com/u/Ivo_Hechmann)\
**Replies:** 3\
**Last updated:** [May 10, 2016, 12:47pm UTC](https://forum.ansible.com/t/register-shell-output-in-a-variable/21384 "2016-05-10T12:47:44Z")

</div>

Hello team ansible How can I register the output of a script in a variable? Thus, not the script result object with all its attributes like stdout, stderr etc, but only catch the stdout and register as variable? Thank …

---

## [Is it possible to use YAML node references in role task?](https://forum.ansible.com/t/is-it-possible-to-use-yaml-node-references-in-role-task/21391)

<div class="topic-metadata">

**Author:** [@Artem\_Kozlov](https://forum.ansible.com/u/Artem_Kozlov)\
**Replies:** 0\
**Last updated:** [May 10, 2016, 12:25pm UTC](https://forum.ansible.com/t/is-it-possible-to-use-yaml-node-references-in-role-task/21391 "2016-05-10T12:25:08Z")

</div>

Should it be possible to use YAML references in roles task to reference node from vars or defaults file? (I’m using ansible 2.0) E.g I have vars/main.yml: \` docker\_defaults: &docker\_defaults name: “{{name}}” \` And …

---

## [File lookup plugin behavior concerning quotes @abadger, @bcoca](https://forum.ansible.com/t/file-lookup-plugin-behavior-concerning-quotes-abadger-bcoca/21358)

<div class="topic-metadata">

**Author:** [@Rob\_White](https://forum.ansible.com/u/Rob_White)\
**Replies:** 13\
**Last updated:** [May 10, 2016, 11:42am UTC](https://forum.ansible.com/t/file-lookup-plugin-behavior-concerning-quotes-abadger-bcoca/21358 "2016-05-10T11:42:33Z")

</div>

Hi all, This is mostly aimed at the core team… Can you explain why the file lookup plugin changes the contents of the file as far as quotes are concerned? I.e. it changes all double quotes to single quotes. I am not s…

---

## [ERROR! Unexpected Exception: \[Errno 24\] Too many open files Ansible](https://forum.ansible.com/t/error-unexpected-exception-errno-24-too-many-open-files-ansible/21389)

<div class="topic-metadata">

**Author:** [@Lawrence1](https://forum.ansible.com/u/Lawrence1)\
**Replies:** 0\
**Last updated:** [May 10, 2016, 9:02am UTC](https://forum.ansible.com/t/error-unexpected-exception-errno-24-too-many-open-files-ansible/21389 "2016-05-10T09:02:46Z")

</div>

Hello, I can’t execute my ansible playbook because there is too many open files. Have you already got this problem ? If you have already faced this problem, could you please share your solution ? Thanks advance for yo…

---

## [127.0.0.1 and localhost in synchronize module (redux)](https://forum.ansible.com/t/127-0-0-1-and-localhost-in-synchronize-module-redux/21387)

<div class="topic-metadata">

**Author:** [@Bob\_Tanner](https://forum.ansible.com/u/Bob_Tanner)\
**Replies:** 1\
**Last updated:** [May 10, 2016, 5:32am UTC](https://forum.ansible.com/t/127-0-0-1-and-localhost-in-synchronize-module-redux/21387 "2016-05-10T05:32:31Z")

</div>

Run into a similar problem documented at \<https://github.com/ansible/ansible/issues/5240\> and \<https://groups.google.com/d/msg/ansible-project/gT2eie6SVuU/MwUd44Eh15sJ\> I’m not sure if this is a personal problem or a r…

---

## [Copy module can not run in coreos](https://forum.ansible.com/t/copy-module-can-not-run-in-coreos/21356)

<div class="topic-metadata">

**Author:** [@tao\_zhang](https://forum.ansible.com/u/tao_zhang)\
**Replies:** 2\
**Last updated:** [May 10, 2016, 2:22am UTC](https://forum.ansible.com/t/copy-module-can-not-run-in-coreos/21356 "2016-05-10T02:22:18Z")

</div>

Hi guys, Has anyone meet the below issue? Copy module can not run in coreos. I got the below error message: /bin/bash: warning: setlocale: LC\_ALL: cannot change locale (en\_US.UTF-8) /bin/bash: warning: setlocale: LC\_…

---

## [Register command output with\_items](https://forum.ansible.com/t/register-command-output-with-items/21300)

<div class="topic-metadata">

**Author:** [@Srividhya\_Mohan](https://forum.ansible.com/u/Srividhya_Mohan)\
**Replies:** 2\
**Last updated:** [May 10, 2016, 12:41am UTC](https://forum.ansible.com/t/register-command-output-with-items/21300 "2016-05-10T00:41:02Z")

</div>

Hi I have the following in my playbook hosts: localhost tasks: name: echo output command: echo {{item}} register: echo\_output with\_items: hi hello debug: msg=“{{ echo\_output.results}}” When I run t…

---

## [Dependency to a role used in distinct hosts](https://forum.ansible.com/t/dependency-to-a-role-used-in-distinct-hosts/21385)

<div class="topic-metadata">

**Author:** [@Paulo\_Suderio](https://forum.ansible.com/u/Paulo_Suderio)\
**Replies:** 0\
**Last updated:** [May 9, 2016, 9:24pm UTC](https://forum.ansible.com/t/dependency-to-a-role-used-in-distinct-hosts/21385 "2016-05-09T21:24:25Z")

</div>

Hi all, If I’ve understood correctly, role dependencies are to run in the same hosts. At least this seems to be the design. But I have many cases where dependencies are to roles that will run in other groups of hosts. E…

---

## [New Boto3-only requirement for new  AWS modules](https://forum.ansible.com/t/new-boto3-only-requirement-for-new-aws-modules/21379)

<div class="topic-metadata">

**Author:** [@pjodouin](https://forum.ansible.com/u/pjodouin)\
**Replies:** 3\
**Last updated:** [May 9, 2016, 6:48pm UTC](https://forum.ansible.com/t/new-boto3-only-requirement-for-new-aws-modules/21379 "2016-05-09T18:48:46Z")

</div>

Hi all, My Lambda modules have been sitting in community\_review long enough that they no longer build. I’ve written them with Boto3 but had to include boto as they would not compile otherwise due to some dependancy in t…

---

## [Ansible test frameworks ?](https://forum.ansible.com/t/ansible-test-frameworks/21380)

<div class="topic-metadata">

**Author:** [@Michael\_Bright](https://forum.ansible.com/u/Michael_Bright)\
**Replies:** 1\
**Last updated:** [May 9, 2016, 3:42pm UTC](https://forum.ansible.com/t/ansible-test-frameworks/21380 "2016-05-09T15:42:00Z")

</div>

I want to do some testing across multiple hosts (of an OpenStack platform) and I’d really like to base this on Ansible to take advantage of the inventory management. However, I really don’t want the standard ansible-pla…

---

## [ansible locale issue](https://forum.ansible.com/t/ansible-locale-issue/21377)

<div class="topic-metadata">

**Author:** [@Andy3](https://forum.ansible.com/u/Andy3)\
**Replies:** 5\
**Last updated:** [May 8, 2016, 3:36pm UTC](https://forum.ansible.com/t/ansible-locale-issue/21377 "2016-05-08T15:36:48Z")

</div>

Hi experts,I report a bug on github, but I notice the maillist is a better way to ask my quesiton, so anyone can help me on below issue? ANSIBLE VERSION ansible 1.9.6 configured module search path = None CONFIGURATION /…

---

## [Accessing variables programatically](https://forum.ansible.com/t/accessing-variables-programatically/21368)

<div class="topic-metadata">

**Author:** [@Don\_Jackson](https://forum.ansible.com/u/Don_Jackson)\
**Replies:** 3\
**Last updated:** [May 8, 2016, 8:01am UTC](https://forum.ansible.com/t/accessing-variables-programatically/21368 "2016-05-08T08:01:34Z")

</div>

Hello, I'm developing both an Ansible module and a dynamic inventory script, in Python. In each case, I need to lookup/obtain the value of a host/group variable. I've looked through the documentation, and tried a bunc…

---

## [API 2.0](https://forum.ansible.com/t/api-2-0/21378)

<div class="topic-metadata">

**Author:** [@Noam\_Greenberg](https://forum.ansible.com/u/Noam_Greenberg)\
**Replies:** 4\
**Last updated:** [May 7, 2016, 3:18pm UTC](https://forum.ansible.com/t/api-2-0/21378 "2016-05-07T15:18:32Z")

</div>

Hi all i wander if any one have a link or book about the Ansible 2.0 API (python ) function , param etc … something i try to run a playbook from python and i dont find any doc that explain how to or witch function to …

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

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