# Latest

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

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

**Page:** 1019

---

## [In v1.2 with\_items no longer iterates over a list of variables](https://forum.ansible.com/t/in-v1-2-with-items-no-longer-iterates-over-a-list-of-variables/12958)

<div class="topic-metadata">

**Author:** [@Cory\_Wagner](https://forum.ansible.com/u/Cory_Wagner)\
**Replies:** 21\
**Last updated:** [October 15, 2013, 1:37am UTC](https://forum.ansible.com/t/in-v1-2-with-items-no-longer-iterates-over-a-list-of-variables/12958 "2013-10-15T01:37:51Z")

</div>

In version 1.2, we cannot iterate over a list of variables. Ansible now returns the fatal error “with\_items expects a list.” I need to reference a group variable to get a list of items. We’ve used this in a few different…

---

## [devel branch, commit b35337a629a0d93bf52372d8bf6696d7d3964694: problem with selinux on centos5](https://forum.ansible.com/t/devel-branch-commit-b35337a629a0d93bf52372d8bf6696d7d3964694-problem-with-selinux-on-centos5/13676)

<div class="topic-metadata">

**Author:** [@Vadim\_Shkolin](https://forum.ansible.com/u/Vadim_Shkolin)\
**Replies:** 1\
**Last updated:** [October 15, 2013, 12:29am UTC](https://forum.ansible.com/t/devel-branch-commit-b35337a629a0d93bf52372d8bf6696d7d3964694-problem-with-selinux-on-centos5/13676 "2013-10-15T00:29:55Z")

</div>

The task: name: “instal Vadim Shkolin’s repository” action: copy src=vsh.repo dest=/etc/yum.repos.d/vsh.repo backup=yes force=yes owner=root group=root mode=0644 setype=\_default The result: TASK: \[yum\_vsh | insta…

---

## [Initializing new hosts](https://forum.ansible.com/t/initializing-new-hosts/13672)

<div class="topic-metadata">

**Author:** [@Mark\_Casey](https://forum.ansible.com/u/Mark_Casey)\
**Replies:** 1\
**Last updated:** [October 14, 2013, 10:31pm UTC](https://forum.ansible.com/t/initializing-new-hosts/13672 "2013-10-14T22:31:45Z")

</div>

Hello all, I’m curious what is now “state of the art” for Ansible with regard to bootstrapping or initializing new hosts? …Something along the lines of these threads: first, second. Specifically, without necessarily co…

---

## [gem module and gem executable path](https://forum.ansible.com/t/gem-module-and-gem-executable-path/13050)

<div class="topic-metadata">

**Author:** [@Karri\_Niemela](https://forum.ansible.com/u/Karri_Niemela)\
**Replies:** 5\
**Last updated:** [October 14, 2013, 2:16pm UTC](https://forum.ansible.com/t/gem-module-and-gem-executable-path/13050 "2013-10-14T14:16:11Z")

</div>

Hi all. Trying to bootstrap centos 6.4 based servers. So I’ve got a simple task; name: install bundler gem: name=bundler state=present And its failing because; Because msg: Failed to find required executable gem N…

---

## [until: loop not longer valid?](https://forum.ansible.com/t/until-loop-not-longer-valid/13671)

<div class="topic-metadata">

**Author:** [@Steve\_Smith](https://forum.ansible.com/u/Steve_Smith)\
**Replies:** 3\
**Last updated:** [October 14, 2013, 1:21pm UTC](https://forum.ansible.com/t/until-loop-not-longer-valid/13671 "2013-10-14T13:21:06Z")

</div>

Hi, I’m trying to use this (simplified) playbook: name: Hamlet check hosts: hamletnodes sudo: true vars: appname: hamlet svcname: “/etc/service/{{appname}}” tasks: name: Wait for service to come down action: …

---

## [Ansible 1.3.2 user module problem](https://forum.ansible.com/t/ansible-1-3-2-user-module-problem/13654)

<div class="topic-metadata">

**Author:** [@Jurrien\_Bloemen](https://forum.ansible.com/u/Jurrien_Bloemen)\
**Replies:** 8\
**Last updated:** [October 14, 2013, 1:18pm UTC](https://forum.ansible.com/t/ansible-1-3-2-user-module-problem/13654 "2013-10-14T13:18:27Z")

</div>

Hi, I have a playbook that creates users on systems. A part of this playbook is this: - name: User Jurrien user: name=jurrien uid= comment=“J. Bloemen (Jurrien) ” groups=unixbeheer password={{ jurrien\_password }} In…

---

## [rhn\_register module does not work on RHEL5 hosts](https://forum.ansible.com/t/rhn-register-module-does-not-work-on-rhel5-hosts/12954)

<div class="topic-metadata">

**Author:** [@Edgars](https://forum.ansible.com/u/Edgars)\
**Replies:** 6\
**Last updated:** [October 14, 2013, 12:35pm UTC](https://forum.ansible.com/t/rhn-register-module-does-not-work-on-rhel5-hosts/12954 "2013-10-14T12:35:45Z")

</div>

Hi list I am trying to register my RHEL5 hosts to RHN. Here is an example what I do: ansible HostA -kK -u admin -m rhn\_register -a “state=present username=YYYY password=XXXX” And the output: HostA | FAILED =\> fail…

---

## [Awesome new deprecation warnings and YAML helper messages on 1.4 (devel) branch](https://forum.ansible.com/t/awesome-new-deprecation-warnings-and-yaml-helper-messages-on-1-4-devel-branch/13666)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 2\
**Last updated:** [October 14, 2013, 12:01pm UTC](https://forum.ansible.com/t/awesome-new-deprecation-warnings-and-yaml-helper-messages-on-1-4-devel-branch/13666 "2013-10-14T12:01:33Z")

</div>

Hi list! I’ve added some very nice things for you on the 1.4 branch. Normally I’d post this on -devel but a lot of people like to run from devel, so I figured I would share. First off, there are some common YAML gotch…

---

## [change in behaviour of "when:"](https://forum.ansible.com/t/change-in-behaviour-of-when/13667)

<div class="topic-metadata">

**Author:** [@Jimmy\_Tang](https://forum.ansible.com/u/Jimmy_Tang)\
**Replies:** 5\
**Last updated:** [October 12, 2013, 9:41pm UTC](https://forum.ansible.com/t/change-in-behaviour-of-when/13667 "2013-10-12T21:41:46Z")

</div>

Hi All, I currently have this… - shell: “\[ -f /etc/ldap/.done\_slapd \] && echo ‘done’ || echo ‘’” register: result - dpkg\_reconfigure: pkg: slapd answers: slapd/password2: $ldap\_pass slapd/password1: $ldap\_pass s…

---

## [New in Ansible 1.4 devel -- a configurable roles path](https://forum.ansible.com/t/new-in-ansible-1-4-devel-a-configurable-roles-path/13668)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 0\
**Last updated:** [October 12, 2013, 4:40pm UTC](https://forum.ansible.com/t/new-in-ansible-1-4-devel-a-configurable-roles-path/13668 "2013-10-12T16:40:01Z")

</div>

Thought some people might like this http://ansibleworks.com/docs/intro\_configuration.html#roles-path I need to see why the version\_added attribute didn’t show up in the docs, but this should be popular! Thanks to Thom…

---

## [How to pass actual python type (such as None) in yaml using a variable](https://forum.ansible.com/t/how-to-pass-actual-python-type-such-as-none-in-yaml-using-a-variable/13660)

<div class="topic-metadata">

**Author:** [@Andy1](https://forum.ansible.com/u/Andy1)\
**Replies:** 5\
**Last updated:** [October 11, 2013, 8:47pm UTC](https://forum.ansible.com/t/how-to-pass-actual-python-type-such-as-none-in-yaml-using-a-variable/13660 "2013-10-11T20:47:33Z")

</div>

Hi, My problem is described here (MWE): http://pastebin.com/27k4HHaU Some modules allow you to pass yaml’s null as a param which ends up as a python’s None. For instance the mysql\_user module here: https://github.com…

---

## [Situation with relative symlinks (file state=link)](https://forum.ansible.com/t/situation-with-relative-symlinks-file-state-link/13640)

<div class="topic-metadata">

**Author:** [@Paul\_Sokolovsky](https://forum.ansible.com/u/Paul_Sokolovsky)\
**Replies:** 2\
**Last updated:** [October 11, 2013, 4:57pm UTC](https://forum.ansible.com/t/situation-with-relative-symlinks-file-state-link/13640 "2013-10-11T16:57:18Z")

</div>

Hello, I just figured Ansible doesn’t allow to create a symlink pointing to a relative file. Specifically, file: state=link src=…/settings\_prod.py dest=~/frontend/settings\_prod.py Gives msg: absolute paths are require…

---

## [idempotency of service state=reloaded](https://forum.ansible.com/t/idempotency-of-service-state-reloaded/13653)

<div class="topic-metadata">

**Author:** [@Nick](https://forum.ansible.com/u/Nick)\
**Replies:** 9\
**Last updated:** [October 11, 2013, 4:42pm UTC](https://forum.ansible.com/t/idempotency-of-service-state-reloaded/13653 "2013-10-11T16:42:22Z")

</div>

Hi, I've noticed that if I define a handler to restart a service, when my playbook runs for the first time and notifies it, the service does \*not\* start, because state=reloaded simply invokes "service blah reload", and …

---

## [solved a performance problem in host pattern enumeration](https://forum.ansible.com/t/solved-a-performance-problem-in-host-pattern-enumeration/13656)

<div class="topic-metadata">

**Author:** [@Serge\_van\_Ginderacht](https://forum.ansible.com/u/Serge_van_Ginderacht)\
**Replies:** 3\
**Last updated:** [October 11, 2013, 2:00pm UTC](https://forum.ansible.com/t/solved-a-performance-problem-in-host-pattern-enumeration/13656 "2013-10-11T14:00:23Z")

</div>

Been running ansible 1.4-devel (a version from september 26, around fd101dd), I yesterday updated to latest (e87be94 22 hours ago 1.3.3 missing from changelog - Michael DeHaan (HEAD, ansible/devel, devel) and noticed a b…

---

## [deployment tasks that populate a python virtualenv](https://forum.ansible.com/t/deployment-tasks-that-populate-a-python-virtualenv/13661)

<div class="topic-metadata">

**Author:** [@John\_Jarvis](https://forum.ansible.com/u/John_Jarvis)\
**Replies:** 3\
**Last updated:** [October 11, 2013, 1:39pm UTC](https://forum.ansible.com/t/deployment-tasks-that-populate-a-python-virtualenv/13661 "2013-10-11T13:39:31Z")

</div>

This is a common pattern for our deployment tasks: checkout a git repo pip install one or more requirements.txt files that exist in that repo to populate a virtualenv Obviously we want to pip install when there is a n…

---

## [Bizarre behavior.](https://forum.ansible.com/t/bizarre-behavior/13655)

<div class="topic-metadata">

**Author:** [@Jonathan\_Barronville](https://forum.ansible.com/u/Jonathan_Barronville)\
**Replies:** 3\
**Last updated:** [October 11, 2013, 12:53pm UTC](https://forum.ansible.com/t/bizarre-behavior/13655 "2013-10-11T12:53:55Z")

</div>

Hello everyone! I have a very simple Vagrant + Ansible setup here: https://github.com/jonathanmarvens/taylor-otwell-vagrant-setup/tree/55945af0e80e6e4208e209b9dfb71a0efbb7bfc5/ansible . On vagrant up, I provision using…

---

## [Mailling list reminder: one topic per thread, report issues to github.com/ansible/ansible instead](https://forum.ansible.com/t/mailling-list-reminder-one-topic-per-thread-report-issues-to-github-com-ansible-ansible-instead/13662)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 0\
**Last updated:** [October 11, 2013, 12:51pm UTC](https://forum.ansible.com/t/mailling-list-reminder-one-topic-per-thread-report-issues-to-github-com-ansible-ansible-instead/13662 "2013-10-11T12:51:28Z")

</div>

Hi guys, I am super enjoying the massive flood of interest in Ansible! If you have a question, please ask one question per thread. If you are reporting a bug – make sure it’s not a question first – skip the mailing li…

---

## [What's the right way to use "defaults/main.yml" in roles?](https://forum.ansible.com/t/whats-the-right-way-to-use-defaults-main-yml-in-roles/13648)

<div class="topic-metadata">

**Author:** [@Dan7](https://forum.ansible.com/u/Dan7)\
**Replies:** 12\
**Last updated:** [October 11, 2013, 1:49am UTC](https://forum.ansible.com/t/whats-the-right-way-to-use-defaults-main-yml-in-roles/13648 "2013-10-11T01:49:39Z")

</div>

Hey, I’m a bit confused about the usage of defaults. At first sight it seems like it’s a good place to put default values of parameterized roles. But when I looked deeper onto how the vars in defaults work, I see that d…

---

## [Specifying a base directory for resolving includes](https://forum.ansible.com/t/specifying-a-base-directory-for-resolving-includes/12297)

<div class="topic-metadata">

**Author:** [@Lorin\_Hochstein1](https://forum.ansible.com/u/Lorin_Hochstein1)\
**Replies:** 11\
**Last updated:** [October 11, 2013, 12:12am UTC](https://forum.ansible.com/t/specifying-a-base-directory-for-resolving-includes/12297 "2013-10-11T00:12:38Z")

</div>

Does ansible have any mechanism for specifying a base directory for including things like variable files, playbooks, and tasks? Here’s my use case: We keep our playbooks in a git repository called “ansible-playbooks”. …

---

## [Weird Stacktrace on Ansible Playbook Execution](https://forum.ansible.com/t/weird-stacktrace-on-ansible-playbook-execution/13657)

<div class="topic-metadata">

**Author:** [@Phillip\_Verheyden](https://forum.ansible.com/u/Phillip_Verheyden)\
**Replies:** 3\
**Last updated:** [October 11, 2013, 12:11am UTC](https://forum.ansible.com/t/weird-stacktrace-on-ansible-playbook-execution/13657 "2013-10-11T00:11:54Z")

</div>

I’m getting a pretty cryptic stack trace from the latest Ansible built from src (like 10 mins ago): Traceback (most recent call last): File “/usr/local/share/python/ansible-playbook”, line 268, in sys.exit(main(sys.a…

---

## [check status of async job](https://forum.ansible.com/t/check-status-of-async-job/13639)

<div class="topic-metadata">

**Author:** [@x9353x](https://forum.ansible.com/u/x9353x)\
**Replies:** 7\
**Last updated:** [October 11, 2013, 12:07am UTC](https://forum.ansible.com/t/check-status-of-async-job/13639 "2013-10-11T00:07:42Z")

</div>

I am trying to run async jobs with ‘poll=0’ (fire & forget) and then check the job status via async\_status. However, I don’t know how to properly check for job completion. Here’s my playbook snippet: command: /bin/sl…

---

## [update apt cache not too often](https://forum.ansible.com/t/update-apt-cache-not-too-often/13659)

<div class="topic-metadata">

**Author:** [@Paul\_Sutyrin](https://forum.ansible.com/u/Paul_Sutyrin)\
**Replies:** 2\
**Last updated:** [October 10, 2013, 8:04pm UTC](https://forum.ansible.com/t/update-apt-cache-not-too-often/13659 "2013-10-10T20:04:42Z")

</div>

Hi folks, Thanks for a great piece of tool that Ansible is, and long live! I wonder (and cannot google easily) how to update apt cache at every playbook run, but not too often (say, once in 24 hours, or only if it was …

---

## [pipe\_once lookup plugin -- missing from 1.3?](https://forum.ansible.com/t/pipe-once-lookup-plugin-missing-from-1-3/13649)

<div class="topic-metadata">

**Author:** [@Brice\_Burgess](https://forum.ansible.com/u/Brice_Burgess)\
**Replies:** 4\
**Last updated:** [October 10, 2013, 2:39pm UTC](https://forum.ansible.com/t/pipe-once-lookup-plugin-missing-from-1-3/13649 "2013-10-10T14:39:18Z")

</div>

I’m finally making the move from 1.1 =\> 1.3 , and refactoring an awful lot of automation playbooks to take advantage of the consistency and built in role inheritance. We’ve come across an area where we’d benefit from a c…

---

## [bug on sudo\_user parametrization ?](https://forum.ansible.com/t/bug-on-sudo-user-parametrization/13645)

<div class="topic-metadata">

**Author:** [@Jerome\_Wagner](https://forum.ansible.com/u/Jerome_Wagner)\
**Replies:** 3\
**Last updated:** [October 10, 2013, 9:31am UTC](https://forum.ansible.com/t/bug-on-sudo-user-parametrization/13645 "2013-10-10T09:31:09Z")

</div>

Hello, I have a simplified task like so on the current devel branch : name: create sites directory file: path=/home/{{ item }}/sites state=directory sudo: yes sudo\_user: “prefix{{ item }}suffix” with\_items: user1 u…

---

## [1.4 deprecation plan for some very old features that have not been documented for a long time](https://forum.ansible.com/t/1-4-deprecation-plan-for-some-very-old-features-that-have-not-been-documented-for-a-long-time/13651)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 0\
**Last updated:** [October 9, 2013, 11:50pm UTC](https://forum.ansible.com/t/1-4-deprecation-plan-for-some-very-old-features-that-have-not-been-documented-for-a-long-time/13651 "2013-10-09T23:50:25Z")

</div>

FYI for 1.4. Survey data confirmed a lot of people really wanted to see things streamlined and remove the legacy bits, and I agree. It’s time to remove a lot of legacy “crud” from Ansible as we standardize the syntax a…

---

## [Idempotent operations in Ansible ?](https://forum.ansible.com/t/idempotent-operations-in-ansible/13650)

<div class="topic-metadata">

**Author:** [@Soumya\_Simanta](https://forum.ansible.com/u/Soumya_Simanta)\
**Replies:** 1\
**Last updated:** [October 9, 2013, 10:43pm UTC](https://forum.ansible.com/t/idempotent-operations-in-ansible/13650 "2013-10-09T22:43:17Z")

</div>

Hi I’m new to Ansible so it might looks like a very basic question. I’ve read that Ansible is idempotent. My question is related to how Ansbile handles operations invoked using the shell or command module. Here is an e…

---

## [rds module errors](https://forum.ansible.com/t/rds-module-errors/13646)

<div class="topic-metadata">

**Author:** [@knowshan](https://forum.ansible.com/u/knowshan)\
**Replies:** 2\
**Last updated:** [October 9, 2013, 8:55pm UTC](https://forum.ansible.com/t/rds-module-errors/13646 "2013-10-09T20:55:08Z")

</div>

I am getting different results from two Ansible installations. One of the installations is on CentOS 6.4 and other one is on Mac. The issue is related to rds module as described below. On CentOS 6.4 with Python 2.6.6, A…

---

## [keystone\_user module is not changing the password for existint user?](https://forum.ansible.com/t/keystone-user-module-is-not-changing-the-password-for-existint-user/13641)

<div class="topic-metadata">

**Author:** [@Nick\_Maslov](https://forum.ansible.com/u/Nick_Maslov)\
**Replies:** 2\
**Last updated:** [October 9, 2013, 7:24pm UTC](https://forum.ansible.com/t/keystone-user-module-is-not-changing-the-password-for-existint-user/13641 "2013-10-09T19:24:37Z")

</div>

Hi, Following construct does not changes the password on the existing user: - name: Creation of users... keystone\_user: user={{ item.user }} tenant=admin password={{ item.pass }} email={{ item.mail }} login\_user={{ …

---

## [Running f5 bigip\_pool module](https://forum.ansible.com/t/running-f5-bigip-pool-module/13632)

<div class="topic-metadata">

**Author:** [@wingZero21](https://forum.ansible.com/u/wingZero21)\
**Replies:** 11\
**Last updated:** [October 9, 2013, 7:21pm UTC](https://forum.ansible.com/t/running-f5-bigip-pool-module/13632 "2013-10-09T19:21:21Z")

</div>

Hi, Just wondering if someone can advise, trying to run one of the example f5 bigip\_pool module playbooks. Comes back with the below, installed bigsuds python stuff, is there anything else needed for this to run? Deta…

---

## [TypeError using the script action in a roles or include?](https://forum.ansible.com/t/typeerror-using-the-script-action-in-a-roles-or-include/13594)

<div class="topic-metadata">

**Author:** [@Timothy\_Appnel](https://forum.ansible.com/u/Timothy_Appnel)\
**Replies:** 2\
**Last updated:** [October 9, 2013, 5:50pm UTC](https://forum.ansible.com/t/typeerror-using-the-script-action-in-a-roles-or-include/13594 "2013-10-09T17:50:10Z")

</div>

He anyone experience a TypeError using the script action in a role’s tasks or in an include? This tasks in a roles/x/tasks/main.yml: name: create summary report script: …/bin/create\_summary -d{{ today }} -i{{ output\_…

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

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