# Latest

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

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

**Page:** 1025

---

## [local\_action rsync](https://forum.ansible.com/t/local-action-rsync/13479)

<div class="topic-metadata">

**Author:** [@Jason\_Harris](https://forum.ansible.com/u/Jason_Harris)\
**Replies:** 6\
**Last updated:** [September 16, 2013, 1:56pm UTC](https://forum.ansible.com/t/local-action-rsync/13479 "2013-09-16T13:56:38Z")

</div>

Further to that last post on recursive file copying: I am now trying to get a directory with files copied onto a host via rsync (instead of copying over a single .ziped bundle and then decompressing that and changing th…

---

## [Delete a volume and a security group not found in ansible modules](https://forum.ansible.com/t/delete-a-volume-and-a-security-group-not-found-in-ansible-modules/13482)

<div class="topic-metadata">

**Author:** [@cpatanaik](https://forum.ansible.com/u/cpatanaik)\
**Replies:** 2\
**Last updated:** [September 16, 2013, 12:07pm UTC](https://forum.ansible.com/t/delete-a-volume-and-a-security-group-not-found-in-ansible-modules/13482 "2013-09-16T12:07:08Z")

</div>

Hi, I have just started learning ansible. I have written a simple playbook which will create , delete a server using ansible’s ec2 module. I can also create a volume and attach it to a previously created instance.

---

## [Is there a way to act on a failed task](https://forum.ansible.com/t/is-there-a-way-to-act-on-a-failed-task/13468)

<div class="topic-metadata">

**Author:** [@Steen\_Larsen](https://forum.ansible.com/u/Steen_Larsen)\
**Replies:** 5\
**Last updated:** [September 16, 2013, 10:24am UTC](https://forum.ansible.com/t/is-there-a-way-to-act-on-a-failed-task/13468 "2013-09-16T10:24:57Z")

</div>

Hi, I’m new to Ansible, and trying to find a way to write a file when a task fails. I’m cool with the play stopping so it’s not ignore\_fail I’m looking for but something like when: fail command echo “sometext” \> /tmp/e…

---

## [ansible.cfg hostfile not being found, trying to be able to not use -i](https://forum.ansible.com/t/ansible-cfg-hostfile-not-being-found-trying-to-be-able-to-not-use-i/13481)

<div class="topic-metadata">

**Author:** [@Skylar\_Saveland](https://forum.ansible.com/u/Skylar_Saveland)\
**Replies:** 1\
**Last updated:** [September 16, 2013, 1:30am UTC](https://forum.ansible.com/t/ansible-cfg-hostfile-not-being-found-trying-to-be-able-to-not-use-i/13481 "2013-09-16T01:30:56Z")

</div>

This has to be one of the lowliest questions ever asked here. Apologies for that. But, I can’t get the ansible.cfg hostfile parameter to work so that I don’t have to specify -i. The problem can be reproduced here: htt…

---

## [limiting handlers scope](https://forum.ansible.com/t/limiting-handlers-scope/13480)

<div class="topic-metadata">

**Author:** [@rivik](https://forum.ansible.com/u/rivik)\
**Replies:** 1\
**Last updated:** [September 15, 2013, 11:45pm UTC](https://forum.ansible.com/t/limiting-handlers-scope/13480 "2013-09-15T23:45:15Z")

</div>

Hi, I have multiple roles and playbooks (consisting of roles). Almost every role starts with repository configuration. After repos configuration, repo database must be updated. My current solution looks like this: base…

---

## [ufw or iptables module](https://forum.ansible.com/t/ufw-or-iptables-module/12380)

<div class="topic-metadata">

**Author:** [@Oscar\_Korz](https://forum.ansible.com/u/Oscar_Korz)\
**Replies:** 7\
**Last updated:** [September 15, 2013, 4:13pm UTC](https://forum.ansible.com/t/ufw-or-iptables-module/12380 "2013-09-15T16:13:52Z")

</div>

After only three hours of hacking yesterday morning, I’m quite satisfied with my initial results. I was quite surprised and excited to find out that ufw’s CLI parsing is smart enough to realize that the following rules a…

---

## [\[Pull request\] rpm module](https://forum.ansible.com/t/pull-request-rpm-module/13356)

<div class="topic-metadata">

**Author:** [@Hiroaki\_Nakamura](https://forum.ansible.com/u/Hiroaki_Nakamura)\
**Replies:** 14\
**Last updated:** [September 14, 2013, 9:06pm UTC](https://forum.ansible.com/t/pull-request-rpm-module/13356 "2013-09-14T21:06:57Z")

</div>

Hi, I created the rpm module for ansible and sent a pull request at github. https://github.com/ansible/ansible/pull/3938 The use cases for the rpm module are: install a rpm to add a yum repository install a rpm built…

---

## [Proposed upgrades to ec2\_elb module](https://forum.ansible.com/t/proposed-upgrades-to-ec2-elb-module/13474)

<div class="topic-metadata">

**Author:** [@Jim\_Dalton](https://forum.ansible.com/u/Jim_Dalton)\
**Replies:** 3\
**Last updated:** [September 14, 2013, 3:30am UTC](https://forum.ansible.com/t/proposed-upgrades-to-ec2-elb-module/13474 "2013-09-14T03:30:02Z")

</div>

There are a few upgrades I’d like to propose making to the ec2\_elb module that extend its functionality a bit and cover some situations that aren’t being handled properly right now. At present, the ec2\_elb module: Ha…

---

## [Updated community information (contributing.md) on ways to contribute, etc](https://forum.ansible.com/t/updated-community-information-contributing-md-on-ways-to-contribute-etc/13477)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 0\
**Last updated:** [September 14, 2013, 12:43am UTC](https://forum.ansible.com/t/updated-community-information-contributing-md-on-ways-to-contribute-etc/13477 "2013-09-14T00:43:12Z")

</div>

One of the most important things we do with Ansible is enable community contribution. However, too often contribution is weighed to be all about software code. The previous “contributing” information on github didn’t gi…

---

## [New mailing lists -- ansible-project and ansible-announce @googlegroups](https://forum.ansible.com/t/new-mailing-lists-ansible-project-and-ansible-announce-googlegroups/13476)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 0\
**Last updated:** [September 14, 2013, 12:36am UTC](https://forum.ansible.com/t/new-mailing-lists-ansible-project-and-ansible-announce-googlegroups/13476 "2013-09-14T00:36:06Z")

</div>

Hi everyone, We’ve decided to make some new mailing lists (ansible-announce and ansible-devel). This is something that happens in the life of most projects, so I wanted to share why we were doing it now. The reasons fo…

---

## [Introducing Ansible-devel](https://forum.ansible.com/t/introducing-ansible-devel/13475)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 0\
**Last updated:** [September 14, 2013, 12:04am UTC](https://forum.ansible.com/t/introducing-ansible-devel/13475 "2013-09-14T00:04:42Z")

</div>

Ansible-devel is a technical mailing list for discussing how to develop things for Ansible, Ansible modules, internals, and API integrations. User questions and interesting playbooks you would like to share with the com…

---

## [Ansible playbooks for NetflixOSS projects](https://forum.ansible.com/t/ansible-playbooks-for-netflixoss-projects/13473)

<div class="topic-metadata">

**Author:** [@Peter\_Sankauskas](https://forum.ansible.com/u/Peter_Sankauskas)\
**Replies:** 0\
**Last updated:** [September 13, 2013, 11:07pm UTC](https://forum.ansible.com/t/ansible-playbooks-for-netflixoss-projects/13473 "2013-09-13T23:07:02Z")

</div>

Just a quick note to let the group know I have created Ansible playbooks for a few of the NetflixOSS projects including Asgard, Ice, Edda, Simian Army (Chaos Monkey) etc. For anyone running AWS and interested in them, yo…

---

## [accessing hostvars within group](https://forum.ansible.com/t/accessing-hostvars-within-group/13469)

<div class="topic-metadata">

**Author:** [@Graham\_O\_Regan](https://forum.ansible.com/u/Graham_O_Regan)\
**Replies:** 2\
**Last updated:** [September 13, 2013, 11:06pm UTC](https://forum.ansible.com/t/accessing-hostvars-within-group/13469 "2013-09-13T23:06:07Z")

</div>

Hi, We are running Ansible 1.2.3 on CentOS 6.4 but we’re hitting an odd problem when trying to access variables within a group. We have a snippet of code like this; {% for item in groups\[‘target\_group’\] %} {{ item }} …

---

## [Acting on failure](https://forum.ansible.com/t/acting-on-failure/13467)

<div class="topic-metadata">

**Author:** [@Steen\_Larsen](https://forum.ansible.com/u/Steen_Larsen)\
**Replies:** 1\
**Last updated:** [September 13, 2013, 11:04pm UTC](https://forum.ansible.com/t/acting-on-failure/13467 "2013-09-13T23:04:03Z")

</div>

Hi, I’m pretty new to Ansible, but so far really like it. I am trying to write a continous deployment playbook, and so far it’s pretty need. One thing I haven’t been able to figure out is how to react to a task failure.…

---

## [FYI my Hadoop Ansible Playbook, now open source](https://forum.ansible.com/t/fyi-my-hadoop-ansible-playbook-now-open-source/13470)

<div class="topic-metadata">

**Author:** [@Mathias\_Bogaert](https://forum.ansible.com/u/Mathias_Bogaert)\
**Replies:** 1\
**Last updated:** [September 13, 2013, 11:02pm UTC](https://forum.ansible.com/t/fyi-my-hadoop-ansible-playbook-now-open-source/13470 "2013-09-13T23:02:18Z")

</div>

Enjoy! https://github.com/analytically/hadoop-ansible

---

## [Using a variable with a file lookup in a role](https://forum.ansible.com/t/using-a-variable-with-a-file-lookup-in-a-role/13472)

<div class="topic-metadata">

**Author:** [@Joost\_Cassee](https://forum.ansible.com/u/Joost_Cassee)\
**Replies:** 1\
**Last updated:** [September 13, 2013, 11:00pm UTC](https://forum.ansible.com/t/using-a-variable-with-a-file-lookup-in-a-role/13472 "2013-09-13T23:00:48Z")

</div>

Hi, What is the way variables are resolved in Ansible? I got this non-intuitive result: hosts: \[group\] host playbook.yml:

---

## [Append newly-created security group to existing SG list in EC2 creation?](https://forum.ansible.com/t/append-newly-created-security-group-to-existing-sg-list-in-ec2-creation/13460)

<div class="topic-metadata">

**Author:** [@Chris\_Shenton](https://forum.ansible.com/u/Chris_Shenton)\
**Replies:** 4\
**Last updated:** [September 13, 2013, 3:51pm UTC](https://forum.ansible.com/t/append-newly-created-security-group-to-existing-sg-list-in-ec2-creation/13460 "2013-09-13T15:51:36Z")

</div>

I have a set of (VPC) security group IDs, and I want to create a new (VPC) security group, then apply the existing an newly-created group to a new EC2 instance at creation time. I can create the SG, show its ID, but I ca…

---

## [How to set the path for sudo?](https://forum.ansible.com/t/how-to-set-the-path-for-sudo/13099)

<div class="topic-metadata">

**Author:** [@Alexander\_Winkler](https://forum.ansible.com/u/Alexander_Winkler)\
**Replies:** 8\
**Last updated:** [September 13, 2013, 1:49pm UTC](https://forum.ansible.com/t/how-to-set-the-path-for-sudo/13099 "2013-09-13T13:49:00Z")

</div>

Hello, I am trying to use ansible 1.2 with Solaris 10 systems. Sudo is installed and configured on the target systems, but the binary is not in the path variable (it’s /usr/local/bin/sudo). Of course i could connect to…

---

## [Checking ansible-playbook is using the right configuration](https://forum.ansible.com/t/checking-ansible-playbook-is-using-the-right-configuration/13464)

<div class="topic-metadata">

**Author:** [@Nick](https://forum.ansible.com/u/Nick)\
**Replies:** 6\
**Last updated:** [September 13, 2013, 1:36pm UTC](https://forum.ansible.com/t/checking-ansible-playbook-is-using-the-right-configuration/13464 "2013-09-13T13:36:22Z")

</div>

Hi, I'm trying to work out why ansible doesn't seem to be respecting the settings in $PWD/ansible.cfg (specifically error\_on\_undefined\_vars = True). Is there some way of asking ansible-playbook to show me what it think…

---

## [Can Ansible/Paramiko do agent forwarding?](https://forum.ansible.com/t/can-ansible-paramiko-do-agent-forwarding/13343)

<div class="topic-metadata">

**Author:** [@David\_Minor](https://forum.ansible.com/u/David_Minor)\
**Replies:** 6\
**Last updated:** [September 13, 2013, 1:31pm UTC](https://forum.ansible.com/t/can-ansible-paramiko-do-agent-forwarding/13343 "2013-09-13T13:31:02Z")

</div>

It didn’t seem to work for me. Paramiko may have this ability, according to this: https://github.com/paramiko/paramiko/pull/21

---

## [yum module doesn't update package](https://forum.ansible.com/t/yum-module-doesnt-update-package/13447)

<div class="topic-metadata">

**Author:** [@Frank\_Soyer](https://forum.ansible.com/u/Frank_Soyer)\
**Replies:** 13\
**Last updated:** [September 13, 2013, 8:21am UTC](https://forum.ansible.com/t/yum-module-doesnt-update-package/13447 "2013-09-13T08:21:31Z")

</div>

Hi list, I’ve a strange problem here. I’ve a simple playbook to install monit like that : name: monit - install monit (if necessary) yum: name=monit enablerepo=rpmforge state=latest However : If monit is already in…

---

## [ask\_pass in API](https://forum.ansible.com/t/ask-pass-in-api/13466)

<div class="topic-metadata">

**Author:** [@Norman\_Kraft](https://forum.ansible.com/u/Norman_Kraft)\
**Replies:** 2\
**Last updated:** [September 12, 2013, 10:23pm UTC](https://forum.ansible.com/t/ask-pass-in-api/13466 "2013-09-12T22:23:29Z")

</div>

I know there’s an ask\_pass option when calling ansible on the command line (-k), but I’m using the API in a larger Python script and I need the same functionality. Is there an option I’ve missed that allows prompting for…

---

## [async timeout/polling not picking up finished process?](https://forum.ansible.com/t/async-timeout-polling-not-picking-up-finished-process/13453)

<div class="topic-metadata">

**Author:** [@Ryan\_Mitchell](https://forum.ansible.com/u/Ryan_Mitchell)\
**Replies:** 5\
**Last updated:** [September 12, 2013, 8:35pm UTC](https://forum.ansible.com/t/async-timeout-polling-not-picking-up-finished-process/13453 "2013-09-12T20:35:15Z")

</div>

I have a relatively simple action that the best I can tell after some testing doesn’t pick up on the fact that the action has completed - it will run to the end of the async time and then produce a “fail” status even tho…

---

## [name of the task that calls a handler](https://forum.ansible.com/t/name-of-the-task-that-calls-a-handler/11934)

<div class="topic-metadata">

**Author:** [@PJ1](https://forum.ansible.com/u/PJ1)\
**Replies:** 10\
**Last updated:** [September 12, 2013, 7:01pm UTC](https://forum.ansible.com/t/name-of-the-task-that-calls-a-handler/11934 "2013-09-12T19:01:55Z")

</div>

Is there a way to get the name of the task that calls a handler? I was trying to make an generic service restart handler in line with: tasks: name: ntpd action: copy src=${GITREPO}/${DIST}/$item dest=/$item owner=ro…

---

## [Running on Windows](https://forum.ansible.com/t/running-on-windows/11930)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 50\
**Last updated:** [September 12, 2013, 5:56pm UTC](https://forum.ansible.com/t/running-on-windows/11930 "2013-09-12T17:56:28Z")

</div>

I honestly don't know. I'm open to patches to make this possible where it makes sense unless it starts looking ugly. -c ssh may work ok out of the box, I would think it might. There is a bit on the internet about par…

---

## [Ec2 module and support for old Boto version](https://forum.ansible.com/t/ec2-module-and-support-for-old-boto-version/13434)

<div class="topic-metadata">

**Author:** [@Charles\_BLONDE](https://forum.ansible.com/u/Charles_BLONDE)\
**Replies:** 10\
**Last updated:** [September 12, 2013, 5:53pm UTC](https://forum.ansible.com/t/ec2-module-and-support-for-old-boto-version/13434 "2013-09-12T17:53:00Z")

</div>

Hi, I’m using Ansible from my Ubuntu Workstation and I have issues with the ec2 module because it need Boto 2.5+ whereas in Ubuntu 12.04 LTS the packaged version is 2.2 (and Server version too I guess). I did a patch t…

---

## [only add users, but dont allow changing users](https://forum.ansible.com/t/only-add-users-but-dont-allow-changing-users/13463)

<div class="topic-metadata">

**Author:** [@work](https://forum.ansible.com/u/work)\
**Replies:** 1\
**Last updated:** [September 12, 2013, 5:47pm UTC](https://forum.ansible.com/t/only-add-users-but-dont-allow-changing-users/13463 "2013-09-12T17:47:42Z")

</div>

Hallo, I want to manage some users with the users module on running systems. At the moment, there is a lot of garbage with different attributes (UIDs, Homedir) of users with the same name. As there are running processes…

---

## [Is there any way to manange the ansible host file?](https://forum.ansible.com/t/is-there-any-way-to-manange-the-ansible-host-file/13461)

<div class="topic-metadata">

**Author:** [@Cristobal\_Rosa](https://forum.ansible.com/u/Cristobal_Rosa)\
**Replies:** 1\
**Last updated:** [September 12, 2013, 5:46pm UTC](https://forum.ansible.com/t/is-there-any-way-to-manange-the-ansible-host-file/13461 "2013-09-12T17:46:08Z")

</div>

I would like to add/remove hosts/groups on this file (in a permanent way). I’ve been looking in the Inventory object but there is no save method there. Thanks!

---

## [How to register with local\_action?](https://forum.ansible.com/t/how-to-register-with-local-action/13459)

<div class="topic-metadata">

**Author:** [@Pierre\_Thibault](https://forum.ansible.com/u/Pierre_Thibault)\
**Replies:** 2\
**Last updated:** [September 12, 2013, 5:42pm UTC](https://forum.ansible.com/t/how-to-register-with-local-action/13459 "2013-09-12T17:42:48Z")

</div>

I am trying to create a new variable from a local action: name: Get ansible host directory local\_action: command /usr/bin/dirname $ENV(ANSIBLE\_HOSTS) register: host\_vars\_dir sudo: False But when I try to use the va…

---

## [same install different architectures](https://forum.ansible.com/t/same-install-different-architectures/13456)

<div class="topic-metadata">

**Author:** [@Eric\_Palmer1](https://forum.ansible.com/u/Eric_Palmer1)\
**Replies:** 1\
**Last updated:** [September 12, 2013, 5:40pm UTC](https://forum.ansible.com/t/same-install-different-architectures/13456 "2013-09-12T17:40:36Z")

</div>

I apology if this is obvious. I have two systems I need to install apache and then an open source xml db that is a little complicated. While the apache difference are mostly repo driven not so for the open source xml …

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

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