# Latest

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

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

**Page:** 929

---

## [AWS IAM Roles](https://forum.ansible.com/t/aws-iam-roles/16498)

<div class="topic-metadata">

**Author:** [@Steven\_Ringo](https://forum.ansible.com/u/Steven_Ringo)\
**Replies:** 0\
**Last updated:** [October 14, 2014, 5:30am UTC](https://forum.ansible.com/t/aws-iam-roles/16498 "2014-10-14T05:30:05Z")

</div>

Hi, Has anyone had any experience managing AWS IAM roles with Ansible? For example creation of IAM roles, groups etc. I would like to use IAM roles as the method of providing an instance with access to S3 buckets, as o…

---

## [Windows copy and file modules](https://forum.ansible.com/t/windows-copy-and-file-modules/16001)

<div class="topic-metadata">

**Author:** [@Tony\_Kinsley](https://forum.ansible.com/u/Tony_Kinsley)\
**Replies:** 7\
**Last updated:** [October 14, 2014, 4:06am UTC](https://forum.ansible.com/t/windows-copy-and-file-modules/16001 "2014-10-14T04:06:16Z")

</div>

I have recently been trying to get a windows copy module to work. I noticed the win\_copy pull request but it is trying to use a samba share and as some of the comments pointed out you could easily piggy back on the same …

---

## [Globally pass variable](https://forum.ansible.com/t/globally-pass-variable/16488)

<div class="topic-metadata">

**Author:** [@Zhukov\_Pavel](https://forum.ansible.com/u/Zhukov_Pavel)\
**Replies:** 1\
**Last updated:** [October 13, 2014, 8:56pm UTC](https://forum.ansible.com/t/globally-pass-variable/16488 "2014-10-13T20:56:21Z")

</div>

Is it possible to specify variable for a module to use it in every call of that module? E.g i have multiple calling to docker and docker\_image modules inside playbook, but since i have a mac with docker inside VM, i sho…

---

## [Best practice for roles with per item configuration](https://forum.ansible.com/t/best-practice-for-roles-with-per-item-configuration/16416)

<div class="topic-metadata">

**Author:** [@Andre](https://forum.ansible.com/u/Andre)\
**Replies:** 2\
**Last updated:** [October 13, 2014, 8:54pm UTC](https://forum.ansible.com/t/best-practice-for-roles-with-per-item-configuration/16416 "2014-10-13T20:54:33Z")

</div>

I am trying to find the best way to write roles which have a per item configurations. By that I mean something like nginx or uwsgi where there are multiple sites or applications. For example my current nginx role has a …

---

## [maintain users in database](https://forum.ansible.com/t/maintain-users-in-database/16493)

<div class="topic-metadata">

**Author:** [@Ronald\_Rood](https://forum.ansible.com/u/Ronald_Rood)\
**Replies:** 1\
**Last updated:** [October 13, 2014, 8:47pm UTC](https://forum.ansible.com/t/maintain-users-in-database/16493 "2014-10-13T20:47:43Z")

</div>

Hi, I wrote a simple little oracle\_user module in bash that accepts a username and a state (present|absent) that creates or deletes a user depending on the requested state. No action when user exists and state is presen…

---

## [ControlMaster broken or defaults changed?](https://forum.ansible.com/t/controlmaster-broken-or-defaults-changed/16471)

<div class="topic-metadata">

**Author:** [@Sam\_Pierson](https://forum.ansible.com/u/Sam_Pierson)\
**Replies:** 6\
**Last updated:** [October 13, 2014, 8:46pm UTC](https://forum.ansible.com/t/controlmaster-broken-or-defaults-changed/16471 "2014-10-13T20:46:09Z")

</div>

Morning all, Since updating to submoduleized-ansible, my ansible-playbook runs are taking twice the time they used to. Looking at ~/.ansible/cp, I find it empty during the run. With 1.7.x, or older git ansible, for -vv…

---

## [Question on where best to implement a "--verify-failure" feature.](https://forum.ansible.com/t/question-on-where-best-to-implement-a-verify-failure-feature/16482)

<div class="topic-metadata">

**Author:** [@maxamillion](https://forum.ansible.com/u/maxamillion)\
**Replies:** 1\
**Last updated:** [October 13, 2014, 8:44pm UTC](https://forum.ansible.com/t/question-on-where-best-to-implement-a-verify-failure-feature/16482 "2014-10-13T20:44:01Z")

</div>

Hello all, I am currently poking my way through the core Ansible code trying to figure out how best to implement a "--verify-failure" feature, what I mean by that is there would be an option to run playbooks inte…

---

## [update\_cache=yes fails on Post-Invoke-Success](https://forum.ansible.com/t/update-cache-yes-fails-on-post-invoke-success/16494)

<div class="topic-metadata">

**Author:** [@Leonard\_Ehrenfried](https://forum.ansible.com/u/Leonard_Ehrenfried)\
**Replies:** 0\
**Last updated:** [October 13, 2014, 4:55pm UTC](https://forum.ansible.com/t/update-cache-yes-fails-on-post-invoke-success/16494 "2014-10-13T16:55:33Z")

</div>

Hi list, I’m having a problem with a freshly started Ubuntu VM when I like to run my playbook. I’m doing a very simple apt:update\_cache=yes. The task fails with the following error: apt.cache.FetchFailedException: E:Pro…

---

## [ansible-playbook and jenkins](https://forum.ansible.com/t/ansible-playbook-and-jenkins/16487)

<div class="topic-metadata">

**Author:** [@Subramanian\_Olagappa](https://forum.ansible.com/u/Subramanian_Olagappa)\
**Replies:** 2\
**Last updated:** [October 13, 2014, 6:33am UTC](https://forum.ansible.com/t/ansible-playbook-and-jenkins/16487 "2014-10-13T06:33:01Z")

</div>

Hi ! I’m running ansible-playbook command in Jenkins, when ansible-playbook command is executed, the output is buffered and I see the ansible-playbook command output only after it finished. + ansible-playbook -i invent…

---

## [Override ansible-galaxy playbook](https://forum.ansible.com/t/override-ansible-galaxy-playbook/16490)

<div class="topic-metadata">

**Author:** [@Navid\_Paya](https://forum.ansible.com/u/Navid_Paya)\
**Replies:** 0\
**Last updated:** [October 13, 2014, 5:40am UTC](https://forum.ansible.com/t/override-ansible-galaxy-playbook/16490 "2014-10-13T05:40:21Z")

</div>

Hi all I’m still figuring out what’s the best way to use ansible-galaxy playbooks. So for instance I have this one. I want to include it in my site.yml file but need to override some stuff, llike the version of Ruby it …

---

## [new ansible cloudstack module](https://forum.ansible.com/t/new-ansible-cloudstack-module/16436)

<div class="topic-metadata">

**Author:** [@Rene\_Moser](https://forum.ansible.com/u/Rene_Moser)\
**Replies:** 2\
**Last updated:** [October 12, 2014, 12:54pm UTC](https://forum.ansible.com/t/new-ansible-cloudstack-module/16436 "2014-10-12T12:54:28Z")

</div>

Hi A few weeks ago, I wrote an Cloudstack module, which used libcloud. Due some missing features in libcloud and for simplicity, I switched to python cs library developed by Exoscale. I plan to send a PR within the nex…

---

## [Gathering facts just hung to infinity for my AWS hosts](https://forum.ansible.com/t/gathering-facts-just-hung-to-infinity-for-my-aws-hosts/16458)

<div class="topic-metadata">

**Author:** [@Steven\_Truong](https://forum.ansible.com/u/Steven_Truong)\
**Replies:** 4\
**Last updated:** [October 10, 2014, 10:48pm UTC](https://forum.ansible.com/t/gathering-facts-just-hung-to-infinity-for-my-aws-hosts/16458 "2014-10-10T22:48:20Z")

</div>

Hi, I have a mixed or Amazon Linux and CentOS 6.5 on AWS but I just recently have had this problem. Running the “setup” scripts directly worked but Ansible gathering facts just hung. pwd /home/adsymp/.ansible su root …

---

## [Unable to figure out arrays](https://forum.ansible.com/t/unable-to-figure-out-arrays/16481)

<div class="topic-metadata">

**Author:** [@Michael\_Bushey](https://forum.ansible.com/u/Michael_Bushey)\
**Replies:** 6\
**Last updated:** [October 10, 2014, 6:51pm UTC](https://forum.ansible.com/t/unable-to-figure-out-arrays/16481 "2014-10-10T18:51:44Z")

</div>

I would like to be able to put my users into a list and be able to select what user has access to each machine.

---

## [Playbook failing due to EC2 delays](https://forum.ansible.com/t/playbook-failing-due-to-ec2-delays/16485)

<div class="topic-metadata">

**Author:** [@Peter\_Palmieri](https://forum.ansible.com/u/Peter_Palmieri)\
**Replies:** 0\
**Last updated:** [October 10, 2014, 9:37am UTC](https://forum.ansible.com/t/playbook-failing-due-to-ec2-delays/16485 "2014-10-10T09:37:34Z")

</div>

I have a simple playbook that: 1 - starts an EC2 instance 2 - configures it 3 - creates an AMI from it 4 - terminates it Over the last few days, I’ve been seeing the job fail quite frequently on step 4, because it’s…

---

## [UserWarning: Module ansible was already imported](https://forum.ansible.com/t/userwarning-module-ansible-was-already-imported/16484)

<div class="topic-metadata">

**Author:** [@Strahinja\_Kustudic2](https://forum.ansible.com/u/Strahinja_Kustudic2)\
**Replies:** 0\
**Last updated:** [October 10, 2014, 8:57am UTC](https://forum.ansible.com/t/userwarning-module-ansible-was-already-imported/16484 "2014-10-10T08:57:46Z")

</div>

I just cloned the ansible repo, tried sourcing hacking/env-setup and this is the warning I get when I run ansible --version: \` $ source hacking/env-setup Setting up Ansible to run out of checkout… PATH=/home/vagrant/…

---

## [Group\_by taking 4 minutes for 2800 servers](https://forum.ansible.com/t/group-by-taking-4-minutes-for-2800-servers/16456)

<div class="topic-metadata">

**Author:** [@Dag\_Wieers](https://forum.ansible.com/u/Dag_Wieers)\
**Replies:** 4\
**Last updated:** [October 9, 2014, 11:00pm UTC](https://forum.ansible.com/t/group-by-taking-4-minutes-for-2800-servers/16456 "2014-10-09T23:00:41Z")

</div>

Hi, Is it normal for group\_by to take 4 minutes to evaluate 2800 servers ? We often start off with a group\_by to simplify the playbook (and not overdesign our inventory script) and have noticed that with a large number…

---

## [Ansible Play apt: not happy with installing items: tomcat7 tomcat7-admin on vagrant up | ubuntu 12.0.4 | apt](https://forum.ansible.com/t/ansible-play-apt-not-happy-with-installing-items-tomcat7-tomcat7-admin-on-vagrant-up-ubuntu-12-0-4-apt/16475)

<div class="topic-metadata">

**Author:** [@Terry\_Fundak](https://forum.ansible.com/u/Terry_Fundak)\
**Replies:** 1\
**Last updated:** [October 9, 2014, 7:59pm UTC](https://forum.ansible.com/t/ansible-play-apt-not-happy-with-installing-items-tomcat7-tomcat7-admin-on-vagrant-up-ubuntu-12-0-4-apt/16475 "2014-10-09T19:59:42Z")

</div>

Looking for a little advise… new to ansible … Here is the task … which is in playbook from github … ansible-for-devops. \` tasks: TOMCAT 7 name: Install Tomcat 7. apt: “pkg={{ item }} state=installed” with\_items…

---

## [How to skip Role Dependencies?](https://forum.ansible.com/t/how-to-skip-role-dependencies/14097)

<div class="topic-metadata">

**Author:** [@howachen](https://forum.ansible.com/u/howachen)\
**Replies:** 4\
**Last updated:** [October 9, 2014, 7:57pm UTC](https://forum.ansible.com/t/how-to-skip-role-dependencies/14097 "2014-10-09T19:57:30Z")

</div>

Sometimes, we would like deploy a machine without the need for checking the “Role Dependencies”, because it is very slow for our playbook (up to 5 mins), is it possible? Thanks.

---

## [how to get ip address of an RDS instance using the RDS module ?](https://forum.ansible.com/t/how-to-get-ip-address-of-an-rds-instance-using-the-rds-module/13551)

<div class="topic-metadata">

**Author:** [@Nicolas\_G](https://forum.ansible.com/u/Nicolas_G)\
**Replies:** 11\
**Last updated:** [October 9, 2014, 6:24pm UTC](https://forum.ansible.com/t/how-to-get-ip-address-of-an-rds-instance-using-the-rds-module/13551 "2014-10-09T18:24:17Z")

</div>

Hi All, How can I get the public IP of an RDS instance the same way we do with the ec2 module (register: ec2/with\_items: ec2.instances / {{ item.public\_ip }} ) ? I see in the RDS documentation (http://www.ansibleworks.…

---

## [iterate over "failed" hosts?](https://forum.ansible.com/t/iterate-over-failed-hosts/16459)

<div class="topic-metadata">

**Author:** [@Dimon](https://forum.ansible.com/u/Dimon)\
**Replies:** 3\
**Last updated:** [October 9, 2014, 3:13pm UTC](https://forum.ansible.com/t/iterate-over-failed-hosts/16459 "2014-10-09T15:13:18Z")

</div>

I’ve got an interesting case: playbook is failing on certain hosts either due to SSH connection issues or because some things are not installed. I realize that I should really just write a playbook that makes all my mac…

---

## [Docker module not responding correctly to commands](https://forum.ansible.com/t/docker-module-not-responding-correctly-to-commands/16478)

<div class="topic-metadata">

**Author:** [@Dominik\_Kierzek](https://forum.ansible.com/u/Dominik_Kierzek)\
**Replies:** 0\
**Last updated:** [October 9, 2014, 1:32pm UTC](https://forum.ansible.com/t/docker-module-not-responding-correctly-to-commands/16478 "2014-10-09T13:32:25Z")

</div>

Hi i hope not to a duplicate any post but I have a preety akward problem with the docker module to ansible. I have a services.yml file:

---

## [skipping vault?](https://forum.ansible.com/t/skipping-vault/16477)

<div class="topic-metadata">

**Author:** [@Michael\_Dur](https://forum.ansible.com/u/Michael_Dur)\
**Replies:** 0\
**Last updated:** [October 9, 2014, 10:38am UTC](https://forum.ansible.com/t/skipping-vault/16477 "2014-10-09T10:38:18Z")

</div>

We’ve begun using vault to encrypt vars for a work group. This has been annoying to those who use ansible because now each site run requires them to enter the vault password or reference a file. Having this password in a…

---

## [Rename rax server](https://forum.ansible.com/t/rename-rax-server/16467)

<div class="topic-metadata">

**Author:** [@Graham\_Hay](https://forum.ansible.com/u/Graham_Hay)\
**Replies:** 6\
**Last updated:** [October 9, 2014, 8:03am UTC](https://forum.ansible.com/t/rename-rax-server/16467 "2014-10-09T08:03:18Z")

</div>

Hi, Is there any way to rename a rax server, using an ansible module? It doesn’t seem to be possible using the rax\_meta module, and I couldn’t see anything else appropriate. I can do it in the control panel easily enoug…

---

## [ERROR: run\_once is not a legal parameter in an Ansible task or handler](https://forum.ansible.com/t/error-run-once-is-not-a-legal-parameter-in-an-ansible-task-or-handler/16476)

<div class="topic-metadata">

**Author:** [@Paul\_Morrison](https://forum.ansible.com/u/Paul_Morrison)\
**Replies:** 0\
**Last updated:** [October 9, 2014, 7:51am UTC](https://forum.ansible.com/t/error-run-once-is-not-a-legal-parameter-in-an-ansible-task-or-handler/16476 "2014-10-09T07:51:41Z")

</div>

Hi, run\_once is still not working for me ansible --version ansible 1.7 Enter code here...--- name: Freeze zones command: rndc freeze run\_once: true delegate\_to: “IXPDNS01” name: Thaw zones command: rndc tha…

---

## [pycrypto](https://forum.ansible.com/t/pycrypto/15896)

<div class="topic-metadata">

**Author:** [@guanwen](https://forum.ansible.com/u/guanwen)\
**Replies:** 6\
**Last updated:** [October 9, 2014, 5:25am UTC](https://forum.ansible.com/t/pycrypto/15896 "2014-10-09T05:25:27Z")

</div>

The OS is CentOS 6.5 64 bit. Initial questions - what OS are you running from and how did you install ansible? Pycrypto can get confused when your libs get mixed between OS packages and pip. On Thu, Aug 7, 2014 at …

---

## [Reading a JSON file, adding to it and then saving it](https://forum.ansible.com/t/reading-a-json-file-adding-to-it-and-then-saving-it/16437)

<div class="topic-metadata">

**Author:** [@Mark\_Gavalda](https://forum.ansible.com/u/Mark_Gavalda)\
**Replies:** 5\
**Last updated:** [October 8, 2014, 10:00pm UTC](https://forum.ansible.com/t/reading-a-json-file-adding-to-it-and-then-saving-it/16437 "2014-10-08T22:00:49Z")

</div>

Hi, I’m trying to add lines to the Logstash Forwarder config file, which looks like this right now: { “network”: { “servers”: \[ “1.2.3.4:5000” \], “timeout”: 15, “ssl ca”: “/etc/pki/tls/certs/logstash-forwarder.crt” …

---

## [Using vars in comparison filters](https://forum.ansible.com/t/using-vars-in-comparison-filters/16472)

<div class="topic-metadata">

**Author:** [@Mzp45](https://forum.ansible.com/u/Mzp45)\
**Replies:** 2\
**Last updated:** [October 8, 2014, 7:46pm UTC](https://forum.ansible.com/t/using-vars-in-comparison-filters/16472 "2014-10-08T19:46:11Z")

</div>

Hi, I’m trying to compare 2 versions of firmware using the version\_compare filter. When i use a variable like this it seems like it doesn’t evaluate the function correctly debug: msg=“Firmware needs to be updated” whe…

---

## [using custom vars in group\_by](https://forum.ansible.com/t/using-custom-vars-in-group-by/16473)

<div class="topic-metadata">

**Author:** [@O\_T\_Suarez](https://forum.ansible.com/u/O_T_Suarez)\
**Replies:** 0\
**Last updated:** [October 8, 2014, 7:26pm UTC](https://forum.ansible.com/t/using-custom-vars-in-group-by/16473 "2014-10-08T19:26:07Z")

</div>

Hi, I want to be able to execute tasks on a subgroup of servers. It can be done via groups (\[dbservers\_cannary\]) in the inventory file, but after checking out group\_by funcionality, I thought of just adding a variable t…

---

## [Status of a pull request.](https://forum.ansible.com/t/status-of-a-pull-request/16468)

<div class="topic-metadata">

**Author:** [@Nicolas\_Cesar](https://forum.ansible.com/u/Nicolas_Cesar)\
**Replies:** 2\
**Last updated:** [October 8, 2014, 6:16pm UTC](https://forum.ansible.com/t/status-of-a-pull-request/16468 "2014-10-08T18:16:47Z")

</div>

Hi, I bumped into https://github.com/ansible/ansible-modules-core/pull/58 that I really like to be merged. Is there anyone in the core team that could be checking this? Is there anything I could do to help speed up the …

---

## [ec2\_tag module: unable to delete tags using variable names](https://forum.ansible.com/t/ec2-tag-module-unable-to-delete-tags-using-variable-names/16469)

<div class="topic-metadata">

**Author:** [@Bruce\_Pennypacker](https://forum.ansible.com/u/Bruce_Pennypacker)\
**Replies:** 0\
**Last updated:** [October 8, 2014, 6:07pm UTC](https://forum.ansible.com/t/ec2-tag-module-unable-to-delete-tags-using-variable-names/16469 "2014-10-08T18:07:47Z")

</div>

I’m trying to do something that I thought was fairly straightforward but I’m not having any luck. In a nutshell I need to delete a tag from an EC2 instance, but the name is a concatenation of a variable and a constant. W…

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

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