# Latest

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

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

**Page:** 588

---

## [Loops in Ansible](https://forum.ansible.com/t/loops-in-ansible/23975)

<div class="topic-metadata">

**Author:** [@user20](https://forum.ansible.com/u/user20)\
**Replies:** 6\
**Last updated:** [January 30, 2018, 8:26pm UTC](https://forum.ansible.com/t/loops-in-ansible/23975 "2018-01-30T20:26:56Z")

</div>

Hi, everyone. Would it be possible to somehow merge those two tasks in one? As you can see, the only difference is in default: \[yes|no\] key. I have to install both default and non-default ACL on a filesystem object, bu…

---

## [Azure Auth using 'az login' like Terraform does](https://forum.ansible.com/t/azure-auth-using-az-login-like-terraform-does/26601)

<div class="topic-metadata">

**Author:** [@Tim\_Qin](https://forum.ansible.com/u/Tim_Qin)\
**Replies:** 1\
**Last updated:** [January 30, 2018, 7:43pm UTC](https://forum.ansible.com/t/azure-auth-using-az-login-like-terraform-does/26601 "2018-01-30T19:43:29Z")

</div>

I m trying to use ansible azure module, but the auth methods blocked me: Service principles: it is no go as we are auth through enterprise AD on Azure portal AD: simply provide username and password are not working bec…

---

## [Getting latest version in \`.galaxy\_install\_info\`](https://forum.ansible.com/t/getting-latest-version-in-galaxy-install-info/26606)

<div class="topic-metadata">

**Author:** [@jjelinek](https://forum.ansible.com/u/jjelinek)\
**Replies:** 0\
**Last updated:** [January 30, 2018, 5:04pm UTC](https://forum.ansible.com/t/getting-latest-version-in-galaxy-install-info/26606 "2018-01-30T17:04:41Z")

</div>

Hi, If I have a requirements.yml like this: --- - name: abc src: git@github.com:my-super-repo/ansible-abc.git scm: git it will pull in the role and inside meta/.galaxy\_install\_info the contents will look like this: …

---

## [add multiple users](https://forum.ansible.com/t/add-multiple-users/26605)

<div class="topic-metadata">

**Author:** [@Joli\_Martinez](https://forum.ansible.com/u/Joli_Martinez)\
**Replies:** 0\
**Last updated:** [January 30, 2018, 4:28pm UTC](https://forum.ansible.com/t/add-multiple-users/26605 "2018-01-30T16:28:47Z")

</div>

Hello, I am looking for a way to add multiple users to both Redhat and Debian/Ubuntu based systems with the following criteria With either no password and have them create one at first login, or all with the same pass…

---

## [when conditionals syntax](https://forum.ansible.com/t/when-conditionals-syntax/26604)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 2\
**Last updated:** [January 30, 2018, 4:27pm UTC](https://forum.ansible.com/t/when-conditionals-syntax/26604 "2018-01-30T16:27:37Z")

</div>

Is something wrong with the following? It seems to get executed no matter what. In addition, where can I find more information about this syntax? Is this considered jinja2 syntax? or something else? \` include\_tasks: i…

---

## [Question on hosts and group\_vars setup, and error when running playbook](https://forum.ansible.com/t/question-on-hosts-and-group-vars-setup-and-error-when-running-playbook/26602)

<div class="topic-metadata">

**Author:** [@ZillaYT](https://forum.ansible.com/u/ZillaYT)\
**Replies:** 2\
**Last updated:** [January 30, 2018, 4:02pm UTC](https://forum.ansible.com/t/question-on-hosts-and-group-vars-setup-and-error-when-running-playbook/26602 "2018-01-30T16:02:29Z")

</div>

I’m following the guidelines discussed in Laying out roles, inventories and playbooks, and I have segregated my development vs. productions files this way \` /path\_to\_playbooks/inventories/development/host\_vars/git /pa…

---

## [AWX docker install access UI from URL other than localhost?](https://forum.ansible.com/t/awx-docker-install-access-ui-from-url-other-than-localhost/26593)

<div class="topic-metadata">

**Author:** [@Luke\_Salsich](https://forum.ansible.com/u/Luke_Salsich)\
**Replies:** 1\
**Last updated:** [January 30, 2018, 4:00pm UTC](https://forum.ansible.com/t/awx-docker-install-access-ui-from-url-other-than-localhost/26593 "2018-01-30T16:00:10Z")

</div>

Hey All, I’m frustrated with myself that Io have to ask what I think should be something I can figure out, but I’ve searched and tested different options and I just can’t get it: How do I setup AWX (using the docker in…

---

## [Isolated node installation on AWX](https://forum.ansible.com/t/isolated-node-installation-on-awx/26220)

<div class="topic-metadata">

**Author:** [@joharharkanwal](https://forum.ansible.com/u/joharharkanwal)\
**Replies:** 2\
**Last updated:** [January 30, 2018, 3:39pm UTC](https://forum.ansible.com/t/isolated-node-installation-on-awx/26220 "2018-01-30T15:39:35Z")

</div>

Hi Could someone update if we can get isolated node functionality working with awx. I see by default its not present. I am looking for docker based solution. Any help is highly appreciated. Best Regards, Harkanwal

---

## [Access Denied Error while installing SQLServer using Ansible on remote Windows host.](https://forum.ansible.com/t/access-denied-error-while-installing-sqlserver-using-ansible-on-remote-windows-host/26599)

<div class="topic-metadata">

**Author:** [@suresh\_sargar](https://forum.ansible.com/u/suresh_sargar)\
**Replies:** 1\
**Last updated:** [January 30, 2018, 1:03pm UTC](https://forum.ansible.com/t/access-denied-error-while-installing-sqlserver-using-ansible-on-remote-windows-host/26599 "2018-01-30T13:03:00Z")

</div>

Hi All, i am trying to install SQLServer in silent mode on remote windows machine using ansible. in middle of execution its failed with below error. my target host is Azure Windows. 2018-01-30 12:27:47,300 \[StandardOut…

---

## [How Ansible Works?](https://forum.ansible.com/t/how-ansible-works/26598)

<div class="topic-metadata">

**Author:** [@gracy\_layla](https://forum.ansible.com/u/gracy_layla)\
**Replies:** 0\
**Last updated:** [January 30, 2018, 12:33pm UTC](https://forum.ansible.com/t/how-ansible-works/26598 "2018-01-30T12:33:46Z")

</div>

There are many similar automation tools available like Puppet, Capistrano, Chef, Salt, Space Walk etc, but Ansible categorize into two types of server: controlling machines and nodes. The controlling machine, where Ansi…

---

## [how to disable paramiko log in ansible.log](https://forum.ansible.com/t/how-to-disable-paramiko-log-in-ansible-log/26595)

<div class="topic-metadata">

**Author:** [@Leon\_Xie](https://forum.ansible.com/u/Leon_Xie)\
**Replies:** 2\
**Last updated:** [January 30, 2018, 8:16am UTC](https://forum.ansible.com/t/how-to-disable-paramiko-log-in-ansible-log/26595 "2018-01-30T08:16:35Z")

</div>

Hi all, I am using ansible 2.4.2 as below:

---

## [Docker module for \`docker-compose run\`?](https://forum.ansible.com/t/docker-module-for-docker-compose-run/26591)

<div class="topic-metadata">

**Author:** [@Brandon\_Schlueter](https://forum.ansible.com/u/Brandon_Schlueter)\
**Replies:** 2\
**Last updated:** [January 29, 2018, 9:27pm UTC](https://forum.ansible.com/t/docker-module-for-docker-compose-run/26591 "2018-01-29T21:27:11Z")

</div>

In writing a playbook to bring up sentry according to its docs with docker-compose, I ended up with a task list including: name: run database migrations command: docker-compose run --rm web upgr…

---

## [How to make Ansible use certain Python libs?](https://forum.ansible.com/t/how-to-make-ansible-use-certain-python-libs/26592)

<div class="topic-metadata">

**Author:** [@ZillaYT](https://forum.ansible.com/u/ZillaYT)\
**Replies:** 2\
**Last updated:** [January 29, 2018, 9:12pm UTC](https://forum.ansible.com/t/how-to-make-ansible-use-certain-python-libs/26592 "2018-01-29T21:12:22Z")

</div>

I have \` $ which ansible /usr/bin/ansible user@hostname$ /usr/bin/ansible --version ansible 2.4.0.0 config file = /users/user/.ansible.cfg configured module search path = \[u’/users/user/.ansible/plugins/modules’, …

---

## [Ansible -  loop through multiple files when with\_items defined](https://forum.ansible.com/t/ansible-loop-through-multiple-files-when-with-items-defined/26590)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 4\
**Last updated:** [January 29, 2018, 6:33pm UTC](https://forum.ansible.com/t/ansible-loop-through-multiple-files-when-with-items-defined/26590 "2018-01-29T18:33:03Z")

</div>

This is similar to another question I posed a few days ago, but different enough I thought it deserved its own topic. I have a variable of ifcfg-list.stdout\_lines that contains a list of ifcfg-\* file names (exlcuding loo…

---

## [Installation of jar files fail on or complain about setting permissions on files and directories.](https://forum.ansible.com/t/installation-of-jar-files-fail-on-or-complain-about-setting-permissions-on-files-and-directories/26585)

<div class="topic-metadata">

**Author:** [@Arend\_Stam](https://forum.ansible.com/u/Arend_Stam)\
**Replies:** 2\
**Last updated:** [January 29, 2018, 6:28pm UTC](https://forum.ansible.com/t/installation-of-jar-files-fail-on-or-complain-about-setting-permissions-on-files-and-directories/26585 "2018-01-29T18:28:35Z")

</div>

Hi, I am trying, for the first time, to install some applications with Ansible and are stuck. If I try to install a jar file it either failes or it complains about permissions on files/dirs. When I try to install weblo…

---

## [redhat 7 files truncated / 0 length post ansible build and reboot](https://forum.ansible.com/t/redhat-7-files-truncated-0-length-post-ansible-build-and-reboot/26589)

<div class="topic-metadata">

**Author:** [@sterlij1](https://forum.ansible.com/u/sterlij1)\
**Replies:** 1\
**Last updated:** [January 29, 2018, 6:11pm UTC](https://forum.ansible.com/t/redhat-7-files-truncated-0-length-post-ansible-build-and-reboot/26589 "2018-01-29T18:11:45Z")

</div>

Hi, version: ansible 2.2.1.0 ansible build server OS - Centos 6.7 ansible client servers OS - Redhat 7.2. (esxi vm) Physical Host machine: ESXi 6.0 Hardware: Dell R730 with PERC H730 Mini Embedded controller. (Write…

---

## [Documentation Tool for Ansible Role](https://forum.ansible.com/t/documentation-tool-for-ansible-role/26580)

<div class="topic-metadata">

**Author:** [@Mohit\_Dhingra](https://forum.ansible.com/u/Mohit_Dhingra)\
**Replies:** 2\
**Last updated:** [January 29, 2018, 4:44pm UTC](https://forum.ansible.com/t/documentation-tool-for-ansible-role/26580 "2018-01-29T16:44:05Z")

</div>

Hi Ansible Users, Is there any documentation tool for available for Ansible role. I have created a role and i want to document it.

---

## [Ansible running Galera arbitrator "run" command as root although "become: yes" is not used](https://forum.ansible.com/t/ansible-running-galera-arbitrator-run-command-as-root-although-become-yes-is-not-used/26586)

<div class="topic-metadata">

**Author:** [@Hicham\_Seffendji](https://forum.ansible.com/u/Hicham_Seffendji)\
**Replies:** 1\
**Last updated:** [January 29, 2018, 3:48pm UTC](https://forum.ansible.com/t/ansible-running-galera-arbitrator-run-command-as-root-although-become-yes-is-not-used/26586 "2018-01-29T15:48:47Z")

</div>

Hi, I have the following arbitrator\_run role in Ansible : name: Run garb service: name: garb state: started The role in question is called from the main playbook as follows: name: Run arbitrator hosts: galera\_a…

---

## [Replace module not replacing all matched words in a file](https://forum.ansible.com/t/replace-module-not-replacing-all-matched-words-in-a-file/26587)

<div class="topic-metadata">

**Author:** [@Dave](https://forum.ansible.com/u/Dave)\
**Replies:** 0\
**Last updated:** [January 29, 2018, 3:26pm UTC](https://forum.ansible.com/t/replace-module-not-replacing-all-matched-words-in-a-file/26587 "2018-01-29T15:26:18Z")

</div>

I’m running into an issue with the replace module that I’m not sure how to resolve. When I run the below Ansible code, it generates a config file, but misses the first regexp in my first blockinfile call. All the other l…

---

## [WINRM Connection always ends up with "STDERR An error occurred while creating the pipeline"](https://forum.ansible.com/t/winrm-connection-always-ends-up-with-stderr-an-error-occurred-while-creating-the-pipeline/26581)

<div class="topic-metadata">

**Author:** [@Jeremie\_Levy](https://forum.ansible.com/u/Jeremie_Levy)\
**Replies:** 4\
**Last updated:** [January 29, 2018, 2:50pm UTC](https://forum.ansible.com/t/winrm-connection-always-ends-up-with-stderr-an-error-occurred-while-creating-the-pipeline/26581 "2018-01-29T14:50:03Z")

</div>

Hi Any task i run is followed by this WINRM error I am not sure it’s an error since the task is done successfully, does someone knows about this? \` TASK \[Create KIT folder if missing\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [UnArchive fails](https://forum.ansible.com/t/unarchive-fails/26583)

<div class="topic-metadata">

**Author:** [@kumar\_c](https://forum.ansible.com/u/kumar_c)\
**Replies:** 1\
**Last updated:** [January 29, 2018, 2:10pm UTC](https://forum.ansible.com/t/unarchive-fails/26583 "2018-01-29T14:10:38Z")

</div>

Hi there, trying to un-archive from ansible controller machine to remote… But, it’s throwing error’s… Error :- FAILED! =\> {“changed”: false, “msg”: “Failed to find handler for "/root/.ansible/tmp/ansible-tmp-15172232…

---

## [Test Project SCM Type git not working](https://forum.ansible.com/t/test-project-scm-type-git-not-working/26541)

<div class="topic-metadata">

**Author:** [@rickv](https://forum.ansible.com/u/rickv)\
**Replies:** 4\
**Last updated:** [January 29, 2018, 1:13pm UTC](https://forum.ansible.com/t/test-project-scm-type-git-not-working/26541 "2018-01-29T13:13:16Z")

</div>

Hi, I installed awx 1.0.2.70 and git CE 10.3.3 (https enabled) and can access both via localhost. After setting up a test project in awx (SCM URL https://localhost:50443/rickv/ansible-ae) and running “Start an SCM updat…

---

## [Backup and Restore in AWX](https://forum.ansible.com/t/backup-and-restore-in-awx/26582)

<div class="topic-metadata">

**Author:** [@Jae\_Kim](https://forum.ansible.com/u/Jae_Kim)\
**Replies:** 2\
**Last updated:** [January 29, 2018, 11:15am UTC](https://forum.ansible.com/t/backup-and-restore-in-awx/26582 "2018-01-29T11:15:59Z")

</div>

Hi As for Ansible Tower, it mentions about backup and restore.http://docs.ansible.com/ansible-tower/latest/html/administration/backup\_restore.html Although the scope seems to cover only for clustered environments. I w…

---

## [How to use grouped/combined register variable output values \[values can be repeated/duplicate\] of multiple hosts?](https://forum.ansible.com/t/how-to-use-grouped-combined-register-variable-output-values-values-can-be-repeated-duplicate-of-multiple-hosts/26584)

<div class="topic-metadata">

**Author:** [@Karthik\_V](https://forum.ansible.com/u/Karthik_V)\
**Replies:** 0\
**Last updated:** [January 29, 2018, 11:11am UTC](https://forum.ansible.com/t/how-to-use-grouped-combined-register-variable-output-values-values-can-be-repeated-duplicate-of-multiple-hosts/26584 "2018-01-29T11:11:33Z")

</div>

When I list the subnet cidr of every host in an environment I get repeated subent cidrs in the output as multiple hosts can be in same subnet. What I’m trying to achieve is run a shell command in ansible for each unique…

---

## [How to display ansible\_host in console output even if an alias is defined at inventory level](https://forum.ansible.com/t/how-to-display-ansible-host-in-console-output-even-if-an-alias-is-defined-at-inventory-level/26576)

<div class="topic-metadata">

**Author:** [@Julio\_Fernandez](https://forum.ansible.com/u/Julio_Fernandez)\
**Replies:** 3\
**Last updated:** [January 29, 2018, 2:21am UTC](https://forum.ansible.com/t/how-to-display-ansible-host-in-console-output-even-if-an-alias-is-defined-at-inventory-level/26576 "2018-01-29T02:21:50Z")

</div>

Hi everyone! We currently use ansible\_host variable and define an alias for the hosts we use as follows: Inventory file \[my\_jboss\_servers\] jboss\_server1 ansible\_host=myhostnameABC jboss\_server2 ansible\_host=myhostname…

---

## [service module fails to start nginx usig a docker connection](https://forum.ansible.com/t/service-module-fails-to-start-nginx-usig-a-docker-connection/26577)

<div class="topic-metadata">

**Author:** [@Ruben\_Decrop](https://forum.ansible.com/u/Ruben_Decrop)\
**Replies:** 1\
**Last updated:** [January 28, 2018, 4:51pm UTC](https://forum.ansible.com/t/service-module-fails-to-start-nginx-usig-a-docker-connection/26577 "2018-01-28T16:51:30Z")

</div>

I am using ansible to manage a group of Docker containers, using docker\_connection. All goes well unitl I am instructing nginx to be started in the container using this snippet \` name: ensure nginx started service: …

---

## [Inventory Sync with custom script](https://forum.ansible.com/t/inventory-sync-with-custom-script/26481)

<div class="topic-metadata">

**Author:** [@Sammic30](https://forum.ansible.com/u/Sammic30)\
**Replies:** 1\
**Last updated:** [January 28, 2018, 10:36am UTC](https://forum.ansible.com/t/inventory-sync-with-custom-script/26481 "2018-01-28T10:36:21Z")

</div>

Hi, I’m trying to create/update the inventory with custom script. Jobs logs and UI is showing it’s successful but actually it’s not updating. Any suggestion would be appreciated!!! UI: Job output: 2018-01-11 18:09…

---

## [AWX Demo and Code Dive from Ansiblefest SF 2017](https://forum.ansible.com/t/awx-demo-and-code-dive-from-ansiblefest-sf-2017/25598)

<div class="topic-metadata">

**Author:** [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Replies:** 2\
**Last updated:** [January 28, 2018, 9:11am UTC](https://forum.ansible.com/t/awx-demo-and-code-dive-from-ansiblefest-sf-2017/25598 "2018-01-28T09:11:18Z")

</div>

Howdy folks, During Ansiblefest San Francisco 2017 we had a community event where I demoed AWX and did a bit of a code dive into the architecture and backend construction of AWX. We’ve finally got that video ready to sh…

---

## [playbook wrok with ansible core](https://forum.ansible.com/t/playbook-wrok-with-ansible-core/26578)

<div class="topic-metadata">

**Author:** [@Rajat\_J](https://forum.ansible.com/u/Rajat_J)\
**Replies:** 0\
**Last updated:** [January 28, 2018, 9:09am UTC](https://forum.ansible.com/t/playbook-wrok-with-ansible-core/26578 "2018-01-28T09:09:47Z")

</div>

Hi AWX Guru, I am awx for poc for network automation right now i m test using gns3. I have create on test project in awx in that project i have use backup of cisco router this playbook if i use from ansible core work we…

---

## [Module Integration Testing Help Wanted](https://forum.ansible.com/t/module-integration-testing-help-wanted/26575)

<div class="topic-metadata">

**Author:** [@Stephen\_Nesbitt](https://forum.ansible.com/u/Stephen_Nesbitt)\
**Replies:** 1\
**Last updated:** [January 27, 2018, 9:18pm UTC](https://forum.ansible.com/t/module-integration-testing-help-wanted/26575 "2018-01-27T21:18:16Z")

</div>

All: Can anyone explain, or point me to a reference that details, how to create integration tests for modules? I’ve done a lot of googling and looked at the source code, but nothing seems to be explained or definitive. …

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

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