# Latest

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

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

**Page:** 867

---

## [Notify handler only one in the same role](https://forum.ansible.com/t/notify-handler-only-one-in-the-same-role/18339)

<div class="topic-metadata">

**Author:** [@Steven\_Truong](https://forum.ansible.com/u/Steven_Truong)\
**Replies:** 3\
**Last updated:** [May 29, 2015, 1:06am UTC](https://forum.ansible.com/t/notify-handler-only-one-in-the-same-role/18339 "2015-05-29T01:06:40Z")

</div>

Hi all, I am using ansible 1.9.1 and in the same role I have a couple of notify to the same service to be restarted. Apparently, ansible tries to restart 3-4 times for each notify and that is undesirable. I could do w…

---

## [Can't get the group\_id value from register in ec2\_group on creation](https://forum.ansible.com/t/cant-get-the-group-id-value-from-register-in-ec2-group-on-creation/18326)

<div class="topic-metadata">

**Author:** [@igorc](https://forum.ansible.com/u/igorc)\
**Replies:** 4\
**Last updated:** [May 28, 2015, 11:56pm UTC](https://forum.ansible.com/t/cant-get-the-group-id-value-from-register-in-ec2-group-on-creation/18326 "2015-05-28T23:56:09Z")

</div>

I have the following as part of a play: ec2\_group: name: group-name description: “firewall” vpc\_id: “{{ vpc\_id }}” region: “{{ region }}” purge\_rules: false purge\_rules\_egress: false rules: proto: tcp from\_port…

---

## [Ansible / tower setup - problems](https://forum.ansible.com/t/ansible-tower-setup-problems/17399)

<div class="topic-metadata">

**Author:** [@Brian\_Kristensen](https://forum.ansible.com/u/Brian_Kristensen)\
**Replies:** 4\
**Last updated:** [May 28, 2015, 10:14pm UTC](https://forum.ansible.com/t/ansible-tower-setup-problems/17399 "2015-05-28T22:14:23Z")

</div>

Hi, I’m just starting to experiment and learn about ansible and I’ve hit a problem that I hope someone can advise me on. I’ve install the lastest ansible 1.9 into a test vm (CentOS 6.x) and would like now like to insta…

---

## [Rotate groups out of load balancer](https://forum.ansible.com/t/rotate-groups-out-of-load-balancer/18336)

<div class="topic-metadata">

**Author:** [@Jesse\_Macnish](https://forum.ansible.com/u/Jesse_Macnish)\
**Replies:** 0\
**Last updated:** [May 28, 2015, 7:34pm UTC](https://forum.ansible.com/t/rotate-groups-out-of-load-balancer/18336 "2015-05-28T19:34:24Z")

</div>

Apologies in advance here: I’m missing something fundamental. I’m trying to do something pretty simple: I’m putting new code into a QA environment, and would like to remove old machines out of a elastic load balancer an…

---

## [Route53 module creating TXT record InvalidTXTRDATA](https://forum.ansible.com/t/route53-module-creating-txt-record-invalidtxtrdata/18335)

<div class="topic-metadata">

**Author:** [@robb](https://forum.ansible.com/u/robb)\
**Replies:** 0\
**Last updated:** [May 28, 2015, 6:12pm UTC](https://forum.ansible.com/t/route53-module-creating-txt-record-invalidtxtrdata/18335 "2015-05-28T18:12:35Z")

</div>

When I try to use the Route53 module to create a TXT record which has a value that is a variable, I get InvalidTXTRDATA error because Ansible is URL encoding the adjacent double quote character. Using a string instead of…

---

## [notify and handlers: in a role dont work](https://forum.ansible.com/t/notify-and-handlers-in-a-role-dont-work/18333)

<div class="topic-metadata">

**Author:** [@Noam\_Greenberg](https://forum.ansible.com/u/Noam_Greenberg)\
**Replies:** 0\
**Last updated:** [May 28, 2015, 4:46pm UTC](https://forum.ansible.com/t/notify-and-handlers-in-a-role-dont-work/18333 "2015-05-28T16:46:54Z")

</div>

Hi i think this is a bug but can be that i dont understand the Docs … i have main play - hosts: all gather\_facts: yes user: root vars\_files: - nagios/GlobalVar/main.yml vars\_prompt: - name: password prompt: "MYSQL Pa…

---

## [How to pass list of arguments that contains "=" signs to raw command  ?](https://forum.ansible.com/t/how-to-pass-list-of-arguments-that-contains-signs-to-raw-command/18318)

<div class="topic-metadata">

**Author:** [@Patrick\_Debois](https://forum.ansible.com/u/Patrick_Debois)\
**Replies:** 3\
**Last updated:** [May 28, 2015, 3:52pm UTC](https://forum.ansible.com/t/how-to-pass-list-of-arguments-that-contains-signs-to-raw-command/18318 "2015-05-28T15:52:58Z")

</div>

I’m trying to find an easy way to specify args to a command. The args contain ‘=’ signs triggering the error A variable inserted a new parameter into the module args. Be sure to quote variables if they contain equal si…

---

## [exclude\_hosts does not work as expected with state=drained](https://forum.ansible.com/t/exclude-hosts-does-not-work-as-expected-with-state-drained/18332)

<div class="topic-metadata">

**Author:** [@Thorsten](https://forum.ansible.com/u/Thorsten)\
**Replies:** 0\
**Last updated:** [May 28, 2015, 3:52pm UTC](https://forum.ansible.com/t/exclude-hosts-does-not-work-as-expected-with-state-drained/18332 "2015-05-28T15:52:26Z")

</div>

Hi, I have submitted PR #1301. In the following I have recorded some runs of wait\_for and whether the result meets my expectations: cat connect\_to\_port\_1234.py import socket import time s = socket.socket(socket.AF\_I…

---

## [Ansible get variable output](https://forum.ansible.com/t/ansible-get-variable-output/18330)

<div class="topic-metadata">

**Author:** [@R\_Dikkes](https://forum.ansible.com/u/R_Dikkes)\
**Replies:** 2\
**Last updated:** [May 28, 2015, 12:54pm UTC](https://forum.ansible.com/t/ansible-get-variable-output/18330 "2015-05-28T12:54:29Z")

</div>

Hi all, Thank you for reading my question. I am running into this issue and hope you can help me! What we want to do is feed a tool with ansible to automate this. We have 99% ready, however the random password generati…

---

## [uri module change](https://forum.ansible.com/t/uri-module-change/18226)

<div class="topic-metadata">

**Author:** [@Rob\_White](https://forum.ansible.com/u/Rob_White)\
**Replies:** 4\
**Last updated:** [May 28, 2015, 5:29am UTC](https://forum.ansible.com/t/uri-module-change/18226 "2015-05-28T05:29:45Z")

</div>

Hi guys, I’m after a bit of feedback on the uri module. The doc has the following example: - uri: url=https://your.jira.example.com/rest/api/2/issue/ method=POST user=your\_username password=your\_pass bod…

---

## [Get some introduction help to attend development](https://forum.ansible.com/t/get-some-introduction-help-to-attend-development/18325)

<div class="topic-metadata">

**Author:** [@Felix\_Glaske](https://forum.ansible.com/u/Felix_Glaske)\
**Replies:** 1\
**Last updated:** [May 28, 2015, 3:52am UTC](https://forum.ansible.com/t/get-some-introduction-help-to-attend-development/18325 "2015-05-28T03:52:06Z")

</div>

Hey all! I’m interested in contributing some stuff to Ansible/modules of Ansible. Right now my main focus would be to add some stuff to the docker module. I already started to have a look at the current code to get an …

---

## [stdout empty](https://forum.ansible.com/t/stdout-empty/18324)

<div class="topic-metadata">

**Author:** [@Patrick\_Tighe](https://forum.ansible.com/u/Patrick_Tighe)\
**Replies:** 0\
**Last updated:** [May 28, 2015, 3:14am UTC](https://forum.ansible.com/t/stdout-empty/18324 "2015-05-28T03:14:17Z")

</div>

I’m new to ansible, and setting up a POC to run puppet for a specific orchestration task. However, when I run my agent runs, I’m not getting anything back in stdout, even when changes are set to occur. Here’s what’s in m…

---

## [advanced Jinja config](https://forum.ansible.com/t/advanced-jinja-config/18322)

<div class="topic-metadata">

**Author:** [@Nicolas\_G](https://forum.ansible.com/u/Nicolas_G)\
**Replies:** 2\
**Last updated:** [May 27, 2015, 7:38pm UTC](https://forum.ansible.com/t/advanced-jinja-config/18322 "2015-05-27T19:38:42Z")

</div>

Hi, I need help with the bellow configuration in Jinja, I’m using a for loop to populate the hosts from a group defined in my inventory and that’s working good but what my application requires is a letter in front of ev…

---

## [Using shell module and referencing the variable in a playbook](https://forum.ansible.com/t/using-shell-module-and-referencing-the-variable-in-a-playbook/18321)

<div class="topic-metadata">

**Author:** [@Emil\_Kacperski1](https://forum.ansible.com/u/Emil_Kacperski1)\
**Replies:** 0\
**Last updated:** [May 27, 2015, 6:29pm UTC](https://forum.ansible.com/t/using-shell-module-and-referencing-the-variable-in-a-playbook/18321 "2015-05-27T18:29:18Z")

</div>

I am running a bash script and one of the lines is : conf\_file=“xxxxx.conf” The config file simply has a variable such as: screen\_url:http://www.yahoo.com The problem is that with multiple machines you would need mul…

---

## [Help with EC2 Module](https://forum.ansible.com/t/help-with-ec2-module/18319)

<div class="topic-metadata">

**Author:** [@Aaron\_Gibson](https://forum.ansible.com/u/Aaron_Gibson)\
**Replies:** 0\
**Last updated:** [May 27, 2015, 4:43pm UTC](https://forum.ansible.com/t/help-with-ec2-module/18319 "2015-05-27T16:43:55Z")

</div>

Hello Ansible pro’s, I am new to the tool and looking to solve a use case. I would like to complete a basic rolling update for our site, basically I want to deregister a web from an EC2 ELB, do some updates, then add it …

---

## [Reset password in Ansible Tower](https://forum.ansible.com/t/reset-password-in-ansible-tower/18317)

<div class="topic-metadata">

**Author:** [@Bill\_Nottingham](https://forum.ansible.com/u/Bill_Nottingham)\
**Replies:** 0\
**Last updated:** [May 27, 2015, 3:14pm UTC](https://forum.ansible.com/t/reset-password-in-ansible-tower/18317 "2015-05-27T15:14:36Z")

</div>

cosbug@gmail.com (cosbug@gmail.com) said: Is there any way to reset password in Ansible Tower for admin account? Hi Constantin - This list/group is for Ansible questions, not Tower questions. Please send your query…

---

## [Use Array/list file in with\_items](https://forum.ansible.com/t/use-array-list-file-in-with-items/18315)

<div class="topic-metadata">

**Author:** [@Amoyensis](https://forum.ansible.com/u/Amoyensis)\
**Replies:** 1\
**Last updated:** [May 27, 2015, 11:03am UTC](https://forum.ansible.com/t/use-array-list-file-in-with-items/18315 "2015-05-27T11:03:19Z")

</div>

Hi all, I am new to Ansible and I am trying use the template module to create different config files. Here is what I got: ├── group\_vars │ └── web └── web ├── tasks │ └── main.yml └── templates …

---

## [Convert curl to get\_url or uri](https://forum.ansible.com/t/convert-curl-to-get-url-or-uri/18311)

<div class="topic-metadata">

**Author:** [@Hank\_Beatty](https://forum.ansible.com/u/Hank_Beatty)\
**Replies:** 6\
**Last updated:** [May 27, 2015, 10:52am UTC](https://forum.ansible.com/t/convert-curl-to-get-url-or-uri/18311 "2015-05-27T10:52:51Z")

</div>

Hello, I have a couple of curl commands that I’m trying to convert to either the get\_url module or uri module. I was hoping someone here might be able to help. Here are the commands I’m trying to convert: Gets the m…

---

## [wait\_for module related](https://forum.ansible.com/t/wait-for-module-related/18316)

<div class="topic-metadata">

**Author:** [@Max1](https://forum.ansible.com/u/Max1)\
**Replies:** 1\
**Last updated:** [May 27, 2015, 9:39am UTC](https://forum.ansible.com/t/wait-for-module-related/18316 "2015-05-27T09:39:43Z")

</div>

I was wondering how does wait\_for figures out if a port is listening on remote machine. Does it use port scanners like nmap or netcat or simply makes a telnet connection on that port?

---

## [Application rollback with ansible](https://forum.ansible.com/t/application-rollback-with-ansible/18312)

<div class="topic-metadata">

**Author:** [@Jack\_P](https://forum.ansible.com/u/Jack_P)\
**Replies:** 2\
**Last updated:** [May 27, 2015, 7:03am UTC](https://forum.ansible.com/t/application-rollback-with-ansible/18312 "2015-05-27T07:03:04Z")

</div>

Hi! I was hoping to canvas opinion on how people using ansible handle rollbacks. We’re migrating a large multihost multi-app project and have have two competing opinions: Utilise idempotency and simply redeploy a prev…

---

## [log which playbook was use](https://forum.ansible.com/t/log-which-playbook-was-use/18286)

<div class="topic-metadata">

**Author:** [@Jeff\_Reter](https://forum.ansible.com/u/Jeff_Reter)\
**Replies:** 5\
**Last updated:** [May 27, 2015, 7:01am UTC](https://forum.ansible.com/t/log-which-playbook-was-use/18286 "2015-05-27T07:01:10Z")

</div>

Hello, i want to log which playbooks are use on the target server. I think for creating module that writes to /etc/ansible/facts.d and call it at the start and end of every playbook but how can i get the name of the c…

---

## [Using ansible variables in multiline](https://forum.ansible.com/t/using-ansible-variables-in-multiline/18302)

<div class="topic-metadata">

**Author:** [@ateamp66](https://forum.ansible.com/u/ateamp66)\
**Replies:** 4\
**Last updated:** [May 26, 2015, 10:17pm UTC](https://forum.ansible.com/t/using-ansible-variables-in-multiline/18302 "2015-05-26T22:17:46Z")

</div>

Hello, I’ve been using ansible for almost 3 months now, awesome tool. I’ve hit a little bump, I’m trying to make ansible variables work inside yaml multilines in this way: ansible 1.9.1 (detached HEAD b47d1d7e69) last …

---

## [Weekly Ansible Community Meeting](https://forum.ansible.com/t/weekly-ansible-community-meeting/18314)

<div class="topic-metadata">

**Author:** [@Toshio\_Kuratomi](https://forum.ansible.com/u/Toshio_Kuratomi)\
**Replies:** 1\
**Last updated:** [May 26, 2015, 7:35pm UTC](https://forum.ansible.com/t/weekly-ansible-community-meeting/18314 "2015-05-26T19:35:19Z")

</div>

Greetings all, jimi-c is away today so I've set up the google hangout for the weekly meeting. If you are wanting to work on a Pull Request to get it merged or have other things to discuss about ansible development fee…

---

## [interactive session support](https://forum.ansible.com/t/interactive-session-support/18287)

<div class="topic-metadata">

**Author:** [@Viktor\_Tsymbalyuk](https://forum.ansible.com/u/Viktor_Tsymbalyuk)\
**Replies:** 2\
**Last updated:** [May 26, 2015, 5:44pm UTC](https://forum.ansible.com/t/interactive-session-support/18287 "2015-05-26T17:44:33Z")

</div>

Hello, As I understood, currently it’s not possible send commands in an interactive session (command streamed before receiving the switch’s prompt are ignored). It could be useful feature to work with routers, switches…

---

## [Example of multi-datacenter deployments using Ansible](https://forum.ansible.com/t/example-of-multi-datacenter-deployments-using-ansible/14083)

<div class="topic-metadata">

**Author:** [@joel2](https://forum.ansible.com/u/joel2)\
**Replies:** 11\
**Last updated:** [May 26, 2015, 5:43pm UTC](https://forum.ansible.com/t/example-of-multi-datacenter-deployments-using-ansible/14083 "2015-05-26T17:43:48Z")

</div>

Hello, We currently have three datacenters, and they’re all three basically the same with some very minor differences. Up until now, what I’ve done is created a playbook for each, and a hosts file for each datacenter. T…

---

## [interactive session](https://forum.ansible.com/t/interactive-session/18305)

<div class="topic-metadata">

**Author:** [@Viktor\_Tsymbalyuk](https://forum.ansible.com/u/Viktor_Tsymbalyuk)\
**Replies:** 2\
**Last updated:** [May 26, 2015, 5:05pm UTC](https://forum.ansible.com/t/interactive-session/18305 "2015-05-26T17:05:27Z")

</div>

Hello, It would be nice, if someone from developers give some information about future plans. As I understood, currently it’s not possible send commands in an interactive session (command streamed before receiving the …

---

## [Can I slice an existing group within a play (without a unique attribute to group\_by)?](https://forum.ansible.com/t/can-i-slice-an-existing-group-within-a-play-without-a-unique-attribute-to-group-by/17030)

<div class="topic-metadata">

**Author:** [@Mark\_Casey](https://forum.ansible.com/u/Mark_Casey)\
**Replies:** 3\
**Last updated:** [May 26, 2015, 5:04pm UTC](https://forum.ansible.com/t/can-i-slice-an-existing-group-within-a-play-without-a-unique-attribute-to-group-by/17030 "2015-05-26T17:04:06Z")

</div>

Hello, I have a group of servers in EC2 that will be a cluster of Consul server nodes, but on some of them I also want to run LDAP. I believe in a static inventory file this would be: \[consul\] server1 server2 serve…

---

## [Weekly Ansible Community Meeting](https://forum.ansible.com/t/weekly-ansible-community-meeting/18313)

<div class="topic-metadata">

**Author:** [@Toshio\_Kuratomi](https://forum.ansible.com/u/Toshio_Kuratomi)\
**Replies:** 0\
**Last updated:** [May 26, 2015, 5:02pm UTC](https://forum.ansible.com/t/weekly-ansible-community-meeting/18313 "2015-05-26T17:02:39Z")

</div>

Greetings all, jimi-c is away today so I've set up the google hangout for the weekly meeting. If you are wanting to work on a Pull Request to get it merged or have other things to discuss about ansible development fee…

---

## [Can lineinfile append a string at a end of a particular line](https://forum.ansible.com/t/can-lineinfile-append-a-string-at-a-end-of-a-particular-line/18307)

<div class="topic-metadata">

**Author:** [@txavier](https://forum.ansible.com/u/txavier)\
**Replies:** 1\
**Last updated:** [May 26, 2015, 4:45pm UTC](https://forum.ansible.com/t/can-lineinfile-append-a-string-at-a-end-of-a-particular-line/18307 "2015-05-26T16:45:24Z")

</div>

Hi All, I’m new to ansible can you please help to append a string at the end of a particular line in server.xml file String= packetSize=“65536” line= I need something like this Many Thanks Thomas Xavier

---

## [wait\_for host : 100% CPU on deploy host](https://forum.ansible.com/t/wait-for-host-100-cpu-on-deploy-host/18310)

<div class="topic-metadata">

**Author:** [@Toshio\_Kuratomi](https://forum.ansible.com/u/Toshio_Kuratomi)\
**Replies:** 1\
**Last updated:** [May 26, 2015, 2:20pm UTC](https://forum.ansible.com/t/wait-for-host-100-cpu-on-deploy-host/18310 "2015-05-26T14:20:35Z")

</div>

bcoca answered about why the wait\_for is taking so much CPU but there's another part of your question as well -- why it's taking so long. If you don't specify a port or a path then ansible is just waiting for a set a…

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

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