# Archives

**URL:** https://forum.ansible.com/c/archives/31.md?page=302

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

**Page:** 303

---

## [Ansible inventory organization](https://forum.ansible.com/t/ansible-inventory-organization/29974)

<div class="topic-metadata">

**Author:** [@Sascha\_Andres](https://forum.ansible.com/u/Sascha_Andres)\
**Replies:** 5\
**Last updated:** [March 25, 2019, 12:52pm UTC](https://forum.ansible.com/t/ansible-inventory-organization/29974 "2019-03-25T12:52:40Z")

</div>

Hi, I have servers that are organized into environment (such as staging, production, test, etc.) and into function (www, db, etc) My idea was to have a group ‘production’ with a list of servers, and a group www with a …

---

## [Ansible synchronize database sql](https://forum.ansible.com/t/ansible-synchronize-database-sql/29955)

<div class="topic-metadata">

**Author:** [@ryad9200000](https://forum.ansible.com/u/ryad9200000)\
**Replies:** 3\
**Last updated:** [March 25, 2019, 8:30am UTC](https://forum.ansible.com/t/ansible-synchronize-database-sql/29955 "2019-03-25T08:30:25Z")

</div>

Hi all, " Data synchronization can be resumed by right-clicking on the database and choosing “Resume data movement …”. " I want know if in ansible its possible to realize the same thing as on the image. That is to …

---

## [This topic needs a title](https://forum.ansible.com/t/this-topic-needs-a-title/29967)

<div class="topic-metadata">

**Author:** [@The\_Vandyy\_Vines](https://forum.ansible.com/u/The_Vandyy_Vines)\
**Replies:** 2\
**Last updated:** [March 25, 2019, 6:06am UTC](https://forum.ansible.com/t/this-topic-needs-a-title/29967 "2019-03-25T06:06:39Z")

</div>

Hello , I have standalone AWX version 1.0.6 installed manually. If left for few days without any tasks running i can see tat the jobs are going in pending . Even after AWX services restarts it fails. As a work around…

---

## [Unable to negotiate with 10.192.1.5 port 22: no matching cipher found. Their offer: aes128-cbc,3des-cbc,aes192-cbc,aes256-cbc](https://forum.ansible.com/t/unable-to-negotiate-with-10-192-1-5-port-22-no-matching-cipher-found-their-offer-aes128-cbc-3des-cbc-aes192-cbc-aes256-cbc/29949)

<div class="topic-metadata">

**Author:** [@Hitesh\_Kumar](https://forum.ansible.com/u/Hitesh_Kumar)\
**Replies:** 3\
**Last updated:** [March 25, 2019, 5:17am UTC](https://forum.ansible.com/t/unable-to-negotiate-with-10-192-1-5-port-22-no-matching-cipher-found-their-offer-aes128-cbc-3des-cbc-aes192-cbc-aes256-cbc/29949 "2019-03-25T05:17:43Z")

</div>

I am trying to connect switches in my network using ansible play book, but not able to connect it to my network switches When I am running a command: hiteshkumar@INPNBXXX:/mnt/c/Users/hitesh.kumar$ sudo ansible-playboo…

---

## [Installing Office 2016 through Ansible?](https://forum.ansible.com/t/installing-office-2016-through-ansible/29964)

<div class="topic-metadata">

**Author:** [@Tuyen\_Nguyen](https://forum.ansible.com/u/Tuyen_Nguyen)\
**Replies:** 3\
**Last updated:** [March 25, 2019, 3:54am UTC](https://forum.ansible.com/t/installing-office-2016-through-ansible/29964 "2019-03-25T03:54:38Z")

</div>

Hi I created a playbook to install Office 2016 which I think should work. I had it run setup.exe /adminfile \<unattended.msp file\> – the unattended.msp file I created by running setup.exe /setup and setting it to install…

---

## [replace module regexp with newline character](https://forum.ansible.com/t/replace-module-regexp-with-newline-character/29940)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 13\
**Last updated:** [March 24, 2019, 8:35pm UTC](https://forum.ansible.com/t/replace-module-regexp-with-newline-character/29940 "2019-03-24T20:35:06Z")

</div>

I need to use replace to find a regexp that includes \\n; however, I keep getting an error. How can I properly do this (don’t even know if I am using back reference correct either, but if I can get past this error I think…

---

## [dpkg\_divert module](https://forum.ansible.com/t/dpkg-divert-module/29968)

<div class="topic-metadata">

**Author:** [@Klaus\_Ethgen](https://forum.ansible.com/u/Klaus_Ethgen)\
**Replies:** 0\
**Last updated:** [March 24, 2019, 6:39pm UTC](https://forum.ansible.com/t/dpkg-divert-module/29968 "2019-03-24T18:39:31Z")

</div>

Hi folks, as debian needs more and more diversions from there idea of where files should be, I created a dpkg\_divert module to address that from ansible. I'd like to give that to other ansible folks but I am not sure …

---

## [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…

[Previous page](https://forum.ansible.com/c/archives/31.md?page=301)

[Next page](https://forum.ansible.com/c/archives/31.md?page=303)
