# Latest

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

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

**Page:** 612

---

## [Delegating group of tasks in a role](https://forum.ansible.com/t/delegating-group-of-tasks-in-a-role/25887)

<div class="topic-metadata">

**Author:** [@mark.haney](https://forum.ansible.com/u/mark.haney)\
**Replies:** 1\
**Last updated:** [November 1, 2017, 4:40pm UTC](https://forum.ansible.com/t/delegating-group-of-tasks-in-a-role/25887 "2017-11-01T16:40:49Z")

</div>

Is there a way to delegate a group of tasks to a certain host from inside a role? As in, I want to run: pull a git repo, run composer install and make on one host then take the compiled files to other hosts in the role. …

---

## [Git clone the development version of Ansible](https://forum.ansible.com/t/git-clone-the-development-version-of-ansible/25888)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [November 1, 2017, 4:03pm UTC](https://forum.ansible.com/t/git-clone-the-development-version-of-ansible/25888 "2017-11-01T16:03:33Z")

</div>

Just follow the docs http://docs.ansible.com/ansible/latest/intro\_installation.html#running-from-source

---

## [How to make ansible use a certain Python path/executable?](https://forum.ansible.com/t/how-to-make-ansible-use-a-certain-python-path-executable/25880)

<div class="topic-metadata">

**Author:** [@ZillaYT](https://forum.ansible.com/u/ZillaYT)\
**Replies:** 5\
**Last updated:** [November 1, 2017, 3:54pm UTC](https://forum.ansible.com/t/how-to-make-ansible-use-a-certain-python-path-executable/25880 "2017-11-01T15:54:42Z")

</div>

How do I force Ansible to use a certain version of Python? Is it in the ansible.cfg file? For example, I see via “ansible --version” command that it’s using /usr/local/bin/python v2.6.6, but I want it to use /local/pytho…

---

## [Passing json data without losing the double quotes](https://forum.ansible.com/t/passing-json-data-without-losing-the-double-quotes/25883)

<div class="topic-metadata">

**Author:** [@actionmystique](https://forum.ansible.com/u/actionmystique)\
**Replies:** 1\
**Last updated:** [November 1, 2017, 1:12pm UTC](https://forum.ansible.com/t/passing-json-data-without-losing-the-double-quotes/25883 "2017-11-01T13:12:05Z")

</div>

ansible 2.5.0 (devel 1068aa3ce7) last updated 2017/11/01 11:34:22 (GMT +200) config file = /etc/ansible/ansible.cfg configured module search path = \[u’/home/actionmystique/Ansible/git-yang-networkop/ansible-101/library…

---

## [vault question](https://forum.ansible.com/t/vault-question/25882)

<div class="topic-metadata">

**Author:** [@Oleg\_Gerasymchuk](https://forum.ansible.com/u/Oleg_Gerasymchuk)\
**Replies:** 0\
**Last updated:** [November 1, 2017, 9:44am UTC](https://forum.ansible.com/t/vault-question/25882 "2017-11-01T09:44:54Z")

</div>

Hi. If I understand your question right, you don’t want enter vault password manually when running playbook - instead of this you want take this password from file. I’m pretty sure, that you already checked all related …

---

## [AWX backup](https://forum.ansible.com/t/awx-backup/25820)

<div class="topic-metadata">

**Author:** [@Paul\_Macieszonek](https://forum.ansible.com/u/Paul_Macieszonek)\
**Replies:** 3\
**Last updated:** [November 1, 2017, 9:00am UTC](https://forum.ansible.com/t/awx-backup/25820 "2017-11-01T09:00:33Z")

</div>

I'm running AWX using the docker images on an ec2 instance in AWS. Is there a method to backup and restore the settings/changes done inside AWX. I looked at the tower documentation but it seems my docker containers are …

---

## [Ansible parallell playbooks](https://forum.ansible.com/t/ansible-parallell-playbooks/24904)

<div class="topic-metadata">

**Author:** [@Marcus\_Karlsson](https://forum.ansible.com/u/Marcus_Karlsson)\
**Replies:** 4\
**Last updated:** [November 1, 2017, 6:25am UTC](https://forum.ansible.com/t/ansible-parallell-playbooks/24904 "2017-11-01T06:25:24Z")

</div>

Hi, In my project, where we install Splunk with the help of terraform and ansible, we ran into some “errors” where we had the ansible playbook run on 3 hosts installing a search head in Splunk. On of the tasks were to c…

---

## [Question about Ansible tests](https://forum.ansible.com/t/question-about-ansible-tests/25876)

<div class="topic-metadata">

**Author:** [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Replies:** 5\
**Last updated:** [October 31, 2017, 8:01pm UTC](https://forum.ansible.com/t/question-about-ansible-tests/25876 "2017-10-31T20:01:24Z")

</div>

Take a look at this page, https://docs.ansible.com/ansible/latest/playbooks\_filters\_ipaddr.html

---

## [Command passes, but why is result in stderr and not stdout?](https://forum.ansible.com/t/command-passes-but-why-is-result-in-stderr-and-not-stdout/25878)

<div class="topic-metadata">

**Author:** [@ZillaYT](https://forum.ansible.com/u/ZillaYT)\
**Replies:** 4\
**Last updated:** [October 31, 2017, 7:12pm UTC](https://forum.ansible.com/t/command-passes-but-why-is-result-in-stderr-and-not-stdout/25878 "2017-10-31T19:12:00Z")

</div>

I have the following simple task to check my Python version \` name: Check if Python version matches target commadn: “/local/python/bin/python --version” register: python\_ver\_check debug: var=python\_ver\_check \` a…

---

## [Help with rolling deployments](https://forum.ansible.com/t/help-with-rolling-deployments/25870)

<div class="topic-metadata">

**Author:** [@Aleks\_Przhelyaskovsk](https://forum.ansible.com/u/Aleks_Przhelyaskovsk)\
**Replies:** 7\
**Last updated:** [October 31, 2017, 6:59pm UTC](https://forum.ansible.com/t/help-with-rolling-deployments/25870 "2017-10-31T18:59:58Z")

</div>

Hello, Trying to setup rolling deployments for WAS using ansible core. My environment consists of two groups of hosts. Each group has one manager, and two nodes. The deployment process consists of running a task on man…

---

## [Question concerning multiple -hosts: entries in a playbook](https://forum.ansible.com/t/question-concerning-multiple-hosts-entries-in-a-playbook/25879)

<div class="topic-metadata">

**Author:** [@mark.haney](https://forum.ansible.com/u/mark.haney)\
**Replies:** 2\
**Last updated:** [October 31, 2017, 6:59pm UTC](https://forum.ansible.com/t/question-concerning-multiple-hosts-entries-in-a-playbook/25879 "2017-10-31T18:59:23Z")

</div>

There might be a better way to do this, but I’m unaware of it, so I’m asking the list. I have a playbook that has two parts to it: Pulls branch from git repo to the localhost (ie the Ansible server) 1a. compiles the c…

---

## [Using a list variable for efs target key](https://forum.ansible.com/t/using-a-list-variable-for-efs-target-key/25877)

<div class="topic-metadata">

**Author:** [@mazzystr](https://forum.ansible.com/u/mazzystr)\
**Replies:** 1\
**Last updated:** [October 31, 2017, 4:07pm UTC](https://forum.ansible.com/t/using-a-list-variable-for-efs-target-key/25877 "2017-10-31T16:07:45Z")

</div>

Hello, Long time listener first time poster here. AWS Availability Zones are highly dynamic. The Ansible EFS module has a targets key that seems static. Has anyone been able to push a list variable into this key to ge…

---

## [vars\_files, include\_vars don't work with role vars](https://forum.ansible.com/t/vars-files-include-vars-dont-work-with-role-vars/25873)

<div class="topic-metadata">

**Author:** [@1.61803](https://forum.ansible.com/u/1.61803)\
**Replies:** 2\
**Last updated:** [October 31, 2017, 3:50pm UTC](https://forum.ansible.com/t/vars-files-include-vars-dont-work-with-role-vars/25873 "2017-10-31T15:50:21Z")

</div>

I want to separate vars in a role structure from vars/main.yml into different files using vars\_files or include\_vars as per Variable File Separation, with something like \`

---

## [Issue with blockinfile overwriting entire file in version 2.2](https://forum.ansible.com/t/issue-with-blockinfile-overwriting-entire-file-in-version-2-2/25850)

<div class="topic-metadata">

**Author:** [@Dave](https://forum.ansible.com/u/Dave)\
**Replies:** 4\
**Last updated:** [October 31, 2017, 2:42pm UTC](https://forum.ansible.com/t/issue-with-blockinfile-overwriting-entire-file-in-version-2-2/25850 "2017-10-31T14:42:56Z")

</div>

It appears when I repeatedly use blockinfile in an Ansible script on the same file, it overwrites any text that was previously in the file before. I’m running version 2.2 and I’m noticing it’s also defining markers in th…

---

## [Introduction - Prakash Mishra](https://forum.ansible.com/t/introduction-prakash-mishra/25860)

<div class="topic-metadata">

**Author:** [@Prakash\_Mishra](https://forum.ansible.com/u/Prakash_Mishra)\
**Replies:** 3\
**Last updated:** [October 31, 2017, 1:51pm UTC](https://forum.ansible.com/t/introduction-prakash-mishra/25860 "2017-10-31T13:51:29Z")

</div>

Hello everyone, I’m Prakash, a student at Christ University, Bangalore, India. I started my open source journey with the Fedora project (fas id: prakashmishra1598) and have been contributing to open source projects sinc…

---

## [Ansible Version 3.2.1 Upgrade issue](https://forum.ansible.com/t/ansible-version-3-2-1-upgrade-issue/25871)

<div class="topic-metadata">

**Author:** [@Nuwan\_Vithanage](https://forum.ansible.com/u/Nuwan_Vithanage)\
**Replies:** 1\
**Last updated:** [October 31, 2017, 1:47pm UTC](https://forum.ansible.com/t/ansible-version-3-2-1-upgrade-issue/25871 "2017-10-31T13:47:31Z")

</div>

I got below error when I try to update V 3.1.5 to 3.2.1 TASK \[awx\_install : Migrate the Tower database schema (may take awhile when upgrading).\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Create Vm from Dynamic  Json Value](https://forum.ansible.com/t/create-vm-from-dynamic-json-value/25782)

<div class="topic-metadata">

**Author:** [@Hemant\_Kulkarni](https://forum.ansible.com/u/Hemant_Kulkarni)\
**Replies:** 1\
**Last updated:** [October 31, 2017, 7:06am UTC](https://forum.ansible.com/t/create-vm-from-dynamic-json-value/25782 "2017-10-31T07:06:06Z")

</div>

Hello All, I am new to Ansiable .my requirement is to Create VM from dynamic JSON Values …For example below is output from my API “Server\_details”: \[ { “IP”: “192.168.1.1”, “Server\_Name”: “TestVM1” “HDD”: “300GB” …

---

## [How to uninstall ansible tower](https://forum.ansible.com/t/how-to-uninstall-ansible-tower/23481)

<div class="topic-metadata">

**Author:** [@jithendra\_myla](https://forum.ansible.com/u/jithendra_myla)\
**Replies:** 1\
**Last updated:** [October 31, 2017, 6:17am UTC](https://forum.ansible.com/t/how-to-uninstall-ansible-tower/23481 "2017-10-31T06:17:53Z")

</div>

How to uninstall ansible tower, Can you please provide me the steps, i don’t see in the ansible tower documentation.

---

## [Vagrant+Ansible   Not working main.yum](https://forum.ansible.com/t/vagrant-ansible-not-working-main-yum/25865)

<div class="topic-metadata">

**Author:** [@Artur001](https://forum.ansible.com/u/Artur001)\
**Replies:** 6\
**Last updated:** [October 30, 2017, 6:30pm UTC](https://forum.ansible.com/t/vagrant-ansible-not-working-main-yum/25865 "2017-10-30T18:30:51Z")

</div>

Not working main.yum \` name: add php ppa apt\_repository: repo=‘ppa:ondrej/php’ state=present name: update apt cache apt: update\_cache=yes \` vagrant up \` TASK \[php : add php ppa\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [no vmware module to gather vm facts with datastore and cluster information](https://forum.ansible.com/t/no-vmware-module-to-gather-vm-facts-with-datastore-and-cluster-information/25869)

<div class="topic-metadata">

**Author:** [@Oguz\_Yarimtepe](https://forum.ansible.com/u/Oguz_Yarimtepe)\
**Replies:** 0\
**Last updated:** [October 30, 2017, 6:26pm UTC](https://forum.ansible.com/t/no-vmware-module-to-gather-vm-facts-with-datastore-and-cluster-information/25869 "2017-10-30T18:26:25Z")

</div>

Hi, I am trying get VM facts from my VMware 6.5 environment and trying vmware\_guest\_facts. Below is my tasks/main.yml

---

## [Force a role to be run on every host in every inventory file without explicitly calling the role from a playbook](https://forum.ansible.com/t/force-a-role-to-be-run-on-every-host-in-every-inventory-file-without-explicitly-calling-the-role-from-a-playbook/25868)

<div class="topic-metadata">

**Author:** [@Graeme\_Crawford](https://forum.ansible.com/u/Graeme_Crawford)\
**Replies:** 1\
**Last updated:** [October 30, 2017, 5:13pm UTC](https://forum.ansible.com/t/force-a-role-to-be-run-on-every-host-in-every-inventory-file-without-explicitly-calling-the-role-from-a-playbook/25868 "2017-10-30T17:13:26Z")

</div>

Hi, I’m wondering if there is an easy way to enforce that a certain role would be run for every host in every inventory file, without explicitly having to call the role from a playbook and without needing to run a comma…

---

## [Having issue finding my hosts](https://forum.ansible.com/t/having-issue-finding-my-hosts/25825)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 4\
**Last updated:** [October 30, 2017, 4:29pm UTC](https://forum.ansible.com/t/having-issue-finding-my-hosts/25825 "2017-10-30T16:29:29Z")

</div>

I think you are misusing the directives: - hosts: /ansible/hosts \<= this will NOT use that file as inventory for the play. The hosts keyword is supposed to be a 'pattern', not a file nor inventory source. to use tha…

---

## [Getting string from an XML URL response](https://forum.ansible.com/t/getting-string-from-an-xml-url-response/25848)

<div class="topic-metadata">

**Author:** [@Marc\_L](https://forum.ansible.com/u/Marc_L)\
**Replies:** 2\
**Last updated:** [October 30, 2017, 3:03pm UTC](https://forum.ansible.com/t/getting-string-from-an-xml-url-response/25848 "2017-10-30T15:03:46Z")

</div>

Hi, I have a URL that I call with a GET, and that returns an XML response. I’d like to parse that response (I could use grep), but I’m struggling to get the response content. \` name: Get OHP Group Passcode uri: ur…

---

## [ansible-connection not released and high CPU usage](https://forum.ansible.com/t/ansible-connection-not-released-and-high-cpu-usage/25867)

<div class="topic-metadata">

**Author:** [@gacquewi](https://forum.ansible.com/u/gacquewi)\
**Replies:** 0\
**Last updated:** [October 30, 2017, 2:57pm UTC](https://forum.ansible.com/t/ansible-connection-not-released-and-high-cpu-usage/25867 "2017-10-30T14:57:40Z")

</div>

Hello I do use Ansible 2.4 to manage 300 cisco switches. 4 ansible connections are stuck at every run. \` USER %CPU %MEM STAT START TIME COMMAND me 99.5 0.1 R 12:01 223:06 /usr/bin/python /usr/bin/ansible-connection …

---

## [Remove myself from Ansibot mentions?](https://forum.ansible.com/t/remove-myself-from-ansibot-mentions/25866)

<div class="topic-metadata">

**Author:** [@Ivan\_Vanderbyl](https://forum.ansible.com/u/Ivan_Vanderbyl)\
**Replies:** 4\
**Last updated:** [October 30, 2017, 2:55pm UTC](https://forum.ansible.com/t/remove-myself-from-ansibot-mentions/25866 "2017-10-30T14:55:00Z")

</div>

I keep getting pinged by Ansibot for a contribution I made 4 years ago, I have no interest in maintaining this as I no longer use ansible. Please can I be removed from this bot!

---

## [AWX Best Practices (Inventories and Workflows)](https://forum.ansible.com/t/awx-best-practices-inventories-and-workflows/25761)

<div class="topic-metadata">

**Author:** [@Bobby\_Brockway](https://forum.ansible.com/u/Bobby_Brockway)\
**Replies:** 3\
**Last updated:** [October 30, 2017, 12:28pm UTC](https://forum.ansible.com/t/awx-best-practices-inventories-and-workflows/25761 "2017-10-30T12:28:00Z")

</div>

Hi all, I've been playing with AWX in a POC environment but I'm having trouble working out the best way to lay out our inventories, jobs and workflows. The Best Practices \<http://docs.ansible.com/ansible-tower/latest…

---

## [Inventory error in proxy environment](https://forum.ansible.com/t/inventory-error-in-proxy-environment/25847)

<div class="topic-metadata">

**Author:** [@Chris\_Church](https://forum.ansible.com/u/Chris_Church)\
**Replies:** 1\
**Last updated:** [October 30, 2017, 11:31am UTC](https://forum.ansible.com/t/inventory-error-in-proxy-environment/25847 "2017-10-30T11:31:07Z")

</div>

See https://github.com/ansible/awx/issues/476, which is the same issue.

---

## [Is there a cleaner alternative to '{{ (things | json\_query("\[?name==''" + thing\_name + "''\]")  }}'](https://forum.ansible.com/t/is-there-a-cleaner-alternative-to-things-json-query-name-thing-name/25859)

<div class="topic-metadata">

**Author:** [@Behrang](https://forum.ansible.com/u/Behrang)\
**Replies:** 2\
**Last updated:** [October 30, 2017, 11:16am UTC](https://forum.ansible.com/t/is-there-a-cleaner-alternative-to-things-json-query-name-thing-name/25859 "2017-10-30T11:16:32Z")

</div>

Is there a cleaner alternative to: ‘{{ (things | json\_query("\[?name==’‘" + thing\_name + "’‘\]") }}’ In particular, ideally I want to avoid: String concatenation Escaping of quotes

---

## [clarification about using notify in the context of include\_tasks](https://forum.ansible.com/t/clarification-about-using-notify-in-the-context-of-include-tasks/25862)

<div class="topic-metadata">

**Author:** [@nusenu](https://forum.ansible.com/u/nusenu)\
**Replies:** 0\
**Last updated:** [October 30, 2017, 10:13am UTC](https://forum.ansible.com/t/clarification-about-using-notify-in-the-context-of-include-tasks/25862 "2017-10-30T10:13:00Z")

</div>

Hi, I'm in the process of migrating from "include" to import\_\* and include\_\* 's. During that the following question came up: Could I replace an include \[1\] with include\_tasks even if the included file makes use of no…

---

## [how to get the server Site & location name get automatically when playbook will run](https://forum.ansible.com/t/how-to-get-the-server-site-location-name-get-automatically-when-playbook-will-run/25861)

<div class="topic-metadata">

**Author:** [@Karn\_Kumar](https://forum.ansible.com/u/Karn_Kumar)\
**Replies:** 0\
**Last updated:** [October 30, 2017, 9:32am UTC](https://forum.ansible.com/t/how-to-get-the-server-site-location-name-get-automatically-when-playbook-will-run/25861 "2017-10-30T09:32:08Z")

</div>

I’m instaling collectd service using ansible version 2.4 and making some changes into the colectd config and that’s working fine. In my playbook i’m using lineinfile module to make the chnages in the collectd confg file…

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

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