# Latest

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

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

**Page:** 474

---

## [looping over set of tasks (roles?)](https://forum.ansible.com/t/looping-over-set-of-tasks-roles/15550)

<div class="topic-metadata">

**Author:** [@Nick\_Evgeniev](https://forum.ansible.com/u/Nick_Evgeniev)\
**Replies:** 29\
**Last updated:** [March 24, 2019, 10:02am UTC](https://forum.ansible.com/t/looping-over-set-of-tasks-roles/15550 "2019-03-24T10:02:01Z")

</div>

Hi, I need to perform (in a loop) some tasks on host ‘A’ till something happens on host ‘B’. What is the ‘best practice’ of doing such things with ansible? I saw loops over single task but this is not what I need (pres…

---

## [Ansible Galaxy - requirements.yml and a single github repo with multiple roles](https://forum.ansible.com/t/ansible-galaxy-requirements-yml-and-a-single-github-repo-with-multiple-roles/20732)

<div class="topic-metadata">

**Author:** [@sarlindo](https://forum.ansible.com/u/sarlindo)\
**Replies:** 3\
**Last updated:** [March 22, 2019, 10:07pm UTC](https://forum.ansible.com/t/ansible-galaxy-requirements-yml-and-a-single-github-repo-with-multiple-roles/20732 "2019-03-22T22:07:48Z")

</div>

In terms of github repos for ansible roles. Does galaxy supports having multiple “roles” in ONE github repo? For example, let’s assume I have the following github repo https://github.com/sarlindo/ansiblemidddlewarerepo …

---

## [AWX + ARA in containers](https://forum.ansible.com/t/awx-ara-in-containers/29959)

<div class="topic-metadata">

**Author:** [@dmccheyne](https://forum.ansible.com/u/dmccheyne)\
**Replies:** 2\
**Last updated:** [March 22, 2019, 10:03pm UTC](https://forum.ansible.com/t/awx-ara-in-containers/29959 "2019-03-22T22:03:08Z")

</div>

Good Afternoon AWX community, Has anyone setup AWX and ARA together on docker? Or have a blog/reference on the experience? It seems like it should be pretty straightforward, but ansible-playbook runs aren’t picking up …

---

## [Exceptions when trying to use apache2\_mod\_proxy](https://forum.ansible.com/t/exceptions-when-trying-to-use-apache2-mod-proxy/29961)

<div class="topic-metadata">

**Author:** [@Jeff\_Sondag](https://forum.ansible.com/u/Jeff_Sondag)\
**Replies:** 1\
**Last updated:** [March 22, 2019, 7:26pm UTC](https://forum.ansible.com/t/exceptions-when-trying-to-use-apache2-mod-proxy/29961 "2019-03-22T19:26:11Z")

</div>

I’m trying to manage an apache load balance with apache2\_mod\_proxy, and am getting the following error. If someone could help that would be very much appreciated. TASK \[apache2\_mod\_proxy\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Ansible Tower SAML Authentication](https://forum.ansible.com/t/ansible-tower-saml-authentication/29960)

<div class="topic-metadata">

**Author:** [@Chanaka\_Samarajeewa](https://forum.ansible.com/u/Chanaka_Samarajeewa)\
**Replies:** 1\
**Last updated:** [March 22, 2019, 6:54pm UTC](https://forum.ansible.com/t/ansible-tower-saml-authentication/29960 "2019-03-22T18:54:20Z")

</div>

Hello, I configured Tower to authenticate with OKTA via SAML . When I go to Tower’s login page and click “Sign in with SAML” it functions correctly and takes me to Okta to sign in, then allows me into Tower after authen…

---

## [How to say “When” something is finished installing?](https://forum.ansible.com/t/how-to-say-when-something-is-finished-installing/29945)

<div class="topic-metadata">

**Author:** [@gigit1000](https://forum.ansible.com/u/gigit1000)\
**Replies:** 3\
**Last updated:** [March 22, 2019, 5:58pm UTC](https://forum.ansible.com/t/how-to-say-when-something-is-finished-installing/29945 "2019-03-22T17:58:54Z")

</div>

Hello, I have two tasks in a playbook. The first task installs software with the command module. The second creates a file. I don’t want the second task to run until the software has finished installing. I’m pretty sure…

---

## [Ansible - Register variable in not defined](https://forum.ansible.com/t/ansible-register-variable-in-not-defined/29954)

<div class="topic-metadata">

**Author:** [@olyx11](https://forum.ansible.com/u/olyx11)\
**Replies:** 5\
**Last updated:** [March 22, 2019, 5:05pm UTC](https://forum.ansible.com/t/ansible-register-variable-in-not-defined/29954 "2019-03-22T17:05:54Z")

</div>

I am trying to figure out why my variable is not defined and have not been able to find any solutions online. Can anyone help? test.yml

---

## [Contributor interactions interpreted as hostile](https://forum.ansible.com/t/contributor-interactions-interpreted-as-hostile/29957)

<div class="topic-metadata">

**Author:** [@mcronenworth](https://forum.ansible.com/u/mcronenworth)\
**Replies:** 2\
**Last updated:** [March 22, 2019, 4:36pm UTC](https://forum.ansible.com/t/contributor-interactions-interpreted-as-hostile/29957 "2019-03-22T16:36:56Z")

</div>

Closing and locking a discussion while holding a self-righteous attitude gave me an extremely sour taste in my mouth. I raised a concern\[1\] about a bug fix that changed behavior in a stable release when that behavior ha…

---

## [How can i print all the Host facts including custom facts in a Playbook?](https://forum.ansible.com/t/how-can-i-print-all-the-host-facts-including-custom-facts-in-a-playbook/29920)

<div class="topic-metadata">

**Author:** [@Ankit2](https://forum.ansible.com/u/Ankit2)\
**Replies:** 4\
**Last updated:** [March 22, 2019, 4:31pm UTC](https://forum.ansible.com/t/how-can-i-print-all-the-host-facts-including-custom-facts-in-a-playbook/29920 "2019-03-22T16:31:47Z")

</div>

I want to print all the hosts’ facts (including the custom facts set on these hosts) in a playbook. The reason i want all the details in playbook is that i want to create a report in Splunk but AWX sends separate events …

---

## [Stable release behavior changes](https://forum.ansible.com/t/stable-release-behavior-changes/29958)

<div class="topic-metadata">

**Author:** [@mcronenworth](https://forum.ansible.com/u/mcronenworth)\
**Replies:** 0\
**Last updated:** [March 22, 2019, 4:00pm UTC](https://forum.ansible.com/t/stable-release-behavior-changes/29958 "2019-03-22T16:00:45Z")

</div>

Are bug fixes vetted before they are introduced in stable releases? A bug fix\[1\] on get\_url changed its basic functionality when run under check mode. The broken behavior has been in Ansible for years, but a stable rele…

---

## [Postgresql error in kubernetes installation](https://forum.ansible.com/t/postgresql-error-in-kubernetes-installation/29956)

<div class="topic-metadata">

**Author:** [@Michael\_Alexander](https://forum.ansible.com/u/Michael_Alexander)\
**Replies:** 0\
**Last updated:** [March 22, 2019, 3:53pm UTC](https://forum.ansible.com/t/postgresql-error-in-kubernetes-installation/29956 "2019-03-22T15:53:52Z")

</div>

Hi I’m trying to install AWX in a K8s cluster but i get the following error: TASK \[kubernetes : Migrate database\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* fatal: \[localhost\]: FAILED! =\> {“changed”: true, “cmd”: “ku…

---

## [sros network modules in ansible 2.7.0](https://forum.ansible.com/t/sros-network-modules-in-ansible-2-7-0/28777)

<div class="topic-metadata">

**Author:** [@DC11](https://forum.ansible.com/u/DC11)\
**Replies:** 4\
**Last updated:** [March 22, 2019, 1:32pm UTC](https://forum.ansible.com/t/sros-network-modules-in-ansible-2-7-0/28777 "2019-03-22T13:32:47Z")

</div>

Ansible newbie here. I’m trying to learn about network\_cli so installed a recent version of ansible \` ansible --version ansible 2.7.0 config file = /etc/ansible/ansible.cfg configured module search path = \[u’/home/u…

---

## [Using defaults for Ansible user module for for "home", "group" and "groups"](https://forum.ansible.com/t/using-defaults-for-ansible-user-module-for-for-home-group-and-groups/29937)

<div class="topic-metadata">

**Author:** [@Suhail\_Choudhury](https://forum.ansible.com/u/Suhail_Choudhury)\
**Replies:** 2\
**Last updated:** [March 22, 2019, 12:34pm UTC](https://forum.ansible.com/t/using-defaults-for-ansible-user-module-for-for-home-group-and-groups/29937 "2019-03-22T12:34:03Z")

</div>

Hi, I’m trying to set optional values only if they are specified for the “user” module. So with: name: Add users user: name: “{{ item.username }}” comment: “{{ item.comment }}” state: present shell: “{{ (item.sh…

---

## [In ansible how do cp -rp](https://forum.ansible.com/t/in-ansible-how-do-cp-rp/29939)

<div class="topic-metadata">

**Author:** [@ryad9200000](https://forum.ansible.com/u/ryad9200000)\
**Replies:** 4\
**Last updated:** [March 22, 2019, 9:31am UTC](https://forum.ansible.com/t/in-ansible-how-do-cp-rp/29939 "2019-03-22T09:31:09Z")

</div>

Hi all, I want do this command line in ansible : cp -rp /home/user/file1 /home/user/directory2/file2 I have find this module copy : - name: example copying file with owner and permissions copy: src: /srv/myfile…

---

## [user\_module and ssh key](https://forum.ansible.com/t/user-module-and-ssh-key/29951)

<div class="topic-metadata">

**Author:** [@Alexander\_B](https://forum.ansible.com/u/Alexander_B)\
**Replies:** 1\
**Last updated:** [March 22, 2019, 7:14am UTC](https://forum.ansible.com/t/user-module-and-ssh-key/29951 "2019-03-22T07:14:09Z")

</div>

Hello. There are two hosts. On first I create a user and generate SSH keys. Now I need to transfer private key to second host to connect using it to first host without creating a user on second. I haven’t found an outpu…

---

## [Do I need to use wait\_for and/or handler to install software from a playbook?](https://forum.ansible.com/t/do-i-need-to-use-wait-for-and-or-handler-to-install-software-from-a-playbook/29950)

<div class="topic-metadata">

**Author:** [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Replies:** 0\
**Last updated:** [March 22, 2019, 5:47am UTC](https://forum.ansible.com/t/do-i-need-to-use-wait-for-and-or-handler-to-install-software-from-a-playbook/29950 "2019-03-22T05:47:13Z")

</div>

Hello, I understand that tasks in a playbook run top down but I don't know if they wait for each other. They do. I have a question about how you control multiple package installs in a way so that subsequent tasks…

---

## [Ansible Yum module has no return values?](https://forum.ansible.com/t/ansible-yum-module-has-no-return-values/29948)

<div class="topic-metadata">

**Author:** [@gigit1000](https://forum.ansible.com/u/gigit1000)\
**Replies:** 1\
**Last updated:** [March 22, 2019, 1:37am UTC](https://forum.ansible.com/t/ansible-yum-module-has-no-return-values/29948 "2019-03-22T01:37:35Z")

</div>

Hello, Since the Yum module has no return values, how do you know when the package it installed is finished installing? How would you know when to start a new task that depends on the package being installed? Thank You …

---

## [Building variables like in Jekyll?](https://forum.ansible.com/t/building-variables-like-in-jekyll/29944)

<div class="topic-metadata">

**Author:** [@JonTheNiceGuy](https://forum.ansible.com/u/JonTheNiceGuy)\
**Replies:** 0\
**Last updated:** [March 21, 2019, 8:56pm UTC](https://forum.ansible.com/t/building-variables-like-in-jekyll/29944 "2019-03-21T20:56:13Z")

</div>

Hi, I’ve a complex data structure to build, which, while I can do it in group/host\_vars/ I’m worrying about the people who follow me on, and how they’ll cope with it. I’ve some experience of Jekyll, which has a good da…

---

## [create virtualenv with pip modle and centos scl (rh-python36)](https://forum.ansible.com/t/create-virtualenv-with-pip-modle-and-centos-scl-rh-python36/29943)

<div class="topic-metadata">

**Author:** [@Peter\_Hudec](https://forum.ansible.com/u/Peter_Hudec)\
**Replies:** 1\
**Last updated:** [March 21, 2019, 8:50pm UTC](https://forum.ansible.com/t/create-virtualenv-with-pip-modle-and-centos-scl-rh-python36/29943 "2019-03-21T20:50:20Z")

</div>

Hi all, I’m trying to solve following problem. I need to create virtualenv for python using centos scl rh-python36 Manual way is easy, there are several way how to do that /opt/rh/rh-python36/root/bin/python -m v…

---

## [How to change the security groups of an existing ec2 instance](https://forum.ansible.com/t/how-to-change-the-security-groups-of-an-existing-ec2-instance/29942)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 0\
**Last updated:** [March 21, 2019, 8:32pm UTC](https://forum.ansible.com/t/how-to-change-the-security-groups-of-an-existing-ec2-instance/29942 "2019-03-21T20:32:03Z")

</div>

Hi I have a task to ensure that an instance is available and configured. But now I'd like make sure the instance has a few extra security groups, but I can't find the correct syntax to get this working. My task look …

---

## [Importing user variables from multiple variable sources](https://forum.ansible.com/t/importing-user-variables-from-multiple-variable-sources/29788)

<div class="topic-metadata">

**Author:** [@Suhail\_Choudhury](https://forum.ansible.com/u/Suhail_Choudhury)\
**Replies:** 6\
**Last updated:** [March 21, 2019, 7:32pm UTC](https://forum.ansible.com/t/importing-user-variables-from-multiple-variable-sources/29788 "2019-03-21T19:32:21Z")

</div>

Hi, I want to know how I can import user account variables at multiple levels using loops/arrays and importing them all. i.e. i have a generic module which has users defined in roles/common/tasks/main.yml as an array(o…

---

## [can't add vault-encrypted vars to template](https://forum.ansible.com/t/cant-add-vault-encrypted-vars-to-template/29941)

<div class="topic-metadata">

**Author:** [@dmakovey](https://forum.ansible.com/u/dmakovey)\
**Replies:** 1\
**Last updated:** [March 21, 2019, 7:15pm UTC](https://forum.ansible.com/t/cant-add-vault-encrypted-vars-to-template/29941 "2019-03-21T19:15:33Z")

</div>

I've used ansible-vault encrypt\_string .. command to encrypt several vars for playbook run, however when I paste encrypted var stanza into the "extra variables" field for Job Template - I get an error. Is that intent…

---

## [Ansible slack callback plugin - not working - please help](https://forum.ansible.com/t/ansible-slack-callback-plugin-not-working-please-help/28126)

<div class="topic-metadata">

**Author:** [@Vinod\_Kumar2](https://forum.ansible.com/u/Vinod_Kumar2)\
**Replies:** 10\
**Last updated:** [March 21, 2019, 4:55pm UTC](https://forum.ansible.com/t/ansible-slack-callback-plugin-not-working-please-help/28126 "2019-03-21T16:55:20Z")

</div>

Hi All, I am using below slack callback configuration and getting below error. When i tried using the slack module instead of slack callback plugin, i am able to get the notification in my slack channel. But i want to u…

---

## [cross-referencing project directories in Tower](https://forum.ansible.com/t/cross-referencing-project-directories-in-tower/29938)

<div class="topic-metadata">

**Author:** [@dmakovey](https://forum.ansible.com/u/dmakovey)\
**Replies:** 0\
**Last updated:** [March 21, 2019, 4:46pm UTC](https://forum.ansible.com/t/cross-referencing-project-directories-in-tower/29938 "2019-03-21T16:46:35Z")

</div>

Hi, I'm trying to implement an odd arrangement for one of the projects that utilizes huge git clone of non-ansible artifacts, thus I would like to do the following: 1. set up non-Ansible git clone as a Project in AWX…

---

## [Need help with AWX Install using local Docker and external postgres database](https://forum.ansible.com/t/need-help-with-awx-install-using-local-docker-and-external-postgres-database/29875)

<div class="topic-metadata">

**Author:** [@callmeshawn](https://forum.ansible.com/u/callmeshawn)\
**Replies:** 13\
**Last updated:** [March 21, 2019, 4:31pm UTC](https://forum.ansible.com/t/need-help-with-awx-install-using-local-docker-and-external-postgres-database/29875 "2019-03-21T16:31:40Z")

</div>

Hello, I’d like to install AWX. In an older version everything seemed to run as separate processes; however, I cloned down the latest version (looking in the VERSION file, I see 3.0.1), and it appears to support the fo…

---

## [AWX returning 401 on login intermittently](https://forum.ansible.com/t/awx-returning-401-on-login-intermittently/29935)

<div class="topic-metadata">

**Author:** [@nrk](https://forum.ansible.com/u/nrk)\
**Replies:** 2\
**Last updated:** [March 21, 2019, 4:13pm UTC](https://forum.ansible.com/t/awx-returning-401-on-login-intermittently/29935 "2019-03-21T16:13:00Z")

</div>

Hi there, We are having some users experiencing this issue. Some times, when the user try to login, AWX returns a 401, as you can see below. This is the information about our AWX. AWX Version: 3.0.1 OS: CentOS 7 …

---

## [how should I connect to windows clients with dhcp addresses?](https://forum.ansible.com/t/how-should-i-connect-to-windows-clients-with-dhcp-addresses/29932)

<div class="topic-metadata">

**Author:** [@Mike\_V](https://forum.ansible.com/u/Mike_V)\
**Replies:** 2\
**Last updated:** [March 21, 2019, 3:24pm UTC](https://forum.ansible.com/t/how-should-i-connect-to-windows-clients-with-dhcp-addresses/29932 "2019-03-21T15:24:08Z")

</div>

Hi, I want to add windows clients to an Active Directory domain. The clients are getting IP addresses from dhcp and they are not in DNS. Should I write a playbook to query the dhcp server with the known hostnames to gen…

---

## [Do the target systems need to have pre-requisites installed for Ansible to work?](https://forum.ansible.com/t/do-the-target-systems-need-to-have-pre-requisites-installed-for-ansible-to-work/29931)

<div class="topic-metadata">

**Author:** [@gigit1000](https://forum.ansible.com/u/gigit1000)\
**Replies:** 3\
**Last updated:** [March 21, 2019, 12:57pm UTC](https://forum.ansible.com/t/do-the-target-systems-need-to-have-pre-requisites-installed-for-ansible-to-work/29931 "2019-03-21T12:57:08Z")

</div>

Hello, I’m a little confused about how Ansible works: Since its “clientless” it makes it sound like you don’t need to install software on the target hosts in order to run playbooks to configure them. From the documentat…

---

## [How do you configure become\_exe in awx?](https://forum.ansible.com/t/how-do-you-configure-become-exe-in-awx/29936)

<div class="topic-metadata">

**Author:** [@barnaclefluff](https://forum.ansible.com/u/barnaclefluff)\
**Replies:** 0\
**Last updated:** [March 21, 2019, 9:51am UTC](https://forum.ansible.com/t/how-do-you-configure-become-exe-in-awx/29936 "2019-03-21T09:51:53Z")

</div>

become\_method is there in the Credentials configuration page (‘privilege escalation method’) but where can I set become\_exe?

---

## [Gathering facts for windows hosts runs forever/never completes](https://forum.ansible.com/t/gathering-facts-for-windows-hosts-runs-forever-never-completes/29885)

<div class="topic-metadata">

**Author:** [@Gustaf\_Ankarloo](https://forum.ansible.com/u/Gustaf_Ankarloo)\
**Replies:** 2\
**Last updated:** [March 21, 2019, 9:51am UTC](https://forum.ansible.com/t/gathering-facts-for-windows-hosts-runs-forever-never-completes/29885 "2019-03-21T09:51:08Z")

</div>

From time to time I find that some windows hosts never completes the setup task. I never quite figured out why it happens. Usually restarting the window server solves the issue but looking at the windows server I see no…

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

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