# Latest

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

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

**Page:** 846

---

## [AWS Rate exceeded (Throttling), sleep or pause in loop](https://forum.ansible.com/t/aws-rate-exceeded-throttling-sleep-or-pause-in-loop/18949)

<div class="topic-metadata">

**Author:** [@Dainiax](https://forum.ansible.com/u/Dainiax)\
**Replies:** 4\
**Last updated:** [August 6, 2015, 5:05am UTC](https://forum.ansible.com/t/aws-rate-exceeded-throttling-sleep-or-pause-in-loop/18949 "2015-08-06T05:05:55Z")

</div>

Hello, Ansible 1.9.2 Im working with Ansible AWS modules. I wanted to create 5 ELB for testing surpose. Script: … name: Create ELBs connection: local ec2\_elb\_lb: aws\_access\_key: “{{ AWS\_ACCESS\_KEY\_ID }}” aws\_se…

---

## [telnet module?](https://forum.ansible.com/t/telnet-module/15023)

<div class="topic-metadata">

**Author:** [@Bas\_Meijer](https://forum.ansible.com/u/Bas_Meijer)\
**Replies:** 9\
**Last updated:** [August 6, 2015, 3:47am UTC](https://forum.ansible.com/t/telnet-module/15023 "2015-08-06T03:47:33Z")

</div>

Is there by any chance a ‘telnet’ module? I would like to connect to a certain port on localhost and enter text and look for strings in the output.

---

## [Loop issue with nested variable and dict](https://forum.ansible.com/t/loop-issue-with-nested-variable-and-dict/18951)

<div class="topic-metadata">

**Author:** [@R\_Dikkes](https://forum.ansible.com/u/R_Dikkes)\
**Replies:** 3\
**Last updated:** [August 5, 2015, 11:01pm UTC](https://forum.ansible.com/t/loop-issue-with-nested-variable-and-dict/18951 "2015-08-05T23:01:34Z")

</div>

Hi, I am trying to do the following: Consul-template needs to generate a haproxy config, the consul template i want to be dynamic filled with Ansible. The consul template however is a Go template and unfortunately Go …

---

## [how to use dynamic variable set in one play as an input to a task in another play](https://forum.ansible.com/t/how-to-use-dynamic-variable-set-in-one-play-as-an-input-to-a-task-in-another-play/18956)

<div class="topic-metadata">

**Author:** [@Kathy\_Allen](https://forum.ansible.com/u/Kathy_Allen)\
**Replies:** 2\
**Last updated:** [August 5, 2015, 10:34pm UTC](https://forum.ansible.com/t/how-to-use-dynamic-variable-set-in-one-play-as-an-input-to-a-task-in-another-play/18956 "2015-08-05T22:34:20Z")

</div>

Hiya. In my playbook, I have two plays: the first is to be run on the control host, the second is run on a set of remote app hosts. What I want to do is have a variable determined by a task in the first play be used as …

---

## [Ansible quoting](https://forum.ansible.com/t/ansible-quoting/16559)

<div class="topic-metadata">

**Author:** [@Michael\_Perzel](https://forum.ansible.com/u/Michael_Perzel)\
**Replies:** 25\
**Last updated:** [August 5, 2015, 10:07pm UTC](https://forum.ansible.com/t/ansible-quoting/16559 "2015-08-05T22:07:34Z")

</div>

I am having trouble getting ansible to parse my variable values correctly. I have defined a variable: installArguments: “appPoolName=‘UiService’; dbPassword=‘password’; dbUserId=‘user’” I then have a playbook that mak…

---

## [lineinfile module behavior](https://forum.ansible.com/t/lineinfile-module-behavior/18929)

<div class="topic-metadata">

**Author:** [@Guillaume\_Loetscher](https://forum.ansible.com/u/Guillaume_Loetscher)\
**Replies:** 1\
**Last updated:** [August 5, 2015, 7:04pm UTC](https://forum.ansible.com/t/lineinfile-module-behavior/18929 "2015-08-05T19:04:07Z")

</div>

Hi, I want to have a discussion about “lineinfile” module specifications, and the behavior in several cases. Here’s the algorithm of lineinfile module, when “state=present” : 1) line mentioned Searching for “line”. …

---

## [Issue with S3 module](https://forum.ansible.com/t/issue-with-s3-module/18955)

<div class="topic-metadata">

**Author:** [@Byron\_Kim](https://forum.ansible.com/u/Byron_Kim)\
**Replies:** 0\
**Last updated:** [August 5, 2015, 6:28pm UTC](https://forum.ansible.com/t/issue-with-s3-module/18955 "2015-08-05T18:28:21Z")

</div>

I’m having an issue with a playbook (v1.9.2) when trying to download an object from S3 to the target server. \` s3: aws\_access\_key=“{{ lookup(‘env’, ‘AWS\_ACCESS\_KEY\_ID’) }}” aws\_secret\_key=“{{ lookup(‘env’, ‘AWS\_SECRE…

---

## [path filters for windows](https://forum.ansible.com/t/path-filters-for-windows/18954)

<div class="topic-metadata">

**Author:** [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Replies:** 2\
**Last updated:** [August 5, 2015, 5:54pm UTC](https://forum.ansible.com/t/path-filters-for-windows/18954 "2015-08-05T17:54:01Z")

</div>

Anyone have any objection to me adding a few filters for windows paths? looks pretty straightforward to do, just import ntpath then use the ntpath versions of the os.path methods: I’m thinking just add the following (a…

---

## [maximum ssh connections limit in ansible](https://forum.ansible.com/t/maximum-ssh-connections-limit-in-ansible/18947)

<div class="topic-metadata">

**Author:** [@anandkumar](https://forum.ansible.com/u/anandkumar)\
**Replies:** 1\
**Last updated:** [August 5, 2015, 2:04pm UTC](https://forum.ansible.com/t/maximum-ssh-connections-limit-in-ansible/18947 "2015-08-05T14:04:43Z")

</div>

I want to connect more no of connections from one node to multiple hosts.So is there any limit of ssh connections ? and what is the maximum no of ssh connections from one node to multiple hosts? If it exists how to incr…

---

## [Use of "|" in a variable](https://forum.ansible.com/t/use-of-in-a-variable/18871)

<div class="topic-metadata">

**Author:** [@smalenfant](https://forum.ansible.com/u/smalenfant)\
**Replies:** 2\
**Last updated:** [August 5, 2015, 1:14pm UTC](https://forum.ansible.com/t/use-of-in-a-variable/18871 "2015-08-05T13:14:58Z")

</div>

I’m running into a little problem trying to register a variable with a “|” in it. Anybody know how to escape those? I’ve got this template : {% for sections in transforms\_conf %} \[{{ sections.section }}\] {% for optio…

---

## [with\_items but with single module call](https://forum.ansible.com/t/with-items-but-with-single-module-call/18946)

<div class="topic-metadata">

**Author:** [@oravirt](https://forum.ansible.com/u/oravirt)\
**Replies:** 6\
**Last updated:** [August 5, 2015, 11:10am UTC](https://forum.ansible.com/t/with-items-but-with-single-module-call/18946 "2015-08-05T11:10:55Z")

</div>

Hi, I’m pretty new to Python but I’m taking a stab at creating some Oracle modules. So I’m trying to create a grants module, and I’d like to be able to use with\_items the same way that the yum module does (load all ite…

---

## [Conditional Roles and dependencies.](https://forum.ansible.com/t/conditional-roles-and-dependencies/18948)

<div class="topic-metadata">

**Author:** [@Nico\_K](https://forum.ansible.com/u/Nico_K)\
**Replies:** 0\
**Last updated:** [August 5, 2015, 5:55am UTC](https://forum.ansible.com/t/conditional-roles-and-dependencies/18948 "2015-08-05T05:55:47Z")

</div>

Hi, I have been breaking my head on the following for the past few days now and I can’t come up with a clean solution that will keep my roles portable. Effectively, what I want to do is have two role (webserver / monit…

---

## [ansible command or shell: vagrant add box ubuntu/trusty64](https://forum.ansible.com/t/ansible-command-or-shell-vagrant-add-box-ubuntu-trusty64/18896)

<div class="topic-metadata">

**Author:** [@Phill\_Pafford](https://forum.ansible.com/u/Phill_Pafford)\
**Replies:** 8\
**Last updated:** [August 5, 2015, 2:17am UTC](https://forum.ansible.com/t/ansible-command-or-shell-vagrant-add-box-ubuntu-trusty64/18896 "2015-08-05T02:17:07Z")

</div>

I can run this command from the command line and it runs fine, using Ansible command or shell I get an error - name: download vagrant box ubuntu/trusty64 command: vagrant box add ubuntu/trusty64 anyone else have this…

---

## [Behaviour of lookup in standalone playbook vs called playbook](https://forum.ansible.com/t/behaviour-of-lookup-in-standalone-playbook-vs-called-playbook/18944)

<div class="topic-metadata">

**Author:** [@David\_Fetrow](https://forum.ansible.com/u/David_Fetrow)\
**Replies:** 1\
**Last updated:** [August 4, 2015, 11:06pm UTC](https://forum.ansible.com/t/behaviour-of-lookup-in-standalone-playbook-vs-called-playbook/18944 "2015-08-04T23:06:18Z")

</div>

I have playbook that, when run by itself, looks up various values on the ansible host (e.g. the repository version of a roles directory) and writes them to a log on the ansible target. The idea being keeping a log of wh…

---

## [Using consul to lookup group vars](https://forum.ansible.com/t/using-consul-to-lookup-group-vars/18943)

<div class="topic-metadata">

**Author:** [@Sam\_S](https://forum.ansible.com/u/Sam_S)\
**Replies:** 0\
**Last updated:** [August 4, 2015, 8:59pm UTC](https://forum.ansible.com/t/using-consul-to-lookup-group-vars/18943 "2015-08-04T20:59:41Z")

</div>

We deploy RPMs by modifying a file within group\_vars as follows. Is there a way to store the list of RPMs in consul and do a lookup and perform the installation? I want to get away from having to modify the file manually…

---

## [defaults vs vars precedence in dependent roles](https://forum.ansible.com/t/defaults-vs-vars-precedence-in-dependent-roles/18942)

<div class="topic-metadata">

**Author:** [@Andrew\_Martin](https://forum.ansible.com/u/Andrew_Martin)\
**Replies:** 0\
**Last updated:** [August 4, 2015, 8:45pm UTC](https://forum.ansible.com/t/defaults-vs-vars-precedence-in-dependent-roles/18942 "2015-08-04T20:45:04Z")

</div>

Hello, I have structured my roles such that redistributable roles, such as a role for installing mariadb, define as many of their variables in defaults/main.yml as possible. This way, any role that includes that redistr…

---

## [Ansible-playbook ejecution error](https://forum.ansible.com/t/ansible-playbook-ejecution-error/18693)

<div class="topic-metadata">

**Author:** [@Alejandro](https://forum.ansible.com/u/Alejandro)\
**Replies:** 2\
**Last updated:** [August 4, 2015, 8:05pm UTC](https://forum.ansible.com/t/ansible-playbook-ejecution-error/18693 "2015-08-04T20:05:06Z")

</div>

Hi Guys, Any know why I get this error? ansible-playbook -vv /etc/ansible/roles/env-stb/channels1.yml Traceback (most recent call last): File “/usr/bin/ansible-playbook”, line 324, in sys.exit(main(sys.argv\[1:\])) …

---

## [Programmatically checking if a particular host is still a target.](https://forum.ansible.com/t/programmatically-checking-if-a-particular-host-is-still-a-target/18903)

<div class="topic-metadata">

**Author:** [@jang](https://forum.ansible.com/u/jang)\
**Replies:** 2\
**Last updated:** [August 4, 2015, 4:25pm UTC](https://forum.ansible.com/t/programmatically-checking-if-a-particular-host-is-still-a-target/18903 "2015-08-04T16:25:30Z")

</div>

So I've a situation where I want to delegate\_to a host. That host is one (arbitrarily chosen) of a group. Rather than delegate\_to: "{{ GROUP\[0\] }}" I'd like to confirm that the host is actually up, first - or rather,…

---

## [Mixing machine names and service names in inventory files](https://forum.ansible.com/t/mixing-machine-names-and-service-names-in-inventory-files/18939)

<div class="topic-metadata">

**Author:** [@Neech\_WORTHINGTON](https://forum.ansible.com/u/Neech_WORTHINGTON)\
**Replies:** 0\
**Last updated:** [August 4, 2015, 3:41pm UTC](https://forum.ansible.com/t/mixing-machine-names-and-service-names-in-inventory-files/18939 "2015-08-04T15:41:07Z")

</div>

Apologies if this has been asked and discussed before. I found it a tricky thing to search the archives for given the common words in the search string. We have a large number of hosts that have basic bare metal machine…

---

## [Jinja template with group and subgroup?](https://forum.ansible.com/t/jinja-template-with-group-and-subgroup/18938)

<div class="topic-metadata">

**Author:** [@Zachary\_Buckholz](https://forum.ansible.com/u/Zachary_Buckholz)\
**Replies:** 0\
**Last updated:** [August 4, 2015, 3:13pm UTC](https://forum.ansible.com/t/jinja-template-with-group-and-subgroup/18938 "2015-08-04T15:13:59Z")

</div>

I have multiple elasticsearch locations, each is a different cluster, but all managed by a tribe leader. I am trying to create just one elasticsearch.yml template that can look at my inventory and determine of the host …

---

## [find command ambiguity](https://forum.ansible.com/t/find-command-ambiguity/18934)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 1\
**Last updated:** [August 4, 2015, 1:33pm UTC](https://forum.ansible.com/t/find-command-ambiguity/18934 "2015-08-04T13:33:33Z")

</div>

Hi Everyone, I have an ambiguity in the find command. Can somebody clarify it. I have paste the tasks down(copy from some blog post on the net). I have an ambiguity in the second task where it says reboot\_hint.stdout.fi…

---

## [loops-within-loops?](https://forum.ansible.com/t/loops-within-loops/18931)

<div class="topic-metadata">

**Author:** [@Dewey\_Hylton](https://forum.ansible.com/u/Dewey_Hylton)\
**Replies:** 1\
**Last updated:** [August 4, 2015, 1:21pm UTC](https://forum.ansible.com/t/loops-within-loops/18931 "2015-08-04T13:21:39Z")

</div>

hi all. i’m not new to ansible but am still apparently fairly green with regards to what appears to me to be non-trivial stuff. my current goal is to replace an aging python script which does something like this (very b…

---

## [how to execute one playbook in all hosts at a time.](https://forum.ansible.com/t/how-to-execute-one-playbook-in-all-hosts-at-a-time/18933)

<div class="topic-metadata">

**Author:** [@anandkumar](https://forum.ansible.com/u/anandkumar)\
**Replies:** 0\
**Last updated:** [August 4, 2015, 12:29pm UTC](https://forum.ansible.com/t/how-to-execute-one-playbook-in-all-hosts-at-a-time/18933 "2015-08-04T12:29:57Z")

</div>

I have consists the following playbook. But while executing playbook process happening is sequential manner.In this way for running one playbook for 30 hosts takes long time.I have tried with forks and serial parameters…

---

## [vhosts with htpasswd](https://forum.ansible.com/t/vhosts-with-htpasswd/18932)

<div class="topic-metadata">

**Author:** [@Nico\_K](https://forum.ansible.com/u/Nico_K)\
**Replies:** 0\
**Last updated:** [August 4, 2015, 9:15am UTC](https://forum.ansible.com/t/vhosts-with-htpasswd/18932 "2015-08-04T09:15:01Z")

</div>

hi guys, I am creating my htpasswd files in the following manner which works fine: vhosts: sites: name: my\_site htpasswd: name: user1 pass: pass1 name: user2 pass: pass2 name: Create htpasswd file htpa…

---

## [Using Software Collections (SCL) in Ansible](https://forum.ansible.com/t/using-software-collections-scl-in-ansible/18911)

<div class="topic-metadata">

**Author:** [@Daniel\_Wyatt](https://forum.ansible.com/u/Daniel_Wyatt)\
**Replies:** 5\
**Last updated:** [August 4, 2015, 7:46am UTC](https://forum.ansible.com/t/using-software-collections-scl-in-ansible/18911 "2015-08-04T07:46:17Z")

</div>

RHEL and similar OSes have Software Collections (SCL): https://www.softwarecollections.org. Some typical ways to use Python 3.4 from SCL, for example: yum -y install rh-python34 Interactive: scl enable rh-python34 ba…

---

## [failed\_when directive not working when task runs on multiple hosts](https://forum.ansible.com/t/failed-when-directive-not-working-when-task-runs-on-multiple-hosts/18921)

<div class="topic-metadata">

**Author:** [@Ard-Jan\_Barnas](https://forum.ansible.com/u/Ard-Jan_Barnas)\
**Replies:** 1\
**Last updated:** [August 3, 2015, 9:35pm UTC](https://forum.ansible.com/t/failed-when-directive-not-working-when-task-runs-on-multiple-hosts/18921 "2015-08-03T21:35:16Z")

</div>

Hello, I am trying to figure out how to stop further execution of a playbook if only one of the hosts fails. My inventory contains two hosts assigned to the same group, so the playbook runs on both hosts. Considering I …

---

## [Problem with parameterizing role](https://forum.ansible.com/t/problem-with-parameterizing-role/18889)

<div class="topic-metadata">

**Author:** [@Roger\_Sherman1](https://forum.ansible.com/u/Roger_Sherman1)\
**Replies:** 11\
**Last updated:** [August 3, 2015, 8:08pm UTC](https://forum.ansible.com/t/problem-with-parameterizing-role/18889 "2015-08-03T20:08:01Z")

</div>

I have a group of hosts that have two tomcat instances on them, and I need the server.xml to have different values in each instance. Initially, I tried to write a jinja2 loop into a template, which I bailed on when someo…

---

## [Iterating through hosts until a successful response is received](https://forum.ansible.com/t/iterating-through-hosts-until-a-successful-response-is-received/18928)

<div class="topic-metadata">

**Author:** [@Pete\_Ahearn](https://forum.ansible.com/u/Pete_Ahearn)\
**Replies:** 0\
**Last updated:** [August 3, 2015, 7:35pm UTC](https://forum.ansible.com/t/iterating-through-hosts-until-a-successful-response-is-received/18928 "2015-08-03T19:35:15Z")

</div>

Hi everyone: I’m new to Ansible and am hoping there’s an easy answer for this. I have a playbook which needs to iterate through a list of IP addresses POSTing a request to each via the uri module, but only until the fir…

---

## [delegate\_to from inventory? copy between remote hosts](https://forum.ansible.com/t/delegate-to-from-inventory-copy-between-remote-hosts/18914)

<div class="topic-metadata">

**Author:** [@pixel\_fairy](https://forum.ansible.com/u/pixel_fairy)\
**Replies:** 3\
**Last updated:** [August 3, 2015, 7:32pm UTC](https://forum.ansible.com/t/delegate-to-from-inventory-copy-between-remote-hosts/18914 "2015-08-03T19:32:47Z")

</div>

making a playbook to set up ceph clients, so want to transfer a client key from server (a monitor host) to client. since the server and client are both far away and sitting next to each other, id like to copy between the…

---

## [Override hosts: in any playbook via command-line argument](https://forum.ansible.com/t/override-hosts-in-any-playbook-via-command-line-argument/18926)

<div class="topic-metadata">

**Author:** [@Alex\_Leonhardt](https://forum.ansible.com/u/Alex_Leonhardt)\
**Replies:** 0\
**Last updated:** [August 3, 2015, 3:52pm UTC](https://forum.ansible.com/t/override-hosts-in-any-playbook-via-command-line-argument/18926 "2015-08-03T15:52:48Z")

</div>

Hi, How can I override the hosts: definition in any playbook ? I’ve got some playbooks that run against remote hosts, which I want to keep in the playbook, but need to be able to run /test it against “localhost” as well…

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

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