# Latest

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

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

**Page:** 869

---

## [RequestForComments: New proposed Ansible module for interacting with ISC DHCPd](https://forum.ansible.com/t/requestforcomments-new-proposed-ansible-module-for-interacting-with-isc-dhcpd/18276)

<div class="topic-metadata">

**Author:** [@Vyron\_Tsingaras](https://forum.ansible.com/u/Vyron_Tsingaras)\
**Replies:** 4\
**Last updated:** [May 21, 2015, 5:34pm UTC](https://forum.ansible.com/t/requestforcomments-new-proposed-ansible-module-for-interacting-with-isc-dhcpd/18276 "2015-05-21T17:34:02Z")

</div>

Hello fellow automators, I have written a module that interacts with ISC DHCPd using OMAPI to: Set a host entry Delete a host entry Lookup a lease by IP/MAC The motivation for this module was to be able to further au…

---

## [Ansible coming from a Fabric perspective](https://forum.ansible.com/t/ansible-coming-from-a-fabric-perspective/18198)

<div class="topic-metadata">

**Author:** [@Chris\_Spencer](https://forum.ansible.com/u/Chris_Spencer)\
**Replies:** 7\
**Last updated:** [May 21, 2015, 5:05pm UTC](https://forum.ansible.com/t/ansible-coming-from-a-fabric-perspective/18198 "2015-05-21T17:05:16Z")

</div>

Hi, I’m new to Ansible and I’m evaluating it to see if it’ll be a good replacement for my current Fabric/Fabtools-based deployment tool. My application is fairly simple, just a simple LAMP stack, and therefore my curren…

---

## [user: root ignored when running on hosts:localhost ?](https://forum.ansible.com/t/user-root-ignored-when-running-on-hosts-localhost/18281)

<div class="topic-metadata">

**Author:** [@Torsten\_Reinhard](https://forum.ansible.com/u/Torsten_Reinhard)\
**Replies:** 1\
**Last updated:** [May 21, 2015, 4:59pm UTC](https://forum.ansible.com/t/user-root-ignored-when-running-on-hosts-localhost/18281 "2015-05-21T16:59:34Z")

</div>

Hi, I´m using Ansible 1.8.2 running on Virtualbox (CentOs6.5) with this small playbook: \` name: Test playbook for roles/jdk hosts: localhost user: root vars: jdk\_root: /tmp/opt/java roles: { role: jdk, jdk\_ver…

---

## [Custom module - finding files?](https://forum.ansible.com/t/custom-module-finding-files/18280)

<div class="topic-metadata">

**Author:** [@John\_McNulty](https://forum.ansible.com/u/John_McNulty)\
**Replies:** 5\
**Last updated:** [May 21, 2015, 4:51pm UTC](https://forum.ansible.com/t/custom-module-finding-files/18280 "2015-05-21T16:51:10Z")

</div>

I’ve written a module that has requires a src and dest file. I’m puzzled as to how core modules like copy find their source files in the role//files directory. I’ve looked at the sources for copy.py and it just gets the …

---

## [Using environment vars for variables](https://forum.ansible.com/t/using-environment-vars-for-variables/15725)

<div class="topic-metadata">

**Author:** [@Tom\_Hall](https://forum.ansible.com/u/Tom_Hall)\
**Replies:** 7\
**Last updated:** [May 21, 2015, 3:22pm UTC](https://forum.ansible.com/t/using-environment-vars-for-variables/15725 "2015-05-21T15:22:43Z")

</div>

I thought name: Clone repo git: repo=“{{ git\_repo }}” dest=“{{ git\_dest }}” version=“{{ git\_version | lookup(‘env’,‘git\_version’) | default(‘master’) }}” notify: reload apache would work to use the git\_version gro…

---

## [Ansible "Hello world" problem](https://forum.ansible.com/t/ansible-hello-world-problem/18283)

<div class="topic-metadata">

**Author:** [@Andrey](https://forum.ansible.com/u/Andrey)\
**Replies:** 0\
**Last updated:** [May 21, 2015, 3:04pm UTC](https://forum.ansible.com/t/ansible-hello-world-problem/18283 "2015-05-21T15:04:43Z")

</div>

Hello! I installed Ansible on Debian. When I try to access cisco device: “ansible all -m ping -c ssh -u test --ask-pass” I get an error: SSH password: 192.168.150.39 | FAILED \>\> { “failed”: true, “msg”: “\\r\\nerro…

---

## [setting up asg with Ansible and not able to use ec2.py for inventory](https://forum.ansible.com/t/setting-up-asg-with-ansible-and-not-able-to-use-ec2-py-for-inventory/18279)

<div class="topic-metadata">

**Author:** [@Vaibhav\_Mule](https://forum.ansible.com/u/Vaibhav_Mule)\
**Replies:** 0\
**Last updated:** [May 21, 2015, 2:25pm UTC](https://forum.ansible.com/t/setting-up-asg-with-ansible-and-not-able-to-use-ec2-py-for-inventory/18279 "2015-05-21T14:25:15Z")

</div>

I have created local configuration and Amazon Auto-scaling group. By using this code.

---

## [Curated repository](https://forum.ansible.com/t/curated-repository/18258)

<div class="topic-metadata">

**Author:** [@Debo](https://forum.ansible.com/u/Debo)\
**Replies:** 2\
**Last updated:** [May 21, 2015, 10:17am UTC](https://forum.ansible.com/t/curated-repository/18258 "2015-05-21T10:17:48Z")

</div>

Hi everyone, I’m new to the Ansible community and coming from a sort of strong Chef background. I noticed that Ansible has ansible-examples and galaxy but I was wondering if there is anything like this project: https:/…

---

## [Ansible support for IntelliJ IDEA Community](https://forum.ansible.com/t/ansible-support-for-intellij-idea-community/18277)

<div class="topic-metadata">

**Author:** [@Pavel\_Veretennikov](https://forum.ansible.com/u/Pavel_Veretennikov)\
**Replies:** 0\
**Last updated:** [May 21, 2015, 9:11am UTC](https://forum.ansible.com/t/ansible-support-for-intellij-idea-community/18277 "2015-05-21T09:11:21Z")

</div>

I started to work on Ansible support for IntelliJ IDEA Community. First version is available on GitHub and Plugins repository. It is based on NEON plugin by juzna.cz. Currently provides: Index of all roles in Goto Cla…

---

## [Deloy with ansible-playbook async mode cost too much time on 2000+ hosts](https://forum.ansible.com/t/deloy-with-ansible-playbook-async-mode-cost-too-much-time-on-2000-hosts/18275)

<div class="topic-metadata">

**Author:** [@yuyuntao](https://forum.ansible.com/u/yuyuntao)\
**Replies:** 0\
**Last updated:** [May 21, 2015, 4:27am UTC](https://forum.ansible.com/t/deloy-with-ansible-playbook-async-mode-cost-too-much-time-on-2000-hosts/18275 "2015-05-21T04:27:37Z")

</div>

I found ansible stuck on this code，and I dont know why. runner/init.py 1377 TIMEOUT = 100 1378 start\_time = time.time() 1379 try: 1380 while not result\_queue.empty(): 1381 results.append(result\_queue.get(block=Fals…

---

## [Create a varaible list conditionally from dictionary items](https://forum.ansible.com/t/create-a-varaible-list-conditionally-from-dictionary-items/18266)

<div class="topic-metadata">

**Author:** [@Javeria\_Khan](https://forum.ansible.com/u/Javeria_Khan)\
**Replies:** 8\
**Last updated:** [May 20, 2015, 8:35pm UTC](https://forum.ansible.com/t/create-a-varaible-list-conditionally-from-dictionary-items/18266 "2015-05-20T20:35:47Z")

</div>

Hi, I’ve tried searching everything but can’t find a possible solution. I have a yml that defines all my variables for a playbook and I need to do something like the following inside of it:

---

## [Intermittent connection refused errors using rax module](https://forum.ansible.com/t/intermittent-connection-refused-errors-using-rax-module/14814)

<div class="topic-metadata">

**Author:** [@Jimmy\_Prescott1](https://forum.ansible.com/u/Jimmy_Prescott1)\
**Replies:** 3\
**Last updated:** [May 20, 2015, 7:47pm UTC](https://forum.ansible.com/t/intermittent-connection-refused-errors-using-rax-module/14814 "2015-05-20T19:47:03Z")

</div>

Hello, Searched around before posting this but I was unable to find anything useful. Anyway I am using the rax module to provision a server in the Rackspace Cloud using pyrax etc. The problem is that SOMETIMES the play…

---

## [Ansible Tower stuck on "Host verification"](https://forum.ansible.com/t/ansible-tower-stuck-on-host-verification/18268)

<div class="topic-metadata">

**Author:** [@Andres\_Ivanov](https://forum.ansible.com/u/Andres_Ivanov)\
**Replies:** 3\
**Last updated:** [May 20, 2015, 5:13pm UTC](https://forum.ansible.com/t/ansible-tower-stuck-on-host-verification/18268 "2015-05-20T17:13:02Z")

</div>

Hello, I’m trying to learn Ansible and started with installing Ansible with Tower UI. Tried simple “Helloworld” echo task that fails on Tower but works manually through ansible-playbook. I need to connect to Host thro…

---

## [Using Ansible for Application Deployment](https://forum.ansible.com/t/using-ansible-for-application-deployment/18270)

<div class="topic-metadata">

**Author:** [@Mike\_Herron](https://forum.ansible.com/u/Mike_Herron)\
**Replies:** 1\
**Last updated:** [May 20, 2015, 3:05pm UTC](https://forum.ansible.com/t/using-ansible-for-application-deployment/18270 "2015-05-20T15:05:34Z")

</div>

I’ve been using Ansible for a few years, mostly for server provisioning and configuration management. I think it’s a fantastic tool. For a new project, I’ve also begun to attempt to use Ansible as a web application deplo…

---

## [Any way to make a task serial (or set mutex so only 1 thread run it at a time)?](https://forum.ansible.com/t/any-way-to-make-a-task-serial-or-set-mutex-so-only-1-thread-run-it-at-a-time/14413)

<div class="topic-metadata">

**Author:** [@Mike\_Sop](https://forum.ansible.com/u/Mike_Sop)\
**Replies:** 5\
**Last updated:** [May 20, 2015, 9:45am UTC](https://forum.ansible.com/t/any-way-to-make-a-task-serial-or-set-mutex-so-only-1-thread-run-it-at-a-time/14413 "2015-05-20T09:45:33Z")

</div>

Came across another ticket describing a change to make a “playbook” serial (I’m guessing that means all tasks in the playbook): https://groups.google.com/forum/#!searchin/ansible-project/task$20serial/ansible-project/ZrS…

---

## [use variable in remote job](https://forum.ansible.com/t/use-variable-in-remote-job/18260)

<div class="topic-metadata">

**Author:** [@r.grosmann](https://forum.ansible.com/u/r.grosmann)\
**Replies:** 2\
**Last updated:** [May 20, 2015, 6:54am UTC](https://forum.ansible.com/t/use-variable-in-remote-job/18260 "2015-05-20T06:54:34Z")

</div>

hi group, I have tried to expand a variable (‘environment’ in this case) inside a cron job specification, but it does not seem to be possible. ansible version 1.7.2

---

## [Environment variables seen with gather\_facts but not seen in playbooks](https://forum.ansible.com/t/environment-variables-seen-with-gather-facts-but-not-seen-in-playbooks/18250)

<div class="topic-metadata">

**Author:** [@Adrian\_Paraschiv](https://forum.ansible.com/u/Adrian_Paraschiv)\
**Replies:** 3\
**Last updated:** [May 20, 2015, 5:51am UTC](https://forum.ansible.com/t/environment-variables-seen-with-gather-facts-but-not-seen-in-playbooks/18250 "2015-05-20T05:51:10Z")

</div>

Hello, I have a script file with 40-50 variables (some are something like this: ENV=hostname | awk -F- '{print $1}' | sed 's/ACE//') and I deploy this file to all my machines in /etc/profile.d/some\_script.sh I created …

---

## [trying using ec2 module from python but inventory is missing](https://forum.ansible.com/t/trying-using-ec2-module-from-python-but-inventory-is-missing/18262)

<div class="topic-metadata">

**Author:** [@pawel\_kaminski](https://forum.ansible.com/u/pawel_kaminski)\
**Replies:** 2\
**Last updated:** [May 19, 2015, 10:15pm UTC](https://forum.ansible.com/t/trying-using-ec2-module-from-python-but-inventory-is-missing/18262 "2015-05-19T22:15:28Z")

</div>

hi, I tried to find similar problem on this forum or through google but I was redirected to ansible cmd. I am writing python tool that can modify ec2 resources. I started with sec groups. here is sample code I try to e…

---

## [How to use dict keys as items?](https://forum.ansible.com/t/how-to-use-dict-keys-as-items/18264)

<div class="topic-metadata">

**Author:** [@Michael\_Bushey](https://forum.ansible.com/u/Michael_Bushey)\
**Replies:** 2\
**Last updated:** [May 19, 2015, 9:42pm UTC](https://forum.ansible.com/t/how-to-use-dict-keys-as-items/18264 "2015-05-19T21:42:44Z")

</div>

I have a dict: hosts: web01: int\_ip: 192.168.1.1 ext\_ip: 1.2.3.4 web02: int\_ip: 192.168.1.2 ext\_ip: 1.2.3.5 I am using a template that I supply items to with “with\_items”, and I reference the data as “item”. If I…

---

## [Ansible Galaxy feature request: show github statistics on search results page for modules](https://forum.ansible.com/t/ansible-galaxy-feature-request-show-github-statistics-on-search-results-page-for-modules/18255)

<div class="topic-metadata">

**Author:** [@Daniel\_Ellis](https://forum.ansible.com/u/Daniel_Ellis)\
**Replies:** 1\
**Last updated:** [May 19, 2015, 7:44pm UTC](https://forum.ansible.com/t/ansible-galaxy-feature-request-show-github-statistics-on-search-results-page-for-modules/18255 "2015-05-19T19:44:11Z")

</div>

The rating system is fine and all, but most of the projects I see aren’t rated. It’d be nice to see an overview in search results of things like number of commits, last update, number of stars so we can gauge which proje…

---

## [Using tags in a playbook](https://forum.ansible.com/t/using-tags-in-a-playbook/18241)

<div class="topic-metadata">

**Author:** [@Roger\_Sherman1](https://forum.ansible.com/u/Roger_Sherman1)\
**Replies:** 2\
**Last updated:** [May 19, 2015, 7:42pm UTC](https://forum.ansible.com/t/using-tags-in-a-playbook/18241 "2015-05-19T19:42:12Z")

</div>

I’m still pretty new to Ansible, and I’m trying to figure out the proper method for setting up a role, and then calling only a couple of tasks from that role from a playbook. The reason I’m doing so, is I have a group o…

---

## [How to escape a variable?](https://forum.ansible.com/t/how-to-escape-a-variable/15893)

<div class="topic-metadata">

**Author:** [@Vijay\_Korapaty](https://forum.ansible.com/u/Vijay_Korapaty)\
**Replies:** 4\
**Last updated:** [May 19, 2015, 7:26pm UTC](https://forum.ansible.com/t/how-to-escape-a-variable/15893 "2015-05-19T19:26:20Z")

</div>

I’m trying to execute the following task: - name: obtain image id local\_action: shell docker inspect --format={{.Id}} {{ docker\_image\_name }} | cut register: docker\_image\_id where ‘{{.Id}}’ should n…

---

## [Organizing Playbooks](https://forum.ansible.com/t/organizing-playbooks/18263)

<div class="topic-metadata">

**Author:** [@rambius](https://forum.ansible.com/u/rambius)\
**Replies:** 0\
**Last updated:** [May 19, 2015, 6:15pm UTC](https://forum.ansible.com/t/organizing-playbooks/18263 "2015-05-19T18:15:56Z")

</div>

Hello, We are adopting ansible and as a proof of concept I converted some tasks to ansible playbooks. For example, we are using Fisheye tool for code reviews and I created playbooks for upgrading it. I would like to hav…

---

## [Community Hangout Postponed](https://forum.ansible.com/t/community-hangout-postponed/18261)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 0\
**Last updated:** [May 19, 2015, 4:49pm UTC](https://forum.ansible.com/t/community-hangout-postponed/18261 "2015-05-19T16:49:07Z")

</div>

Hi all, as I am at OpenStack Summit we won’t be doing a community hangout today. We may reschedule for Thursday, otherwise we will resume them next week. If you have a PR you’d like reviewed, please stop by ansible-deve…

---

## [Enhance \`--private-key\` argument to support multiple key files ?](https://forum.ansible.com/t/enhance-private-key-argument-to-support-multiple-key-files/14180)

<div class="topic-metadata">

**Author:** [@Gilles\_Cornu](https://forum.ansible.com/u/Gilles_Cornu)\
**Replies:** 2\
**Last updated:** [May 19, 2015, 2:22pm UTC](https://forum.ansible.com/t/enhance-private-key-argument-to-support-multiple-key-files/14180 "2015-05-19T14:22:53Z")

</div>

In preamble, I know that Ansible already deals very well with multiple SSH identities the following ways: SSH agent ansible\_ssh\_private\_key\_file optional parameter in inventory file Now, my goal and my question: Vagr…

---

## [IOError: \[Errno 25\] Inappropriate ioctl for device](https://forum.ansible.com/t/ioerror-errno-25-inappropriate-ioctl-for-device/17927)

<div class="topic-metadata">

**Author:** [@P11](https://forum.ansible.com/u/P11)\
**Replies:** 12\
**Last updated:** [May 19, 2015, 9:05am UTC](https://forum.ansible.com/t/ioerror-errno-25-inappropriate-ioctl-for-device/17927 "2015-05-19T09:05:08Z")

</div>

Hi all, while trying to run one of our playbook on RH 5.4 (I know, very old …) I get the following error: ansible-playbook -i hosts.local our\_playbook.yml --limit=server --tags=some-users PLAY \[some.hosts\] \*\*\*\*\*\*\*\*\*\*\*…

---

## [Remove a rule from AWS EC2 Security group using Ansible](https://forum.ansible.com/t/remove-a-rule-from-aws-ec2-security-group-using-ansible/18239)

<div class="topic-metadata">

**Author:** [@Rahul\_Mehrotra](https://forum.ansible.com/u/Rahul_Mehrotra)\
**Replies:** 8\
**Last updated:** [May 19, 2015, 3:21am UTC](https://forum.ansible.com/t/remove-a-rule-from-aws-ec2-security-group-using-ansible/18239 "2015-05-19T03:21:35Z")

</div>

I have an Ansible script to create EC2 security group. It looks like this - name: Create HTTP Security Group local\_action: module: ec2\_group region: "{{ region }}" vpc\_id: "{{ vpc }}" name: sg\_http …

---

## [Playbook woes using vsphere\_guest on Mac OSX](https://forum.ansible.com/t/playbook-woes-using-vsphere-guest-on-mac-osx/18256)

<div class="topic-metadata">

**Author:** [@calamity\_man](https://forum.ansible.com/u/calamity_man)\
**Replies:** 0\
**Last updated:** [May 18, 2015, 11:16pm UTC](https://forum.ansible.com/t/playbook-woes-using-vsphere-guest-on-mac-osx/18256 "2015-05-18T23:16:18Z")

</div>

Hello all, I’ve put together a little playbook to help our IT department deploy VMs using the vsphere\_guest module. The playbook works great - so long as we’re on a Linux system (running Ansible 1.8), but fails miserab…

---

## [Copy task w/Content being evaluated as parameters and causing it to fail](https://forum.ansible.com/t/copy-task-w-content-being-evaluated-as-parameters-and-causing-it-to-fail/18234)

<div class="topic-metadata">

**Author:** [@Mark5](https://forum.ansible.com/u/Mark5)\
**Replies:** 4\
**Last updated:** [May 18, 2015, 8:02pm UTC](https://forum.ansible.com/t/copy-task-w-content-being-evaluated-as-parameters-and-causing-it-to-fail/18234 "2015-05-18T20:02:56Z")

</div>

I’m trying to capture the contents of a variable that was registered from a previous task, and write it to file for later debugging / troubleshooting if the need arises. The variable essentially has this in it: {“chang…

---

## [Ansible not evaluating parameters correctly](https://forum.ansible.com/t/ansible-not-evaluating-parameters-correctly/18252)

<div class="topic-metadata">

**Author:** [@Petar\_Petkov](https://forum.ansible.com/u/Petar_Petkov)\
**Replies:** 2\
**Last updated:** [May 18, 2015, 6:53pm UTC](https://forum.ansible.com/t/ansible-not-evaluating-parameters-correctly/18252 "2015-05-18T18:53:54Z")

</div>

Lets suppose we have the following code sample: \` - name: Bug report hosts: localhost gather\_facts: no connection: local vars: foo: no bar: "{{ foo }}" tasks: - debug: msg='This should not be skip…

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

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