# Latest

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

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

**Page:** 324

---

## [Custom Inventory Scripts in 17.0.0 showing blank screen.](https://forum.ansible.com/t/custom-inventory-scripts-in-17-0-0-showing-blank-screen/34496)

<div class="topic-metadata">

**Author:** [@Sean\_Murphy](https://forum.ansible.com/u/Sean_Murphy)\
**Replies:** 1\
**Last updated:** [January 22, 2021, 9:53pm UTC](https://forum.ansible.com/t/custom-inventory-scripts-in-17-0-0-showing-blank-screen/34496 "2021-01-22T21:53:58Z")

</div>

I’ve recently upgraded to AWX 17, loving the new UI but not loving the fact I cant add or edit my custom inventory scripts. When I try to select it in the source drop down I see this: I’ve checked: Browser console B…

---

## [Hostvar variable index in template](https://forum.ansible.com/t/hostvar-variable-index-in-template/34492)

<div class="topic-metadata">

**Author:** [@Csoke\_Janos](https://forum.ansible.com/u/Csoke_Janos)\
**Replies:** 2\
**Last updated:** [January 22, 2021, 8:53pm UTC](https://forum.ansible.com/t/hostvar-variable-index-in-template/34492 "2021-01-22T20:53:43Z")

</div>

Hi, I have a problem and I can’t find a solutions. In my playbook, I have a host based variable called: server\_name I would like to use in a template file the IP address of the server which hostname’s is stored in the…

---

## [ServiceNow integration and /api/v2/authtoken/ endpoint in AWX](https://forum.ansible.com/t/servicenow-integration-and-api-v2-authtoken-endpoint-in-awx/34490)

<div class="topic-metadata">

**Author:** [@iamroddo](https://forum.ansible.com/u/iamroddo)\
**Replies:** 1\
**Last updated:** [January 22, 2021, 4:05pm UTC](https://forum.ansible.com/t/servicenow-integration-and-api-v2-authtoken-endpoint-in-awx/34490 "2021-01-22T16:05:17Z")

</div>

We are struggling with the integration between ServiceNow and AWX. The ServiceNow team (developers from Accenture) are saying that they expect to be able to make calls to an API endpoint /api/v2/authtoken/ and present ht…

---

## [CA Certificate for LDAP SSL/TLS communication](https://forum.ansible.com/t/ca-certificate-for-ldap-ssl-tls-communication/34464)

<div class="topic-metadata">

**Author:** [@Cnu\_k](https://forum.ansible.com/u/Cnu_k)\
**Replies:** 2\
**Last updated:** [January 21, 2021, 6:55pm UTC](https://forum.ansible.com/t/ca-certificate-for-ldap-ssl-tls-communication/34464 "2021-01-21T18:55:27Z")

</div>

Hi, I am using latest AWX version(16.0.0) in Kubernetes cluster and trying to understand how I can supply our internal CA Certificate awx\_web and awx\_task containers for this work. I need to do this for configuring LDAP…

---

## [Save debug output to local file](https://forum.ansible.com/t/save-debug-output-to-local-file/34489)

<div class="topic-metadata">

**Author:** [@Ramesh\_AR](https://forum.ansible.com/u/Ramesh_AR)\
**Replies:** 2\
**Last updated:** [January 21, 2021, 6:49pm UTC](https://forum.ansible.com/t/save-debug-output-to-local-file/34489 "2021-01-21T18:49:32Z")

</div>

Folks, I’m trying to copy the debug output to a local file for next task. My host inventory has 2 hosts and I see the local file has only one host output. is something missing in playbook ? if I have 10 hosts how to g…

---

## [Custom Root CA Certificate issue for AWX LDAP connectivity](https://forum.ansible.com/t/custom-root-ca-certificate-issue-for-awx-ldap-connectivity/34481)

<div class="topic-metadata">

**Author:** [@Cnu\_k](https://forum.ansible.com/u/Cnu_k)\
**Replies:** 4\
**Last updated:** [January 21, 2021, 4:40pm UTC](https://forum.ansible.com/t/custom-root-ca-certificate-issue-for-awx-ldap-connectivity/34481 "2021-01-21T16:40:11Z")

</div>

Hi, We have deployed latest AWX version(16.0.0) containers in Kubernetes environment and used API settings to configure LDAP configuration but getting following error when we try to login to AWX using LDAP credentials. …

---

## [How to handle multi-host roles?](https://forum.ansible.com/t/how-to-handle-multi-host-roles/34484)

<div class="topic-metadata">

**Author:** [@Richard\_Megginson](https://forum.ansible.com/u/Richard_Megginson)\
**Replies:** 8\
**Last updated:** [January 21, 2021, 3:18pm UTC](https://forum.ansible.com/t/how-to-handle-multi-host-roles/34484 "2021-01-21T15:18:54Z")

</div>

I am unfamiliar with how administrators structure their inventories and playbooks with respect to roles that run against multiple hosts as a group. We have two new system roles - vpn https://github.com/linux-system-role…

---

## [Python invocation from Ansible](https://forum.ansible.com/t/python-invocation-from-ansible/34487)

<div class="topic-metadata">

**Author:** [@Heman\_Malve](https://forum.ansible.com/u/Heman_Malve)\
**Replies:** 3\
**Last updated:** [January 21, 2021, 2:02pm UTC](https://forum.ansible.com/t/python-invocation-from-ansible/34487 "2021-01-21T14:02:41Z")

</div>

Hi Team, One of the file contains list of servers(centralized server) and related to Dev environment . Requirement is that connect each and every server remotely , execute stop command(s )of respective services and do …

---

## [local\_docker : Run migrations in task container](https://forum.ansible.com/t/local-docker-run-migrations-in-task-container/34488)

<div class="topic-metadata">

**Author:** [@Yan](https://forum.ansible.com/u/Yan)\
**Replies:** 0\
**Last updated:** [January 21, 2021, 10:25am UTC](https://forum.ansible.com/t/local-docker-run-migrations-in-task-container/34488 "2021-01-21T10:25:46Z")

</div>

Hello, I’ve got this error for the task mentioned in subject of this conversation: TASK \[local\_docker : Run migrations in task container\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [awx-cli, can't assign user to team](https://forum.ansible.com/t/awx-cli-cant-assign-user-to-team/34486)

<div class="topic-metadata">

**Author:** [@GoMatrix\_Hosting](https://forum.ansible.com/u/GoMatrix_Hosting)\
**Replies:** 0\
**Last updated:** [January 21, 2021, 8:23am UTC](https://forum.ansible.com/t/awx-cli-cant-assign-user-to-team/34486 "2021-01-21T08:23:55Z")

</div>

Trying to assign a user to a team on AWX 15.0.1 using awx-cli/tower-cli, but it doesn’t seem to be able to find the requested objects: https://manpages.debian.org/testing/ansible-tower-cli/tower\_cli.1.en.html#Organizati…

---

## [how to get the host in groups children?](https://forum.ansible.com/t/how-to-get-the-host-in-groups-children/34485)

<div class="topic-metadata">

**Author:** [@liyo](https://forum.ansible.com/u/liyo)\
**Replies:** 1\
**Last updated:** [January 21, 2021, 7:37am UTC](https://forum.ansible.com/t/how-to-get-the-host-in-groups-children/34485 "2021-01-21T07:37:11Z")

</div>

my inventroy file is below: \[master\] 172.24.64.44 172.24.64.42 172.24.64.43 \[worker\] 172.24.64.46 \[cluster:children\] master worker I want to exec the playbook in \[cluster:children\]'s master 172.24.64.44,want to…

---

## [RabbitMQ version 3.8 - x-single-active-consumer - ansible parameter](https://forum.ansible.com/t/rabbitmq-version-3-8-x-single-active-consumer-ansible-parameter/34483)

<div class="topic-metadata">

**Author:** [@kire\_e](https://forum.ansible.com/u/kire_e)\
**Replies:** 0\
**Last updated:** [January 20, 2021, 9:16pm UTC](https://forum.ansible.com/t/rabbitmq-version-3-8-x-single-active-consumer-ansible-parameter/34483 "2021-01-20T21:16:30Z")

</div>

Hi Team, I need help to add x-single-active-consumer via ansible. I am running this through awx tower yml - playbook. but no luck in creating SAC (single-active-consumer) via automation tool Thank you

---

## [Process/Governance](https://forum.ansible.com/t/process-governance/34477)

<div class="topic-metadata">

**Author:** [@Keith\_Mills](https://forum.ansible.com/u/Keith_Mills)\
**Replies:** 3\
**Last updated:** [January 20, 2021, 7:31pm UTC](https://forum.ansible.com/t/process-governance/34477 "2021-01-20T19:31:29Z")

</div>

Hello All, Would someone please explain Ansible process/governance around playbooks. Thanks

---

## [How to configure the existing AWX setup to https](https://forum.ansible.com/t/how-to-configure-the-existing-awx-setup-to-https/34480)

<div class="topic-metadata">

**Author:** [@anish\_anil](https://forum.ansible.com/u/anish_anil)\
**Replies:** 0\
**Last updated:** [January 20, 2021, 4:51pm UTC](https://forum.ansible.com/t/how-to-configure-the-existing-awx-setup-to-https/34480 "2021-01-20T16:51:55Z")

</div>

Hello AWX, We have currently setup AWX in http mode. However the requirement is to configure it in https mode. I saw some amount of documentation while googling but they didn’t seem very relevant. Is there any specif…

---

## [AWX fails to sync git projects and Job output is unavailable](https://forum.ansible.com/t/awx-fails-to-sync-git-projects-and-job-output-is-unavailable/34479)

<div class="topic-metadata">

**Author:** [@Infinite\_Trojan](https://forum.ansible.com/u/Infinite_Trojan)\
**Replies:** 0\
**Last updated:** [January 20, 2021, 4:32pm UTC](https://forum.ansible.com/t/awx-fails-to-sync-git-projects-and-job-output-is-unavailable/34479 "2021-01-20T16:32:24Z")

</div>

Hello fellas, cloning/Syncing project from git. When I execute this from UI PROJECT the Job-status fails with “No Route to host error”,but I see all my playbooks/roles and collections are available/getting updated in /…

---

## [TASK \[archive the files\] fatal: : FAILED! =\> {"msg": "'dict object' has no attribute 'files'"}](https://forum.ansible.com/t/task-archive-the-files-fatal-failed-msg-dict-object-has-no-attribute-files/34478)

<div class="topic-metadata">

**Author:** [@Nithin\_Subbaraj](https://forum.ansible.com/u/Nithin_Subbaraj)\
**Replies:** 2\
**Last updated:** [January 20, 2021, 4:11pm UTC](https://forum.ansible.com/t/task-archive-the-files-fatal-failed-msg-dict-object-has-no-attribute-files/34478 "2021-01-20T16:11:21Z")

</div>

Hi Team, I am trying to create an ansible script which excludes a particular directory and its contents and should zip the files under other directories but getting the below error TASK \[archive the files\] fatal: : FA…

---

## [very simple ad-hoc command returning an error](https://forum.ansible.com/t/very-simple-ad-hoc-command-returning-an-error/34473)

<div class="topic-metadata">

**Author:** [@Oliver\_Schiinke](https://forum.ansible.com/u/Oliver_Schiinke)\
**Replies:** 2\
**Last updated:** [January 20, 2021, 1:16pm UTC](https://forum.ansible.com/t/very-simple-ad-hoc-command-returning-an-error/34473 "2021-01-20T13:16:08Z")

</div>

Hello, I’m trying to run this ad-hoc command to install ntp package in a specific server: ansible db -b -m yum -a “name=ntp state=present” But I’m getting this error: FAILED! =\> { “ansible\_facts”: { “discovered\_in…

---

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

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

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