# Latest

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

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

**Page:** 701

---

## [Skip task in callback\_plugin or stop playbook execution](https://forum.ansible.com/t/skip-task-in-callback-plugin-or-stop-playbook-execution/23221)

<div class="topic-metadata">

**Author:** [@Mumshad\_Mannambeth](https://forum.ansible.com/u/Mumshad_Mannambeth)\
**Replies:** 3\
**Last updated:** [December 17, 2016, 11:44pm UTC](https://forum.ansible.com/t/skip-task-in-callback-plugin-or-stop-playbook-execution/23221 "2016-12-17T23:44:13Z")

</div>

I would like to skip a task or all tasks conditionally in my callback\_plugin. Is that possible? I am trying to implement a stop playbook feature where I query an external API in my callback\_plugin, and if a stop flag is …

---

## [How to perform tasks only one host, based on previous output](https://forum.ansible.com/t/how-to-perform-tasks-only-one-host-based-on-previous-output/23200)

<div class="topic-metadata">

**Author:** [@Kevin\_Csuka1](https://forum.ansible.com/u/Kevin_Csuka1)\
**Replies:** 26\
**Last updated:** [December 17, 2016, 9:23pm UTC](https://forum.ansible.com/t/how-to-perform-tasks-only-one-host-based-on-previous-output/23200 "2016-12-17T21:23:32Z")

</div>

Hi, My goal is to perform tasks only one host based on the output. Searched for --limit module to use in playbooks, but it is not present. A shell script is executed on 3 nodes, which returns a boolean. ok: \[localMult…

---

## [Installing Passenger fails: "repomd.xml signature could not be verified for passenger" but works interactively](https://forum.ansible.com/t/installing-passenger-fails-repomd-xml-signature-could-not-be-verified-for-passenger-but-works-interactively/21048)

<div class="topic-metadata">

**Author:** [@TJG](https://forum.ansible.com/u/TJG)\
**Replies:** 7\
**Last updated:** [December 17, 2016, 4:23pm UTC](https://forum.ansible.com/t/installing-passenger-fails-repomd-xml-signature-could-not-be-verified-for-passenger-but-works-interactively/21048 "2016-12-17T16:23:55Z")

</div>

Hi all; I’m pretty new to Ansible, but have generally made good progress with a playbook to set up a (vagrant) CentOS 7 box. One point of grief is my translation of Phusion’s instructions for installing Passenger, from h…

---

## [Ansible 2.2.1 RC2 is ready for testing](https://forum.ansible.com/t/ansible-2-2-1-rc2-is-ready-for-testing/23258)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 1\
**Last updated:** [December 17, 2016, 11:11am UTC](https://forum.ansible.com/t/ansible-2-2-1-rc2-is-ready-for-testing/23258 "2016-12-17T11:11:44Z")

</div>

Hi all, we’re very happy to announce that Ansible 2.2.1 RC2 is ready for testing! Some bug fix highlights: Fixed a bug in the path searching/resolution for jinja2 includes in template files. Fixed a bug where include\_…

---

## [Strange iptables\_raw + with\_together behaviour](https://forum.ansible.com/t/strange-iptables-raw-with-together-behaviour/23251)

<div class="topic-metadata">

**Author:** [@andrew.hudson](https://forum.ansible.com/u/andrew.hudson)\
**Replies:** 1\
**Last updated:** [December 17, 2016, 8:50am UTC](https://forum.ansible.com/t/strange-iptables-raw-with-together-behaviour/23251 "2016-12-17T08:50:04Z")

</div>

Hi all Ive come across a quirk when using the ‘iptables\_raw’ module along with the ‘with\_together’ loop. Logically, im inserting three new iptables input rules (for ftp) and giving them a name I would expect that with…

---

## [Counting hosts in a group form an ec2 dynamic inventory](https://forum.ansible.com/t/counting-hosts-in-a-group-form-an-ec2-dynamic-inventory/23264)

<div class="topic-metadata">

**Author:** [@Jon\_Kellyevans](https://forum.ansible.com/u/Jon_Kellyevans)\
**Replies:** 1\
**Last updated:** [December 17, 2016, 8:22am UTC](https://forum.ansible.com/t/counting-hosts-in-a-group-form-an-ec2-dynamic-inventory/23264 "2016-12-17T08:22:43Z")

</div>

Is it possible in a playbook to get a list of all (including disabled) hosts in a group using a dynamic inventory connected to ec2. We have a 10 host limit on our ansible tower which allows a small team to spin up ec2 i…

---

## [setting ansible\_connection=winrm overrides connection: local in play](https://forum.ansible.com/t/setting-ansible-connection-winrm-overrides-connection-local-in-play/17815)

<div class="topic-metadata">

**Author:** [@andy2](https://forum.ansible.com/u/andy2)\
**Replies:** 2\
**Last updated:** [December 16, 2016, 10:26pm UTC](https://forum.ansible.com/t/setting-ansible-connection-winrm-overrides-connection-local-in-play/17815 "2016-12-16T22:26:57Z")

</div>

We’re using playbooks to bring up AWS infrastructure, then provision within the OS This works fine for linux hosts, as we just use connection: local in the plays that do instance provisioning etc. and can bring hosts up…

---

## [HELP using group\_vars and roles](https://forum.ansible.com/t/help-using-group-vars-and-roles/23274)

<div class="topic-metadata">

**Author:** [@Eric\_Marquez](https://forum.ansible.com/u/Eric_Marquez)\
**Replies:** 6\
**Last updated:** [December 16, 2016, 10:08pm UTC](https://forum.ansible.com/t/help-using-group-vars-and-roles/23274 "2016-12-16T22:08:11Z")

</div>

I have a question about the use of group\_vars in Ansible. I would like to use the data dictionaries values from swtich.json, I also need it to be global set of values almost like all. When I call it in Ansible it become…

---

## [Another warning after update to version 2.2](https://forum.ansible.com/t/another-warning-after-update-to-version-2-2/23275)

<div class="topic-metadata">

**Author:** [@dyioulos](https://forum.ansible.com/u/dyioulos)\
**Replies:** 2\
**Last updated:** [December 16, 2016, 8:17pm UTC](https://forum.ansible.com/t/another-warning-after-update-to-version-2-2/23275 "2016-12-16T20:17:41Z")

</div>

After updating to version 2.2, I see the following warning appear immediately when running playbooks (the playbooks run successfully, though): /usr/lib/python2.6/site-packages/xmpp/auth.py:24: DeprecationWarning: the sh…

---

## [Dynamic Group Var Name](https://forum.ansible.com/t/dynamic-group-var-name/21281)

<div class="topic-metadata">

**Author:** [@Chanaka\_Samarajeewa](https://forum.ansible.com/u/Chanaka_Samarajeewa)\
**Replies:** 3\
**Last updated:** [December 16, 2016, 6:43pm UTC](https://forum.ansible.com/t/dynamic-group-var-name/21281 "2016-12-16T18:43:11Z")

</div>

Hello, How come I cannot do the following? I get the following error when I run the play. Is there a better way to do this? Please note the group vars file has been added to the main yml file as a reference. mysql\_use…

---

## [New module and supporting utils](https://forum.ansible.com/t/new-module-and-supporting-utils/23269)

<div class="topic-metadata">

**Author:** [@Ted](https://forum.ansible.com/u/Ted)\
**Replies:** 1\
**Last updated:** [December 16, 2016, 4:38pm UTC](https://forum.ansible.com/t/new-module-and-supporting-utils/23269 "2016-12-16T16:38:21Z")

</div>

Should a new module be committed in a new branch (or devel)? Should supporting code such as utils be committed separately?

---

## [ec2\_eip and device\_id](https://forum.ansible.com/t/ec2-eip-and-device-id/23270)

<div class="topic-metadata">

**Author:** [@Robert\_Haskins](https://forum.ansible.com/u/Robert_Haskins)\
**Replies:** 0\
**Last updated:** [December 16, 2016, 4:16am UTC](https://forum.ansible.com/t/ec2-eip-and-device-id/23270 "2016-12-16T04:16:17Z")

</div>

I am trying to assign a single elastic IP to a single AWS instance using this: name: associate an assigned IP with a running instance ec2\_eip: region: “{{ aws\_region }}” ip: “{{ eip.public\_ip }}” device\_id: “{{ ec2…

---

## [os\_security\_group\_rule by project](https://forum.ansible.com/t/os-security-group-rule-by-project/23193)

<div class="topic-metadata">

**Author:** [@Thomas\_King](https://forum.ansible.com/u/Thomas_King)\
**Replies:** 1\
**Last updated:** [December 15, 2016, 9:54pm UTC](https://forum.ansible.com/t/os-security-group-rule-by-project/23193 "2016-12-15T21:54:01Z")

</div>

I am building an Ansible playbook to create a new project, add a user role, work with security groups, and other new-project tasks. The playbook creates a project after asking for some input and would need to continue wo…

---

## [Is it possible to find Ansible command history on the remote machine?](https://forum.ansible.com/t/is-it-possible-to-find-ansible-command-history-on-the-remote-machine/23263)

<div class="topic-metadata">

**Author:** [@Eddie\_Peters](https://forum.ansible.com/u/Eddie_Peters)\
**Replies:** 1\
**Last updated:** [December 15, 2016, 7:35pm UTC](https://forum.ansible.com/t/is-it-possible-to-find-ansible-command-history-on-the-remote-machine/23263 "2016-12-15T19:35:22Z")

</div>

I can’t find an answer to this already, but maybe it’s because I don’t know what to search for. Is it possible for someone with unrestricted access to the remote machine to find previously-run Ansible commands on that m…

---

## [bigip\_pool module not found](https://forum.ansible.com/t/bigip-pool-module-not-found/23249)

<div class="topic-metadata">

**Author:** [@Oguz\_Yarimtepe](https://forum.ansible.com/u/Oguz_Yarimtepe)\
**Replies:** 9\
**Last updated:** [December 15, 2016, 7:19pm UTC](https://forum.ansible.com/t/bigip-pool-module-not-found/23249 "2016-12-15T19:19:14Z")

</div>

At my virtualenv Here is my ansible.cfg \[defaults\] host\_key\_checking = False library =/path/to/ansible-playbooks/venv/lib/python2.7/site-packages/ansible/modules And here is my f5-text.txt localhost\] ansible\_connecti…

---

## [Alternatives to exporting environment variables](https://forum.ansible.com/t/alternatives-to-exporting-environment-variables/23253)

<div class="topic-metadata">

**Author:** [@Chethan\_ARAVIND\_T\_S](https://forum.ansible.com/u/Chethan_ARAVIND_T_S)\
**Replies:** 1\
**Last updated:** [December 15, 2016, 7:17pm UTC](https://forum.ansible.com/t/alternatives-to-exporting-environment-variables/23253 "2016-12-15T19:17:01Z")

</div>

Hi, I have attached a playbook to export environment variables for proxy and aws keys. Even if I run this or include this at the top of provisioning script, I am getting an error “NO HANDLER WAS READY TO AUTHENTICATE”. …

---

## [ansible 2.0 python api sample code not working](https://forum.ansible.com/t/ansible-2-0-python-api-sample-code-not-working/20985)

<div class="topic-metadata">

**Author:** [@Huan\_He](https://forum.ansible.com/u/Huan_He)\
**Replies:** 2\
**Last updated:** [December 15, 2016, 6:18pm UTC](https://forum.ansible.com/t/ansible-2-0-python-api-sample-code-not-working/20985 "2016-12-15T18:18:40Z")

</div>

I copied the sample code from ansible website and changed some parameters from collections import namedtuple from ansible.parsing.dataloader import DataLoader from ansible.vars import VariableManager from ansible.inv…

---

## [Iterating over list of lists](https://forum.ansible.com/t/iterating-over-list-of-lists/23268)

<div class="topic-metadata">

**Author:** [@Chanaka\_Samarajeewa](https://forum.ansible.com/u/Chanaka_Samarajeewa)\
**Replies:** 0\
**Last updated:** [December 15, 2016, 5:47pm UTC](https://forum.ansible.com/t/iterating-over-list-of-lists/23268 "2016-12-15T17:47:39Z")

</div>

Hello, I have a registered variable with the following output. How do I iterate the results to get groups-\>name and tags-\>Name ? ok: \[127.0.0.1\] =\> { “ec2\_facts”: { “changed”: false, “msg”: “All items completed”, “…

---

## [Includes and tags](https://forum.ansible.com/t/includes-and-tags/23252)

<div class="topic-metadata">

**Author:** [@John\_V](https://forum.ansible.com/u/John_V)\
**Replies:** 1\
**Last updated:** [December 15, 2016, 5:25pm UTC](https://forum.ansible.com/t/includes-and-tags/23252 "2016-12-15T17:25:36Z")

</div>

Hi, I am trying to use a tag with an include. The include runs another play that triggers roles. The documention says that I should be able to use the below, however when using this all tagged items run! - include: fo…

---

## [fact caching  configuration](https://forum.ansible.com/t/fact-caching-configuration/23267)

<div class="topic-metadata">

**Author:** [@zlemini](https://forum.ansible.com/u/zlemini)\
**Replies:** 1\
**Last updated:** [December 15, 2016, 5:24pm UTC](https://forum.ansible.com/t/fact-caching-configuration/23267 "2016-12-15T17:24:41Z")

</div>

Hi all, Does the fact\_caching\_timeout value default to a particular value if its not set in ansible.cfg, similar to how the forks defaults to 5 if not set in ansible.cfg? I am struggling to find it in the docs. Thanks…

---

## [Unable to MAKE Ansible 2.2.0.0 on Solaris](https://forum.ansible.com/t/unable-to-make-ansible-2-2-0-0-on-solaris/23186)

<div class="topic-metadata">

**Author:** [@Harvey\_Flaisher](https://forum.ansible.com/u/Harvey_Flaisher)\
**Replies:** 1\
**Last updated:** [December 15, 2016, 5:07pm UTC](https://forum.ansible.com/t/unable-to-make-ansible-2-2-0-0-on-solaris/23186 "2016-12-15T17:07:53Z")

</div>

Hello: We are on this OS: Solaris 10 5/09 s10x\_u7wos\_08 X86 I cannot compile/build Ansible from source using either MAKE or GMAKE (see below). Can someone please point me in a direction? thank you. Harvey $ make m…

---

## [Running multiple process on the same server](https://forum.ansible.com/t/running-multiple-process-on-the-same-server/23254)

<div class="topic-metadata">

**Author:** [@Tzach\_Livyatan2](https://forum.ansible.com/u/Tzach_Livyatan2)\
**Replies:** 3\
**Last updated:** [December 15, 2016, 4:25pm UTC](https://forum.ansible.com/t/running-multiple-process-on-the-same-server/23254 "2016-12-15T16:25:04Z")

</div>

Hi Ansiblers I need to run multiple instances (processes) of a shell command on each server. Something like GNU parallel but directly from Ansible. Any Ansible command / extension that will allow me to do so? Thanks …

---

## [Multiple module\_args](https://forum.ansible.com/t/multiple-module-args/19710)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 4\
**Last updated:** [December 15, 2016, 2:30pm UTC](https://forum.ansible.com/t/multiple-module-args/19710 "2016-12-15T14:30:03Z")

</div>

Hi, I am developing a module (python) which I am calling using ansible.runner and I need to so with multiple module args. For example: args1 = str(sys.argv\[0\]) args2 = str(sys.argv\[1\]) args3 = str(sys.argv\[2\]) From…

---

## [How to loop JSON of API CALL - Ansible](https://forum.ansible.com/t/how-to-loop-json-of-api-call-ansible/23266)

<div class="topic-metadata">

**Author:** [@Hector\_Marina1](https://forum.ansible.com/u/Hector_Marina1)\
**Replies:** 0\
**Last updated:** [December 15, 2016, 2:10pm UTC](https://forum.ansible.com/t/how-to-loop-json-of-api-call-ansible/23266 "2016-12-15T14:10:36Z")

</div>

Hello all, I have an API call, called by Ansible module. I want that this JSON loop ‘n’ times with differents values. This is the JSON: { "name": "{{hostname}}", "links": \[ { "href": "https://xxxxxxxxxx.ixx…

---

## [Concatenate text and variable for a key inside a dict](https://forum.ansible.com/t/concatenate-text-and-variable-for-a-key-inside-a-dict/23119)

<div class="topic-metadata">

**Author:** [@Guillaume\_Abrioux](https://forum.ansible.com/u/Guillaume_Abrioux)\
**Replies:** 1\
**Last updated:** [December 15, 2016, 1:03pm UTC](https://forum.ansible.com/t/concatenate-text-and-variable-for-a-key-inside-a-dict/23119 "2016-12-15T13:03:02Z")

</div>

Hi, I would like to define a dict in group\_vars/all.yml where a key inside this dict would consist of a fixed string concatened to the result of : “{{ hostvars\[inventory\_hostname\]\[‘ansible\_hostname’\] }}”. This should l…

---

## [jinja in task (template)](https://forum.ansible.com/t/jinja-in-task-template/23255)

<div class="topic-metadata">

**Author:** [@belajzus](https://forum.ansible.com/u/belajzus)\
**Replies:** 2\
**Last updated:** [December 15, 2016, 12:24pm UTC](https://forum.ansible.com/t/jinja-in-task-template/23255 "2016-12-15T12:24:59Z")

</div>

Hi to all, I have problem with evaluating jinja2 code in task (template) This is playbook for test, just to see If I get what I want

---

## [azure\_rm\_virtualmachine](https://forum.ansible.com/t/azure-rm-virtualmachine/23257)

<div class="topic-metadata">

**Author:** [@Shmulik\_Alfandari](https://forum.ansible.com/u/Shmulik_Alfandari)\
**Replies:** 5\
**Last updated:** [December 15, 2016, 11:31am UTC](https://forum.ansible.com/t/azure-rm-virtualmachine/23257 "2016-12-15T11:31:17Z")

</div>

Hello, I am trying to create VM machine in Azure using azure\_rm\_virtualmachine module. It failed with the following error: “msg”: “One-time registration of Microsoft.Compute failed - Azure Error: AuthorizationFailed\\nM…

---

## [How can I change the path for specific host](https://forum.ansible.com/t/how-can-i-change-the-path-for-specific-host/23236)

<div class="topic-metadata">

**Author:** [@Guilherme\_Ueno](https://forum.ansible.com/u/Guilherme_Ueno)\
**Replies:** 5\
**Last updated:** [December 15, 2016, 11:12am UTC](https://forum.ansible.com/t/how-can-i-change-the-path-for-specific-host/23236 "2016-12-15T11:12:37Z")

</div>

Hi all, I have to copy a file into a directory to specific hosts, but the path changes for specific hosts. Ex.: Inventory: \[webserver\] hosta hostb task: Copy a file into: hosta: /usr/app/abc/dir hostb: /usr/app/…

---

## [ansible stuck in celery](https://forum.ansible.com/t/ansible-stuck-in-celery/23265)

<div class="topic-metadata">

**Author:** [@hzj.zh](https://forum.ansible.com/u/hzj.zh)\
**Replies:** 2\
**Last updated:** [December 15, 2016, 9:25am UTC](https://forum.ansible.com/t/ansible-stuck-in-celery/23265 "2016-12-15T09:25:34Z")

</div>

hello，all i am using celery to run ansible-playbook , my env Python 2.7.5 celery==4.0.1 ansible 2.2.0.0 redhat7.0 i use celery to run playbook to change passwd, the playbook task will stuck from time to time, when i …

---

## [Using complex data structures in templates](https://forum.ansible.com/t/using-complex-data-structures-in-templates/23259)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 1\
**Last updated:** [December 15, 2016, 6:41am UTC](https://forum.ansible.com/t/using-complex-data-structures-in-templates/23259 "2016-12-15T06:41:42Z")

</div>

Hi Some of my playbooks involve configuring files in languages such as PHP. The configuration is basically a large PHP array, for example this SimpleSAMLphp config file: \<?php $config = array ( 'language.i18n.backend…

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

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