# Archives

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

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

**Page:** 150

---

## [register variable can't be used in shell module?](https://forum.ansible.com/t/register-variable-cant-be-used-in-shell-module/34476)

<div class="topic-metadata">

**Author:** [@liyo](https://forum.ansible.com/u/liyo)\
**Replies:** 10\
**Last updated:** [January 20, 2021, 8:32am UTC](https://forum.ansible.com/t/register-variable-cant-be-used-in-shell-module/34476 "2021-01-20T08:32:54Z")

</div>

when I edit a playbook test.yml:

---

## [tower-cli "Failed up update host"](https://forum.ansible.com/t/tower-cli-failed-up-update-host/34475)

<div class="topic-metadata">

**Author:** [@GoMatrix\_Hosting](https://forum.ansible.com/u/GoMatrix_Hosting)\
**Replies:** 1\
**Last updated:** [January 20, 2021, 5:24am UTC](https://forum.ansible.com/t/tower-cli-failed-up-update-host/34475 "2021-01-20T05:24:41Z")

</div>

Built AWX 15.0.1 recently instead of just installing the default image, strange bug occurred this morning with this code: - name: Install tower dep delegate\_to: 127.0.0.1 pip: name: ansible-tower-cli - name: Add new ho…

---

## [Need permissions changed of folder + files together using Ansible synchronize module](https://forum.ansible.com/t/need-permissions-changed-of-folder-files-together-using-ansible-synchronize-module/34474)

<div class="topic-metadata">

**Author:** [@Shifa\_Shaikh](https://forum.ansible.com/u/Shifa_Shaikh)\
**Replies:** 0\
**Last updated:** [January 20, 2021, 3:29am UTC](https://forum.ansible.com/t/need-permissions-changed-of-folder-files-together-using-ansible-synchronize-module/34474 "2021-01-20T03:29:34Z")

</div>

Unable to default omit when synchronize attributes are multiline in Ansible Below Ansible works fine when final\_file\_perm is defined: name: Copying from “{{ inventory\_hostname }}” to this ansible server. synchronize: …

---

## [Ansible Playbook Issue](https://forum.ansible.com/t/ansible-playbook-issue/34471)

<div class="topic-metadata">

**Author:** [@Prasath\_Sekar](https://forum.ansible.com/u/Prasath_Sekar)\
**Replies:** 1\
**Last updated:** [January 19, 2021, 7:08pm UTC](https://forum.ansible.com/t/ansible-playbook-issue/34471 "2021-01-19T19:08:22Z")

</div>

I have a ansible playbook file to create a digitalocean droplet. While running the playbook i am getting the issue “dopy \>= 0.3.2 required for this module” But I have already installed dopy 0.3.5 What would be the is…

---

## [Determine last host in host list](https://forum.ansible.com/t/determine-last-host-in-host-list/34463)

<div class="topic-metadata">

**Author:** [@mark.tovey](https://forum.ansible.com/u/mark.tovey)\
**Replies:** 5\
**Last updated:** [January 19, 2021, 5:53pm UTC](https://forum.ansible.com/t/determine-last-host-in-host-list/34463 "2021-01-19T17:53:31Z")

</div>

I need to determine how many hosts are left to be worked on in a playbook run. I have set serial to 1 in the playbook so only one host will be worked on at a time, and I have a long pause at the bottom of the playbook to…

---

## [What is the recommended way to use custom collections in AWX](https://forum.ansible.com/t/what-is-the-recommended-way-to-use-custom-collections-in-awx/34420)

<div class="topic-metadata">

**Author:** [@Stefan\_Coussens](https://forum.ansible.com/u/Stefan_Coussens)\
**Replies:** 1\
**Last updated:** [January 19, 2021, 4:26pm UTC](https://forum.ansible.com/t/what-is-the-recommended-way-to-use-custom-collections-in-awx/34420 "2021-01-19T16:26:33Z")

</div>

Hi, In my awx project I have a requirements file for my collections and this works. Unfortunately I ran into a bug in the collection. This bug is resolved in a PR and I want to test drive this branch. How can I do thi…

---

## [Accessing playbook variables in external script](https://forum.ansible.com/t/accessing-playbook-variables-in-external-script/34470)

<div class="topic-metadata">

**Author:** [@Amjad\_Saleem1](https://forum.ansible.com/u/Amjad_Saleem1)\
**Replies:** 0\
**Last updated:** [January 19, 2021, 3:34pm UTC](https://forum.ansible.com/t/accessing-playbook-variables-in-external-script/34470 "2021-01-19T15:34:14Z")

</div>

I am doing data validation of all the variables defined in ansible using a python script. How do you access ansible variables in the external python script?

---

## [Assert documentation and possibilities](https://forum.ansible.com/t/assert-documentation-and-possibilities/34469)

<div class="topic-metadata">

**Author:** [@Amjad\_Saleem1](https://forum.ansible.com/u/Amjad_Saleem1)\
**Replies:** 3\
**Last updated:** [January 19, 2021, 3:30pm UTC](https://forum.ansible.com/t/assert-documentation-and-possibilities/34469 "2021-01-19T15:30:39Z")

</div>

Sorry for newbie question but I cannot find any information on what can be done with assert. For example, going through ansible modules in galaxy, I found that you can do something like ‘var is number’ to test that var i…

---

## [https://github.com/ansible/awx/issues/9043](https://forum.ansible.com/t/https-github-com-ansible-awx-issues-9043/34461)

<div class="topic-metadata">

**Author:** [@sangeeth\_talluri](https://forum.ansible.com/u/sangeeth_talluri)\
**Replies:** 1\
**Last updated:** [January 19, 2021, 3:13pm UTC](https://forum.ansible.com/t/https-github-com-ansible-awx-issues-9043/34461 "2021-01-19T15:13:20Z")

</div>

any possible solution for this issue. https://github.com/ansible/awx/issues/9043

---

## [Install Awx with docker](https://forum.ansible.com/t/install-awx-with-docker/34467)

<div class="topic-metadata">

**Author:** [@Baptiste\_Doublet](https://forum.ansible.com/u/Baptiste_Doublet)\
**Replies:** 0\
**Last updated:** [January 19, 2021, 2:09am UTC](https://forum.ansible.com/t/install-awx-with-docker/34467 "2021-01-19T02:09:58Z")

</div>

Hi, I setup awx with docker-compose (GitHub - fitbeard/awx-without-k8s: AWX clustering using Ansible and Docker). I tried also the official repo GitHub - ansible/awx: AWX provides a web-based user interface, REST API, …

---

## [New release: ansible-base 2.10.5](https://forum.ansible.com/t/new-release-ansible-base-2-10-5/34466)

<div class="topic-metadata">

**Author:** [@relrod](https://forum.ansible.com/u/relrod)\
**Replies:** 0\
**Last updated:** [January 19, 2021, 12:42am UTC](https://forum.ansible.com/t/new-release-ansible-base-2-10-5/34466 "2021-01-19T00:42:32Z")

</div>

Hi all- we're happy to announce that the general release of ansible-base 2.10.5 is now available! How to get it

---

## [New Ansible release 2.9.17](https://forum.ansible.com/t/new-ansible-release-2-9-17/34465)

<div class="topic-metadata">

**Author:** [@relrod](https://forum.ansible.com/u/relrod)\
**Replies:** 0\
**Last updated:** [January 19, 2021, 12:39am UTC](https://forum.ansible.com/t/new-ansible-release-2-9-17/34465 "2021-01-19T00:39:24Z")

</div>

Hi all- we're happy to announce that the general release of Ansible 2.9.17 is now available! How do you get it?

---

## [Ansible copy module does not preserve permissions of directories but only files](https://forum.ansible.com/t/ansible-copy-module-does-not-preserve-permissions-of-directories-but-only-files/34455)

<div class="topic-metadata">

**Author:** [@Shifa\_Shaikh](https://forum.ansible.com/u/Shifa_Shaikh)\
**Replies:** 4\
**Last updated:** [January 18, 2021, 5:40pm UTC](https://forum.ansible.com/t/ansible-copy-module-does-not-preserve-permissions-of-directories-but-only-files/34455 "2021-01-18T17:40:23Z")

</div>

The actual folder had 777 permissions as seen below: drwxrwxrwx 3 destuser destuser 29 Jan 14 08:40 /tmp/mohtas/folder I took the backup using the below playbook and wanted to preserve the permissions i.e 777 for the…

---

## [Ansible scripts run as expected from cli, not from AWX](https://forum.ansible.com/t/ansible-scripts-run-as-expected-from-cli-not-from-awx/34460)

<div class="topic-metadata">

**Author:** [@chr00ted](https://forum.ansible.com/u/chr00ted)\
**Replies:** 0\
**Last updated:** [January 18, 2021, 4:09pm UTC](https://forum.ansible.com/t/ansible-scripts-run-as-expected-from-cli-not-from-awx/34460 "2021-01-18T16:09:55Z")

</div>

I’ve been using ansible for awhile now and love it. I just installed AWX to try to let some of my junior admins access to ansible through AWX web interface. I’ve never used AWX previously as ansible has been easy for me.…

---

## [Ansible scripts run as expected from cli, not from AWX](https://forum.ansible.com/t/ansible-scripts-run-as-expected-from-cli-not-from-awx/34457)

<div class="topic-metadata">

**Author:** [@chr00ted](https://forum.ansible.com/u/chr00ted)\
**Replies:** 2\
**Last updated:** [January 18, 2021, 4:07pm UTC](https://forum.ansible.com/t/ansible-scripts-run-as-expected-from-cli-not-from-awx/34457 "2021-01-18T16:07:44Z")

</div>

I’ve been using ansible for awhile now and love it. I just installed AWX to try to let some of my junior admins access to ansible through AWX web interface. I’ve never used AWX previously as ansible has been easy for me.…

---

## [Menu icons are not visible after installation](https://forum.ansible.com/t/menu-icons-are-not-visible-after-installation/34454)

<div class="topic-metadata">

**Author:** [@Oliver\_Schiinke](https://forum.ansible.com/u/Oliver_Schiinke)\
**Replies:** 1\
**Last updated:** [January 18, 2021, 2:17pm UTC](https://forum.ansible.com/t/menu-icons-are-not-visible-after-installation/34454 "2021-01-18T14:17:30Z")

</div>

For some unknown reason, (al least for me), all small icons on the left menu are not visible after the installation. Anyone have some idea how to fix it? , Thanks,

---

## [Notification to Cisco Webex from AWX](https://forum.ansible.com/t/notification-to-cisco-webex-from-awx/34458)

<div class="topic-metadata">

**Author:** [@hashim\_vayalar](https://forum.ansible.com/u/hashim_vayalar)\
**Replies:** 0\
**Last updated:** [January 18, 2021, 1:48pm UTC](https://forum.ansible.com/t/notification-to-cisco-webex-from-awx/34458 "2021-01-18T13:48:25Z")

</div>

Hey, Anyone implemented cisco webex notifications in AWX. Any help will be much appreciated. I tried web-hook it is not working for me. Regards, Hashim

---

## [Need Help to configure LDAP Authentication for AWX](https://forum.ansible.com/t/need-help-to-configure-ldap-authentication-for-awx/34450)

<div class="topic-metadata">

**Author:** [@anish\_anil](https://forum.ansible.com/u/anish_anil)\
**Replies:** 3\
**Last updated:** [January 18, 2021, 8:45am UTC](https://forum.ansible.com/t/need-help-to-configure-ldap-authentication-for-awx/34450 "2021-01-18T08:45:10Z")

</div>

Hello AWX Team, I need some help in setting up the LDAP for AWX. Is there someone who has been able to successfully integrate LDAP Active Directory wth AWX. What Exactly needs to go into this field. Is there an exampl…

---

## [AWX on ECS](https://forum.ansible.com/t/awx-on-ecs/34453)

<div class="topic-metadata">

**Author:** [@Angel\_Rengifo\_Cancin](https://forum.ansible.com/u/Angel_Rengifo_Cancin)\
**Replies:** 0\
**Last updated:** [January 17, 2021, 9:51pm UTC](https://forum.ansible.com/t/awx-on-ecs/34453 "2021-01-17T21:51:52Z")

</div>

Hello guys: Are any of you already running a recent AWX version on Amazon ECS? I was wondering if anyone with this kind of experience might share some ideas of how you get that done. One of my main questions is if you …

---

## [How do I edit edit Job\_metadata in Notification](https://forum.ansible.com/t/how-do-i-edit-edit-job-metadata-in-notification/34452)

<div class="topic-metadata">

**Author:** [@Naveen\_Kumar](https://forum.ansible.com/u/Naveen_Kumar)\
**Replies:** 1\
**Last updated:** [January 16, 2021, 5:55pm UTC](https://forum.ansible.com/t/how-do-i-edit-edit-job-metadata-in-notification/34452 "2021-01-16T17:55:23Z")

</div>

Hi, I need to manage job\_metadata in my own way, need to remove some extra parameters which are not helpful for us. Please help how to modify job\_metadata. Thanks

---

## [Run ansible on windows host from within the docker container kerberos issues)](https://forum.ansible.com/t/run-ansible-on-windows-host-from-within-the-docker-container-kerberos-issues/34445)

<div class="topic-metadata">

**Author:** [@daemenseth](https://forum.ansible.com/u/daemenseth)\
**Replies:** 2\
**Last updated:** [January 16, 2021, 3:27pm UTC](https://forum.ansible.com/t/run-ansible-on-windows-host-from-within-the-docker-container-kerberos-issues/34445 "2021-01-16T15:27:58Z")

</div>

We use awx in a docker container. Sometimes it would be easier to run ansible command line command from within the docker container. But then it says “msg”: “winrm or requests is not installed: No module named ‘winrm’…

---

## [How do I install older version of AWX?](https://forum.ansible.com/t/how-do-i-install-older-version-of-awx/34451)

<div class="topic-metadata">

**Author:** [@ME\_Trembly](https://forum.ansible.com/u/ME_Trembly)\
**Replies:** 4\
**Last updated:** [January 15, 2021, 10:05pm UTC](https://forum.ansible.com/t/how-do-i-install-older-version-of-awx/34451 "2021-01-15T22:05:38Z")

</div>

I installed AWX 16.0.0 but it lacks the ability to adit the LDAP settings so I cannot enable LDAP authentication. Can someone provides instructions for installing older versions of AWX? Thanks in advance for any respons…

---

## [Changes required for Ansible playbook to use custom AWX docker image](https://forum.ansible.com/t/changes-required-for-ansible-playbook-to-use-custom-awx-docker-image/34396)

<div class="topic-metadata">

**Author:** [@Cnu\_k](https://forum.ansible.com/u/Cnu_k)\
**Replies:** 2\
**Last updated:** [January 15, 2021, 9:46pm UTC](https://forum.ansible.com/t/changes-required-for-ansible-playbook-to-use-custom-awx-docker-image/34396 "2021-01-15T21:46:16Z")

</div>

I see mention of docker\_registry\_repository to pull and push images to docker or other private registry, but don’t see any information on how to pull AWX images from a private registry other than public docker hub regist…

---

## [Unable to gather virtual machines configuration information from KVM hypervisor](https://forum.ansible.com/t/unable-to-gather-virtual-machines-configuration-information-from-kvm-hypervisor/34449)

<div class="topic-metadata">

**Author:** [@Jayan\_Anirudhan](https://forum.ansible.com/u/Jayan_Anirudhan)\
**Replies:** 5\
**Last updated:** [January 15, 2021, 3:09pm UTC](https://forum.ansible.com/t/unable-to-gather-virtual-machines-configuration-information-from-kvm-hypervisor/34449 "2021-01-15T15:09:19Z")

</div>

Hi Team, I am trying to gather the entire configuration details of the virtual machine from KVM hypervisor and created a playbook as mentioned. Play book execution ends up with below mentioned error. I would highly appr…

---

## [Dynamic File/ Template populate.](https://forum.ansible.com/t/dynamic-file-template-populate/34437)

<div class="topic-metadata">

**Author:** [@ursa\_Brown](https://forum.ansible.com/u/ursa_Brown)\
**Replies:** 12\
**Last updated:** [January 15, 2021, 1:05pm UTC](https://forum.ansible.com/t/dynamic-file-template-populate/34437 "2021-01-15T13:05:21Z")

</div>

---

## [redis error when trying to install awx docker containers on mac https://github.com/ansible/awx](https://forum.ansible.com/t/redis-error-when-trying-to-install-awx-docker-containers-on-mac-https-github-com-ansible-awx/34448)

<div class="topic-metadata">

**Author:** [@Darien\_Buchanan](https://forum.ansible.com/u/Darien_Buchanan)\
**Replies:** 0\
**Last updated:** [January 15, 2021, 12:10pm UTC](https://forum.ansible.com/t/redis-error-when-trying-to-install-awx-docker-containers-on-mac-https-github-com-ansible-awx/34448 "2021-01-15T12:10:09Z")

</div>

Hi All, I’m new to awx and I amm trying to install awx using https://github.com/ansible/awx which installs containers. The start container task fails with “module\_stderr”: “Starting awx\_redis … \\n\\u001b\[1A\\u001b\[2K\\nSt…

---

## [AWX 9.3.0 Built Local Images Error - Unable to configure handler 'dispatcher'](https://forum.ansible.com/t/awx-9-3-0-built-local-images-error-unable-to-configure-handler-dispatcher/34441)

<div class="topic-metadata">

**Author:** [@Adrian\_Sanchez](https://forum.ansible.com/u/Adrian_Sanchez)\
**Replies:** 2\
**Last updated:** [January 15, 2021, 11:40am UTC](https://forum.ansible.com/t/awx-9-3-0-built-local-images-error-unable-to-configure-handler-dispatcher/34441 "2021-01-15T11:40:23Z")

</div>

Hi Everybody! SUMMARY After building awx\_web and awx\_tasks images locally using image\_build role, awx is not able to start showing Unable to configure handler ‘dispatcher’: \[Errno 13\] Permission denied: ‘/var/lib/awx/v…

---

## [help while running sudo in Ansible playbooks](https://forum.ansible.com/t/help-while-running-sudo-in-ansible-playbooks/34446)

<div class="topic-metadata">

**Author:** [@Ramakrishna\_V](https://forum.ansible.com/u/Ramakrishna_V)\
**Replies:** 6\
**Last updated:** [January 15, 2021, 10:45am UTC](https://forum.ansible.com/t/help-while-running-sudo-in-ansible-playbooks/34446 "2021-01-15T10:45:58Z")

</div>

Hi Ansible team, I am Ram. We need some help in running the Ansible playbook ( specifically how to add sudo while running playbooks ). in your environment, we can run all admin related commands with sudo acess ( by addi…

---

## [Ansible --become not working when “sudo with NOPASSWD” is not activated on remote machine - MODULE FAILURE](https://forum.ansible.com/t/ansible-become-not-working-when-sudo-with-nopasswd-is-not-activated-on-remote-machine-module-failure/34447)

<div class="topic-metadata">

**Author:** [@Mohit\_Dhingra](https://forum.ansible.com/u/Mohit_Dhingra)\
**Replies:** 1\
**Last updated:** [January 15, 2021, 9:06am UTC](https://forum.ansible.com/t/ansible-become-not-working-when-sudo-with-nopasswd-is-not-activated-on-remote-machine-module-failure/34447 "2021-01-15T09:06:42Z")

</div>

Hi, In remote server, normal user is having sudo access but NOPASSWD not activated. sudo su - command ask for user password. I am trying to run a command using Ansible as providing sudo password but its not working gett…

---

## [SQL Server Dynamic Database Creation using Ansible](https://forum.ansible.com/t/sql-server-dynamic-database-creation-using-ansible/34443)

<div class="topic-metadata">

**Author:** [@Praveen\_Kumar\_Singh](https://forum.ansible.com/u/Praveen_Kumar_Singh)\
**Replies:** 7\
**Last updated:** [January 15, 2021, 8:17am UTC](https://forum.ansible.com/t/sql-server-dynamic-database-creation-using-ansible/34443 "2021-01-15T08:17:39Z")

</div>

Hello All, I am trying to create a new database on sql server using the below mentioned ansible playbook. But when I am executing the playbook and in the prompt option putting the database name. It is not taking that …

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

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