# Latest

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

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

**Page:** 825

---

## [ansible bug or what could be generating this stack trace?](https://forum.ansible.com/t/ansible-bug-or-what-could-be-generating-this-stack-trace/19590)

<div class="topic-metadata">

**Author:** [@William\_Muriithi](https://forum.ansible.com/u/William_Muriithi)\
**Replies:** 0\
**Last updated:** [October 22, 2015, 11:05pm UTC](https://forum.ansible.com/t/ansible-bug-or-what-could-be-generating-this-stack-trace/19590 "2015-10-22T23:05:17Z")

</div>

Evening, Ansible 1.9.2-1.el7.noarch This is my task: name: Extract the versions of the current mint rpm applications set\_fact: rpm\_versions: “{{ rpm\_version\_details.stdout | from\_json }}” This is how stdout looks …

---

## [Only execute task if variable is defined when using with\_items?](https://forum.ansible.com/t/only-execute-task-if-variable-is-defined-when-using-with-items/19580)

<div class="topic-metadata">

**Author:** [@Bob\_Tanner](https://forum.ansible.com/u/Bob_Tanner)\
**Replies:** 2\
**Last updated:** [October 22, 2015, 8:19pm UTC](https://forum.ansible.com/t/only-execute-task-if-variable-is-defined-when-using-with-items/19580 "2015-10-22T20:19:13Z")

</div>

I want the following task to be executed only when etc\_hosts is defined name: other important hosts in /etc/hosts lineinfile: \> dest=‘/etc/hosts’ regexp=‘.\*{{ item.hostname }}$’ line=‘{{ item.address }} {{ item.hos…

---

## [Forcing a stop on failure](https://forum.ansible.com/t/forcing-a-stop-on-failure/19581)

<div class="topic-metadata">

**Author:** [@Guy\_Matz1](https://forum.ansible.com/u/Guy_Matz1)\
**Replies:** 2\
**Last updated:** [October 22, 2015, 6:28pm UTC](https://forum.ansible.com/t/forcing-a-stop-on-failure/19581 "2015-10-22T18:28:11Z")

</div>

Hi! I have a playbook that has three plays, each one deploying software to a set of servers . . . if any of these plays fail I want the playbook to stop running. Is that what any\_errors\_fatal is for? It sounds like it's …

---

## [Inheritance of variables .. host\_vars, group\_vars .. a question](https://forum.ansible.com/t/inheritance-of-variables-host-vars-group-vars-a-question/19589)

<div class="topic-metadata">

**Author:** [@Marcus\_Franke](https://forum.ansible.com/u/Marcus_Franke)\
**Replies:** 2\
**Last updated:** [October 22, 2015, 3:57pm UTC](https://forum.ansible.com/t/inheritance-of-variables-host-vars-group-vars-a-question/19589 "2015-10-22T15:57:38Z")

</div>

Hello, I’ve got a big problem with host and group variables in my playbook and Im not sure if I am just plain stupid or if I am running into a bug or am abusing ansible in some kind :wink: Some background, I use ansi…

---

## [Galaxy maintenance tomorrow @ 8:30AM EDT](https://forum.ansible.com/t/galaxy-maintenance-tomorrow-8-30am-edt/19573)

<div class="topic-metadata">

**Author:** [@Chris\_Houseknecht](https://forum.ansible.com/u/Chris_Houseknecht)\
**Replies:** 3\
**Last updated:** [October 22, 2015, 2:18pm UTC](https://forum.ansible.com/t/galaxy-maintenance-tomorrow-8-30am-edt/19573 "2015-10-22T14:18:02Z")

</div>

Between 8:30AM and 9:00 AM EDT tomorrow we will be upgrading the Galaxy infrastructure and releasing Galaxy 1.1. Expect Galaxy access to be interrupted during this window. We will update the mailing list as soon as the …

---

## [Hello! Presentation and module wrappers for unit testing.](https://forum.ansible.com/t/hello-presentation-and-module-wrappers-for-unit-testing/19587)

<div class="topic-metadata">

**Author:** [@Jorge\_Monforte\_Gonza](https://forum.ansible.com/u/Jorge_Monforte_Gonza)\
**Replies:** 1\
**Last updated:** [October 22, 2015, 12:04pm UTC](https://forum.ansible.com/t/hello-presentation-and-module-wrappers-for-unit-testing/19587 "2015-10-22T12:04:10Z")

</div>

Hello! My name is Jorge and I’have been using ansible and programming for at least two years now. I have developed an action\_plugin + module for handling GnuPG keys and encryption and during the development I have fou…

---

## [Delegate via remote host](https://forum.ansible.com/t/delegate-via-remote-host/19575)

<div class="topic-metadata">

**Author:** [@Thomas\_Steinbach](https://forum.ansible.com/u/Thomas_Steinbach)\
**Replies:** 3\
**Last updated:** [October 22, 2015, 12:00pm UTC](https://forum.ansible.com/t/delegate-via-remote-host/19575 "2015-10-22T12:00:03Z")

</div>

Is it possible to delegate a role/task to a remote hosts remote host? An example: On a remote host (e.g. testserver) I have created a docker container. The containers IP is known on the testserver and he is accessible j…

---

## [Inventory group variables](https://forum.ansible.com/t/inventory-group-variables/19576)

<div class="topic-metadata">

**Author:** [@Wei\_Wei](https://forum.ansible.com/u/Wei_Wei)\
**Replies:** 3\
**Last updated:** [October 22, 2015, 9:22am UTC](https://forum.ansible.com/t/inventory-group-variables/19576 "2015-10-22T09:22:18Z")

</div>

Hi, I am writing an inventory that contains 3 groups of hosts, and each of them have their own host specific variables. It looks like this: \[abc\] 10.10.0.101 10.10.0.102 \[abc:vars\] dest\_path=/home/wwwroot/abc port…

---

## [Ansible scipt error](https://forum.ansible.com/t/ansible-scipt-error/19505)

<div class="topic-metadata">

**Author:** [@GBANE\_FETIGUE](https://forum.ansible.com/u/GBANE_FETIGUE)\
**Replies:** 1\
**Last updated:** [October 22, 2015, 3:20am UTC](https://forum.ansible.com/t/ansible-scipt-error/19505 "2015-10-22T03:20:32Z")

</div>

Hey Guys, any ideas about this : root@ip-172-16-20-180:/var/lib/jenkins/jobs/build-cs-utils/workspace/playbooks# ansible-playbook -i inventory/prod deploy\_system\_status.yml Enter the version you want to deploy: PLAY …

---

## [Invalid security\_token in cloudformation module](https://forum.ansible.com/t/invalid-security-token-in-cloudformation-module/18953)

<div class="topic-metadata">

**Author:** [@Vicent\_Soria](https://forum.ansible.com/u/Vicent_Soria)\
**Replies:** 3\
**Last updated:** [October 22, 2015, 3:11am UTC](https://forum.ansible.com/t/invalid-security-token-in-cloudformation-module/18953 "2015-10-22T03:11:00Z")

</div>

Hi, I’m trying to manage a cloudformation stack with assume role credentials. I exported AWS\_ACCESS\_KEY\_ID, AWS\_SECRET\_ACCESS\_KEY and AWS\_SECURITY\_TOKEN as environment variables. - name: my cloudformation task cloud…

---

## [cron module issues](https://forum.ansible.com/t/cron-module-issues/19582)

<div class="topic-metadata">

**Author:** [@Erik\_Anderson](https://forum.ansible.com/u/Erik_Anderson)\
**Replies:** 2\
**Last updated:** [October 22, 2015, 3:03am UTC](https://forum.ansible.com/t/cron-module-issues/19582 "2015-10-22T03:03:22Z")

</div>

Hello, I'm using ansible 1.9.3, and I running into a problem getting the cron module to work properly. Here's what I have: - name: deploy cron job cron: job = "/path/to/script" minute = "10" hour = "22" backup = "…

---

## [hiera eqivalent and proxy feature feature](https://forum.ansible.com/t/hiera-eqivalent-and-proxy-feature-feature/19568)

<div class="topic-metadata">

**Author:** [@marco\_giovannini](https://forum.ansible.com/u/marco_giovannini)\
**Replies:** 1\
**Last updated:** [October 22, 2015, 2:36am UTC](https://forum.ansible.com/t/hiera-eqivalent-and-proxy-feature-feature/19568 "2015-10-22T02:36:39Z")

</div>

Hi I would like to know if there is an equivalent feature of hiera (overriding or appending values of variable) and if exist sort of ‘ansible proxy’ sort of syndication master of Salt.

---

## [EC2 Terminate - Dynamic Inventory - boto required for this module](https://forum.ansible.com/t/ec2-terminate-dynamic-inventory-boto-required-for-this-module/19585)

<div class="topic-metadata">

**Author:** [@K\_Cheng](https://forum.ansible.com/u/K_Cheng)\
**Replies:** 1\
**Last updated:** [October 22, 2015, 1:46am UTC](https://forum.ansible.com/t/ec2-terminate-dynamic-inventory-boto-required-for-this-module/19585 "2015-10-22T01:46:02Z")

</div>

Hi All, I’m trying to create a terminate AWS EC2 play using the dynamic inventory script but I keep getting fatal: \[remote\_host\_ip\]: FAILED! =\> {“changed”: false, “failed”: true, “msg”: “boto required for this module”}. …

---

## [Shell Permission denied](https://forum.ansible.com/t/shell-permission-denied/19583)

<div class="topic-metadata">

**Author:** [@gfurg11](https://forum.ansible.com/u/gfurg11)\
**Replies:** 3\
**Last updated:** [October 22, 2015, 1:28am UTC](https://forum.ansible.com/t/shell-permission-denied/19583 "2015-10-22T01:28:19Z")

</div>

A simple task of listing/removing/installing a ElasticSearch plugin has got me baffled! What am I missing here? Here’s my playbook:

---

## [empty line where conditional line exist](https://forum.ansible.com/t/empty-line-where-conditional-line-exist/19586)

<div class="topic-metadata">

**Author:** [@William\_Muriithi](https://forum.ansible.com/u/William_Muriithi)\
**Replies:** 1\
**Last updated:** [October 22, 2015, 1:22am UTC](https://forum.ansible.com/t/empty-line-where-conditional-line-exist/19586 "2015-10-22T01:22:00Z")

</div>

Evening, Is there a way to avoid an empty line in the configuration file when template has conditional lines? I have always ignored the empty line but logstash-forwarder use a json bases configuration and the empty lin…

---

## [ec2\_ami\_find fails on ubuntu 15.04, boto==2.34](https://forum.ansible.com/t/ec2-ami-find-fails-on-ubuntu-15-04-boto-2-34/19584)

<div class="topic-metadata">

**Author:** [@viper233](https://forum.ansible.com/u/viper233)\
**Replies:** 0\
**Last updated:** [October 21, 2015, 11:55pm UTC](https://forum.ansible.com/t/ec2-ami-find-fails-on-ubuntu-15-04-boto-2-34/19584 "2015-10-21T23:55:08Z")

</div>

‘creationDate’: image.creationDate, AttributeError: ‘Image’ object has no attribute ‘creationDate’ The version of boto installed on ubuntu 15.04 is only 2.34 and the image object doesn’t have the creationDate attribute…

---

## [Best way to accomplish this task using slurp](https://forum.ansible.com/t/best-way-to-accomplish-this-task-using-slurp/19538)

<div class="topic-metadata">

**Author:** [@CyberCyber](https://forum.ansible.com/u/CyberCyber)\
**Replies:** 3\
**Last updated:** [October 21, 2015, 11:41pm UTC](https://forum.ansible.com/t/best-way-to-accomplish-this-task-using-slurp/19538 "2015-10-21T23:41:16Z")

</div>

I’m using Ansible version 1.9.4 on Ubuntu 14. This is the approach that I’ve tried, but it does not work: hosts file: \[server\_A\] 172.19.99.15 \[server\_B\] 172.19.99.16 playbook:

---

## [path to group\_vars](https://forum.ansible.com/t/path-to-group-vars/19572)

<div class="topic-metadata">

**Author:** [@jepper](https://forum.ansible.com/u/jepper)\
**Replies:** 2\
**Last updated:** [October 21, 2015, 11:38pm UTC](https://forum.ansible.com/t/path-to-group-vars/19572 "2015-10-21T23:38:29Z")

</div>

This might be a really dumb question. I am working on a project where the directory structure looks like the tree below. I am looking for confirmation from the forum that this will not read anything group\_vars, as group\_…

---

## [Replace contents of same named file located in multiple non-unique directories.](https://forum.ansible.com/t/replace-contents-of-same-named-file-located-in-multiple-non-unique-directories/19560)

<div class="topic-metadata">

**Author:** [@Chad\_Yantorno](https://forum.ansible.com/u/Chad_Yantorno)\
**Replies:** 2\
**Last updated:** [October 21, 2015, 11:23pm UTC](https://forum.ansible.com/t/replace-contents-of-same-named-file-located-in-multiple-non-unique-directories/19560 "2015-10-21T23:23:40Z")

</div>

I’d like to replace some text in a file using the Replace: command. The file is located in many different sub-directories. I know how to replace text when I know the directory, but the file I want to replace could be in …

---

## [User quota management with Ansible](https://forum.ansible.com/t/user-quota-management-with-ansible/19555)

<div class="topic-metadata">

**Author:** [@jdelaporte](https://forum.ansible.com/u/jdelaporte)\
**Replies:** 5\
**Last updated:** [October 21, 2015, 9:03pm UTC](https://forum.ansible.com/t/user-quota-management-with-ansible/19555 "2015-10-21T21:03:57Z")

</div>

Hi, I would like to provision a system on AWS using Ansible, recreate my ~8000 users and establish user quotas… edquota opens an interactive editor, so it’s not particularly Ansible-friendly. Has anyone here set user fi…

---

## [Extracting inner (nested) elements from a list, or launching EC2 instances on more than one zone](https://forum.ansible.com/t/extracting-inner-nested-elements-from-a-list-or-launching-ec2-instances-on-more-than-one-zone/19577)

<div class="topic-metadata">

**Author:** [@Tzach\_Livyatan1](https://forum.ansible.com/u/Tzach_Livyatan1)\
**Replies:** 2\
**Last updated:** [October 21, 2015, 6:17pm UTC](https://forum.ansible.com/t/extracting-inner-nested-elements-from-a-list-or-launching-ec2-instances-on-more-than-one-zone/19577 "2015-10-21T18:17:19Z")

</div>

Hello wise people of Ansible An existing playbook I have launch EC instances as follow (simplify): \` name: Launch instances local\_action: module: ec2 region: “{{region}}” instance\_type: “{{instance\_type}}” image…

---

## [Ansible and AWS](https://forum.ansible.com/t/ansible-and-aws/19570)

<div class="topic-metadata">

**Author:** [@Stefano](https://forum.ansible.com/u/Stefano)\
**Replies:** 1\
**Last updated:** [October 21, 2015, 5:50pm UTC](https://forum.ansible.com/t/ansible-and-aws/19570 "2015-10-21T17:50:49Z")

</div>

Hi, i’m new to ansible, i have read the book “Ansible Up and running” by L. Hochstein. I’m considering ansible as an alternative to puppet. From the book seems ansible can launch commands from a client to other machines…

---

## [user module doesn't work properly](https://forum.ansible.com/t/user-module-doesnt-work-properly/19567)

<div class="topic-metadata">

**Author:** [@Koji\_Tanaka](https://forum.ansible.com/u/Koji_Tanaka)\
**Replies:** 2\
**Last updated:** [October 21, 2015, 3:03pm UTC](https://forum.ansible.com/t/user-module-doesnt-work-properly/19567 "2015-10-21T15:03:52Z")

</div>

Hello Ansible Community, I have a task described below, and it works fine if the user account has been managed by Ansible since the moment of the user account creation. However, this task always ends with “changed” stat…

---

## [UnicodeDecodeError with Ansible 1.9.4 and German Letter](https://forum.ansible.com/t/unicodedecodeerror-with-ansible-1-9-4-and-german-letter/19513)

<div class="topic-metadata">

**Author:** [@Thoralf\_Liersch](https://forum.ansible.com/u/Thoralf_Liersch)\
**Replies:** 4\
**Last updated:** [October 21, 2015, 2:47pm UTC](https://forum.ansible.com/t/unicodedecodeerror-with-ansible-1-9-4-and-german-letter/19513 "2015-10-21T14:47:35Z")

</div>

Hi, i have a problem to provisioning a windows client. The Windows Client is a Windows 10 Prof, the management machine is a mac osx or a ubuntu. I have both the same problem. the command: ansible berater -m raw -a “ip…

---

## [How to load a json data?](https://forum.ansible.com/t/how-to-load-a-json-data/19542)

<div class="topic-metadata">

**Author:** [@Ivan\_Smirnov](https://forum.ansible.com/u/Ivan_Smirnov)\
**Replies:** 4\
**Last updated:** [October 21, 2015, 12:18pm UTC](https://forum.ansible.com/t/how-to-load-a-json-data/19542 "2015-10-21T12:18:36Z")

</div>

Hi I need to parse JSON configuration files. The directory sctructure is like this: ├── configs │ ├── dir1 │ │ └── config.json │ └── dir2 │ └── config.json │ … │ └── dirN │ └── config.json N is not known prio…

---

## [lineinfile Best Practice?](https://forum.ansible.com/t/lineinfile-best-practice/19564)

<div class="topic-metadata">

**Author:** [@Josef\_Fortier](https://forum.ansible.com/u/Josef_Fortier)\
**Replies:** 5\
**Last updated:** [October 21, 2015, 8:25am UTC](https://forum.ansible.com/t/lineinfile-best-practice/19564 "2015-10-21T08:25:08Z")

</div>

What ideas do others have on Best Practice for using lineinfile? As a potential conversation starter, here’s a couple of ideas that have recently gelled for me: Use two rules: First delete all versions of the line T…

---

## [Send payload using uri module](https://forum.ansible.com/t/send-payload-using-uri-module/19503)

<div class="topic-metadata">

**Author:** [@Mick\_st\_john](https://forum.ansible.com/u/Mick_st_john)\
**Replies:** 6\
**Last updated:** [October 21, 2015, 4:33am UTC](https://forum.ansible.com/t/send-payload-using-uri-module/19503 "2015-10-21T04:33:55Z")

</div>

I am trying to send a payload(in JSON) to a destination mentioned in the URL. For this purpose I am using uri module and POST method. How can I send it using uri module? I am using ansible version 1.9.1 and when I tried …

---

## [Whether and how to propose a change to the iam\_policy module](https://forum.ansible.com/t/whether-and-how-to-propose-a-change-to-the-iam-policy-module/19569)

<div class="topic-metadata">

**Author:** [@Jaime\_Bermudez](https://forum.ansible.com/u/Jaime_Bermudez)\
**Replies:** 0\
**Last updated:** [October 20, 2015, 11:43pm UTC](https://forum.ansible.com/t/whether-and-how-to-propose-a-change-to-the-iam-policy-module/19569 "2015-10-20T23:43:04Z")

</div>

Hello! I was so enticed by the iam modules slated for Ansible 2.0 that I decided to download the current devel them into a 1.9.4 project and see if they would work… and they do! At least, for what I’m trying to do which…

---

## [Create D schema/users on RDS instance, which is not publicly available.](https://forum.ansible.com/t/create-d-schema-users-on-rds-instance-which-is-not-publicly-available/19543)

<div class="topic-metadata">

**Author:** [@Luuk](https://forum.ansible.com/u/Luuk)\
**Replies:** 2\
**Last updated:** [October 20, 2015, 9:55pm UTC](https://forum.ansible.com/t/create-d-schema-users-on-rds-instance-which-is-not-publicly-available/19543 "2015-10-20T21:55:30Z")

</div>

Hi, This might have been asked before. I am wondering if there is a way Ansible can create db schema/users, using the “mysql\_\<db|user\>” in my instance, on a RDS instance that is not publicly accessible? I have been abl…

---

## [protect ansible code ?](https://forum.ansible.com/t/protect-ansible-code/19557)

<div class="topic-metadata">

**Author:** [@Alejandro\_Comisario](https://forum.ansible.com/u/Alejandro_Comisario)\
**Replies:** 3\
**Last updated:** [October 20, 2015, 8:53pm UTC](https://forum.ansible.com/t/protect-ansible-code/19557 "2015-10-20T20:53:04Z")

</div>

Yeahp, im not talking about vault, im talking about protecting / encrypting / compiling ansible app ( by that i mean a series of roles executed for example, by a site.yml ). By that i mean, any company that builts a pro…

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

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