# Latest

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

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

**Page:** 997

---

## [Failed running ec2\_vol module](https://forum.ansible.com/t/failed-running-ec2-vol-module/14220)

<div class="topic-metadata">

**Author:** [@Codezerk](https://forum.ansible.com/u/Codezerk)\
**Replies:** 1\
**Last updated:** [January 21, 2014, 3:13pm UTC](https://forum.ansible.com/t/failed-running-ec2-vol-module/14220 "2014-01-21T15:13:37Z")

</div>

I’m running the latest development version of ansible. I’m getting an error: “TypeError: create\_volume() takes at most 4 arguments (6 given)” when running the ec2\_vol module (see below the full error message) My action…

---

## [msg: Failed to find required executable git](https://forum.ansible.com/t/msg-failed-to-find-required-executable-git/14390)

<div class="topic-metadata">

**Author:** [@tannerjc](https://forum.ansible.com/u/tannerjc)\
**Replies:** 0\
**Last updated:** [January 21, 2014, 3:00pm UTC](https://forum.ansible.com/t/msg-failed-to-find-required-executable-git/14390 "2014-01-21T15:00:05Z")

</div>

What is the path to git on that host?

---

## [Variable to call a handler](https://forum.ansible.com/t/variable-to-call-a-handler/14381)

<div class="topic-metadata">

**Author:** [@vlamsdoem](https://forum.ansible.com/u/vlamsdoem)\
**Replies:** 2\
**Last updated:** [January 21, 2014, 9:05am UTC](https://forum.ansible.com/t/variable-to-call-a-handler/14381 "2014-01-21T09:05:34Z")

</div>

Hello, I’m trying to use OS based variables for a handler but it doesn’t work. Here’s my configuration: vars/Debian.yml iptables\_service\_name: iptables-persistent iptables\_config\_file: /etc/iptables/rules.v4 roles/…

---

## [yum module: failed to parse: SUDO-SUCCESS-owdhaivbcxarzwabxjtblacdvifhvhtk](https://forum.ansible.com/t/yum-module-failed-to-parse-sudo-success-owdhaivbcxarzwabxjtblacdvifhvhtk/14385)

<div class="topic-metadata">

**Author:** [@Edd\_Grant](https://forum.ansible.com/u/Edd_Grant)\
**Replies:** 2\
**Last updated:** [January 21, 2014, 8:31am UTC](https://forum.ansible.com/t/yum-module-failed-to-parse-sudo-success-owdhaivbcxarzwabxjtblacdvifhvhtk/14385 "2014-01-21T08:31:17Z")

</div>

Hi all, I’m getting the following error when trying to execute the yum module to install an RPM: fatal: \[dev.eddgrant.com\] =\> failed to parse: SUDO-SUCCESS-owdhaivbcxarzwabxjtblacdvifhvhtk Traceback (most recent call …

---

## [ansible.cfg relative paths](https://forum.ansible.com/t/ansible-cfg-relative-paths/14085)

<div class="topic-metadata">

**Author:** [@anatoly\_techtonik](https://forum.ansible.com/u/anatoly_techtonik)\
**Replies:** 4\
**Last updated:** [January 21, 2014, 12:48am UTC](https://forum.ansible.com/t/ansible-cfg-relative-paths/14085 "2014-01-21T00:48:42Z")

</div>

This needs some discussion not in tracker https://github.com/ansible/ansible/issues/5185 When you create ansible.cfg with the following content: \[defaults\] hostfile = ./hosts What kind of lookup will be more useful? …

---

## [creating json inline](https://forum.ansible.com/t/creating-json-inline/14379)

<div class="topic-metadata">

**Author:** [@jim1](https://forum.ansible.com/u/jim1)\
**Replies:** 3\
**Last updated:** [January 21, 2014, 12:43am UTC](https://forum.ansible.com/t/creating-json-inline/14379 "2014-01-21T00:43:23Z")

</div>

An API that I use accepts only JSON. I’m creating what I need with set\_fact, which I’ll later use with the uri module. However, the curly braces are getting interpreted as a dictionary or something. Here’s my playbook:

---

## [Transfer SQL file, then use it in module to execute queries against PostgreSQL](https://forum.ansible.com/t/transfer-sql-file-then-use-it-in-module-to-execute-queries-against-postgresql/14389)

<div class="topic-metadata">

**Author:** [@Augustus\_Kling](https://forum.ansible.com/u/Augustus_Kling)\
**Replies:** 1\
**Last updated:** [January 21, 2014, 12:07am UTC](https://forum.ansible.com/t/transfer-sql-file-then-use-it-in-module-to-execute-queries-against-postgresql/14389 "2014-01-21T00:07:14Z")

</div>

Hello all, I tried to execute SQL queries to set up a database with contents as part of a playbook. After doing so with a combination of the existing modules I created a small module to conditionally execute a SQL file …

---

## [looping over a role, revisited](https://forum.ansible.com/t/looping-over-a-role-revisited/14384)

<div class="topic-metadata">

**Author:** [@Nick](https://forum.ansible.com/u/Nick)\
**Replies:** 5\
**Last updated:** [January 21, 2014, 12:03am UTC](https://forum.ansible.com/t/looping-over-a-role-revisited/14384 "2014-01-21T00:03:32Z")

</div>

Hello, I wondered if this previously-posted hack to loop over roles still the best option out there? (i.e. Without the need to modify the role in question to unroll the loops at a task level, as advocated as a workaroun…

---

## [Ansible book](https://forum.ansible.com/t/ansible-book/14387)

<div class="topic-metadata">

**Author:** [@Nicolas\_G](https://forum.ansible.com/u/Nicolas_G)\
**Replies:** 1\
**Last updated:** [January 20, 2014, 6:22pm UTC](https://forum.ansible.com/t/ansible-book/14387 "2014-01-20T18:22:13Z")

</div>

I just found this one in case you are still interested : https://www.packtpub.com/ansible-configuration-management/book

---

## [su support](https://forum.ansible.com/t/su-support/14276)

<div class="topic-metadata">

**Author:** [@Paul\_Durivage](https://forum.ansible.com/u/Paul_Durivage)\
**Replies:** 2\
**Last updated:** [January 20, 2014, 6:15pm UTC](https://forum.ansible.com/t/su-support/14276 "2014-01-20T18:15:51Z")

</div>

Good Morning Dev List, I’m just writing to check out your feedback on https://github.com/ansible/ansible/pull/5325, which adds support for su. I ask for a few reasons: there’s an impending release, and because I did a r…

---

## [Variable used to call a handler](https://forum.ansible.com/t/variable-used-to-call-a-handler/14386)

<div class="topic-metadata">

**Author:** [@Jesse\_Keating](https://forum.ansible.com/u/Jesse_Keating)\
**Replies:** 0\
**Last updated:** [January 20, 2014, 4:14pm UTC](https://forum.ansible.com/t/variable-used-to-call-a-handler/14386 "2014-01-20T16:14:13Z")

</div>

I don't have an answer, but I am curious if it works if you set it as a host level fact (set\_fact). Those should carry through between plays and handlers. -jlk

---

## [Storing custom data](https://forum.ansible.com/t/storing-custom-data/14378)

<div class="topic-metadata">

**Author:** [@Mathew\_Davies](https://forum.ansible.com/u/Mathew_Davies)\
**Replies:** 1\
**Last updated:** [January 20, 2014, 3:23pm UTC](https://forum.ansible.com/t/storing-custom-data/14378 "2014-01-20T15:23:12Z")

</div>

Hi, I’m finding myself running into a problem of where to store Apache / Nginx vhosts. I originally planned to abstract the template to a point I could customise it with variables, but that proved a waste of time becaus…

---

## [include + with\_items again](https://forum.ansible.com/t/include-with-items-again/14365)

<div class="topic-metadata">

**Author:** [@Alexander\_Petrovsky](https://forum.ansible.com/u/Alexander_Petrovsky)\
**Replies:** 3\
**Last updated:** [January 20, 2014, 2:04pm UTC](https://forum.ansible.com/t/include-with-items-again/14365 "2014-01-20T14:04:55Z")

</div>

Hello! Yesterday I’ve update my ansible from 1.3 to 1.5 and it’s broke all my playbooks. My playbooks looks like: create.yml: name: Recreate instance hosts: localhost gather\_facts: False vars\_files: vars/main…

---

## [Executing various commands over a list](https://forum.ansible.com/t/executing-various-commands-over-a-list/14380)

<div class="topic-metadata">

**Author:** [@Gonzalo\_Servat](https://forum.ansible.com/u/Gonzalo_Servat)\
**Replies:** 1\
**Last updated:** [January 20, 2014, 12:54pm UTC](https://forum.ansible.com/t/executing-various-commands-over-a-list/14380 "2014-01-20T12:54:56Z")

</div>

Hi All, I won’t say “include + with\_items” :wink: but I am looking for a way to run a bunch of commands, sequentially, over a list. For example: paths: \[ \[‘foo:/path/to/dir1’, ‘/dir1’\] \] \[ \[‘foo:/path/to/dir2’, ‘/dir…

---

## [Problem with negation of "False"-evaluated vars](https://forum.ansible.com/t/problem-with-negation-of-false-evaluated-vars/14383)

<div class="topic-metadata">

**Author:** [@Dmitry\_Horbach](https://forum.ansible.com/u/Dmitry_Horbach)\
**Replies:** 0\
**Last updated:** [January 20, 2014, 11:09am UTC](https://forum.ansible.com/t/problem-with-negation-of-false-evaluated-vars/14383 "2014-01-20T11:09:37Z")

</div>

Hi All, Found something strange (possible bug?) in evaluating True/False inside vars. Only in one particular case - if variable is evaluated as “False” - its not converted to “True” with “not” In my example false\_eval…

---

## [Help debugging the unarchive module](https://forum.ansible.com/t/help-debugging-the-unarchive-module/14059)

<div class="topic-metadata">

**Author:** [@Steven\_Haddox](https://forum.ansible.com/u/Steven_Haddox)\
**Replies:** 1\
**Last updated:** [January 19, 2014, 3:16pm UTC](https://forum.ansible.com/t/help-debugging-the-unarchive-module/14059 "2014-01-19T15:16:43Z")

</div>

I’m getting a really weird / hard to interpret error from the unarchive module with Ansible 1.4.1. The following code:

---

## [ssh\_alt & tty](https://forum.ansible.com/t/ssh-alt-tty/14367)

<div class="topic-metadata">

**Author:** [@Jerome\_Wagner](https://forum.ansible.com/u/Jerome_Wagner)\
**Replies:** 3\
**Last updated:** [January 19, 2014, 12:29am UTC](https://forum.ansible.com/t/ssh-alt-tty/14367 "2014-01-19T00:29:45Z")

</div>

Hello, I saw that ssh alt replaced ssh on devel :-)) great news + that at this stage it must be activated with pipelining = True because of a doubt on tty. Have you seen problems related to that ? For information, fro…

---

## [Built-in variable is undefined](https://forum.ansible.com/t/built-in-variable-is-undefined/14375)

<div class="topic-metadata">

**Author:** [@Bilal\_Aslam](https://forum.ansible.com/u/Bilal_Aslam)\
**Replies:** 1\
**Last updated:** [January 18, 2014, 10:46pm UTC](https://forum.ansible.com/t/built-in-variable-is-undefined/14375 "2014-01-18T22:46:23Z")

</div>

We have a template which uses the {{ansible\_user\_id}} pre-defined variable. On Ansible 1.5, running against localhost, we see this error: TASK: \[service | Stage deamontools run script\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* …

---

## [Use of --limit crashes the play because of missing facts in the dict](https://forum.ansible.com/t/use-of-limit-crashes-the-play-because-of-missing-facts-in-the-dict/14377)

<div class="topic-metadata">

**Author:** [@Johannes\_Zillmann](https://forum.ansible.com/u/Johannes_Zillmann)\
**Replies:** 1\
**Last updated:** [January 18, 2014, 9:46pm UTC](https://forum.ansible.com/t/use-of-limit-crashes-the-play-because-of-missing-facts-in-the-dict/14377 "2014-01-18T21:46:35Z")

</div>

Hi guys, i have an playbook an its likely to fail with a timeout since i’m targeting ec2. So i usually retry with the --limit option. Now the thing is that every host in the play need the address of the provided ‘mast…

---

## [How to black-box test a web app?](https://forum.ansible.com/t/how-to-black-box-test-a-web-app/14374)

<div class="topic-metadata">

**Author:** [@Robb\_Shecter](https://forum.ansible.com/u/Robb_Shecter)\
**Replies:** 1\
**Last updated:** [January 18, 2014, 9:45pm UTC](https://forum.ansible.com/t/how-to-black-box-test-a-web-app/14374 "2014-01-18T21:45:50Z")

</div>

Hi everyone. In Ruby RSpec, I’m testing my web apps with code like this. Is there a way to make equivalent checks with Ansible? This http://docs.ansible.com/uri\_module.html seems like it might help, but I don’t see exact…

---

## [download by script](https://forum.ansible.com/t/download-by-script/14376)

<div class="topic-metadata">

**Author:** [@Diogene\_Laerce](https://forum.ansible.com/u/Diogene_Laerce)\
**Replies:** 3\
**Last updated:** [January 18, 2014, 6:07pm UTC](https://forum.ansible.com/t/download-by-script/14376 "2014-01-18T18:07:49Z")

</div>

Hi, I try to download ansible on this url : url = http://ansibleworks.com/releases/ansible-1.4.tar.gz with this python code : url\_obj = urllib2.urlopen(url) and I systematically get this as return code : HTTP Error…

---

## [Perforce SCM Module Feature Idea](https://forum.ansible.com/t/perforce-scm-module-feature-idea/14300)

<div class="topic-metadata">

**Author:** [@Adam\_Smith](https://forum.ansible.com/u/Adam_Smith)\
**Replies:** 2\
**Last updated:** [January 18, 2014, 4:45pm UTC](https://forum.ansible.com/t/perforce-scm-module-feature-idea/14300 "2014-01-18T16:45:52Z")

</div>

Hey Ansible Team, I work for a company that uses Perforce SCM. I’ve been in contact with David Federlein and he suggested awhile back that I submit a feature idea for a perforce ansible module. I would love to have a mo…

---

## [File selector based on variables](https://forum.ansible.com/t/file-selector-based-on-variables/14099)

<div class="topic-metadata">

**Author:** [@Guillem\_Liarte](https://forum.ansible.com/u/Guillem_Liarte)\
**Replies:** 5\
**Last updated:** [January 18, 2014, 12:13pm UTC](https://forum.ansible.com/t/file-selector-based-on-variables/14099 "2014-01-18T12:13:37Z")

</div>

Hello. I try to use this: http://www.ansibleworks.com/docs/playbooks\_conditionals.html#selecting-files-and-templates-based-on-variables /etc/ansible/roles/common/templates# ls -lrt some -rw-------. 1 root root 750 De…

---

## [loop with\_together and register](https://forum.ansible.com/t/loop-with-together-and-register/14169)

<div class="topic-metadata">

**Author:** [@Pablo\_Hinojosa\_Nava](https://forum.ansible.com/u/Pablo_Hinojosa_Nava)\
**Replies:** 4\
**Last updated:** [January 17, 2014, 9:09pm UTC](https://forum.ansible.com/t/loop-with-together-and-register/14169 "2014-01-17T21:09:29Z")

</div>

Hi all, I am trying to set a loop on with\_together way but I am using nested variables with lists, and I do not have clear how the is code . My first variable is the next: vmStorage: { vcpu: 1, ram: 1024, storage:…

---

## [recap of failed tasks](https://forum.ansible.com/t/recap-of-failed-tasks/14366)

<div class="topic-metadata">

**Author:** [@Jerome\_Wagner](https://forum.ansible.com/u/Jerome_Wagner)\
**Replies:** 3\
**Last updated:** [January 17, 2014, 4:26pm UTC](https://forum.ansible.com/t/recap-of-failed-tasks/14366 "2014-01-17T16:26:39Z")

</div>

Hello, Is there an easy way to run a playbook and have a recap with the name of the failed task on a host when a host fails ? currently the digest says that a host has failed but does not recap why. usually it is way u…

---

## [Checking if with\_fileglob is empty](https://forum.ansible.com/t/checking-if-with-fileglob-is-empty/14348)

<div class="topic-metadata">

**Author:** [@erkan\_yanar](https://forum.ansible.com/u/erkan_yanar)\
**Replies:** 2\
**Last updated:** [January 17, 2014, 10:11am UTC](https://forum.ansible.com/t/checking-if-with-fileglob-is-empty/14348 "2014-01-17T10:11:32Z")

</div>

Hi I tried something like: copy: src={{ item }} dest=/etc/mode=444 with\_fileglob: - abc/\*.cnf So how to prevent the play from failing, when there is no file to glob? ignore\_errors: even did not wo…

---

## [Variable Substitution in a YAML List](https://forum.ansible.com/t/variable-substitution-in-a-yaml-list/14364)

<div class="topic-metadata">

**Author:** [@AmiableAlbion](https://forum.ansible.com/u/AmiableAlbion)\
**Replies:** 6\
**Last updated:** [January 17, 2014, 4:43am UTC](https://forum.ansible.com/t/variable-substitution-in-a-yaml-list/14364 "2014-01-17T04:43:34Z")

</div>

Is it possible to do a variable substitution in a YAML list. For instance { hostname: ‘myhost’, groups: ‘webservers’, image\_id: ‘{{image\_name}}’} The above example does not work, at least using vars or includes that d…

---

## [SSH\_alt is live](https://forum.ansible.com/t/ssh-alt-is-live/14356)

<div class="topic-metadata">

**Author:** [@James\_Cammarata1](https://forum.ansible.com/u/James_Cammarata1)\
**Replies:** 3\
**Last updated:** [January 16, 2014, 8:47pm UTC](https://forum.ansible.com/t/ssh-alt-is-live/14356 "2014-01-16T20:47:33Z")

</div>

Hi all, just wanted to let you know that the ssh\_alt connection type is now live in the development branch simply as “ssh”. The previous SSH implementation is still available as “-c ssh\_old”, just in case anyone runs in…

---

## [Mysql Module](https://forum.ansible.com/t/mysql-module/14362)

<div class="topic-metadata">

**Author:** [@Dylan\_Silva](https://forum.ansible.com/u/Dylan_Silva)\
**Replies:** 4\
**Last updated:** [January 16, 2014, 8:19pm UTC](https://forum.ansible.com/t/mysql-module/14362 "2014-01-16T20:19:52Z")

</div>

Hello all! This comes up a lot for my team, and I was wondering if others felt the same. How does everyone feel about having a module to use to query Mysql databases? Possibly even at one point it could insert data as …

---

## [Ec2 spot instance module](https://forum.ansible.com/t/ec2-spot-instance-module/14363)

<div class="topic-metadata">

**Author:** [@Seth\_Edwards](https://forum.ansible.com/u/Seth_Edwards)\
**Replies:** 0\
**Last updated:** [January 16, 2014, 7:58pm UTC](https://forum.ansible.com/t/ec2-spot-instance-module/14363 "2014-01-16T19:58:25Z")

</div>

I’m looking for feedback for writing a module for ec2 spot instances. The main responsibility the process of creating a spot instance request and waiting for approval. It could also potentially cancel requests etc. These…

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

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