# AWX Project

**URL:** https://forum.ansible.com/c/archives/awx-project/28.md?page=82

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

**Page:** 83

---

## [LDAP authentication issues](https://forum.ansible.com/t/ldap-authentication-issues/28973)

<div class="topic-metadata">

**Author:** [@iamroddo](https://forum.ansible.com/u/iamroddo)\
**Replies:** 2\
**Last updated:** [November 10, 2018, 6:23am UTC](https://forum.ansible.com/t/ldap-authentication-issues/28973 "2018-11-10T06:23:12Z")

</div>

I am having issues integration with LDAP/AD. LDAP bind functions. When I don’t specify “LDAP Require Group” I can authenticate a user against LDAP/AD. So I assume that my user search/DN template settings are correct. I s…

---

## [Cacheable for facts](https://forum.ansible.com/t/cacheable-for-facts/28982)

<div class="topic-metadata">

**Author:** [@Kosala\_Atapattu1](https://forum.ansible.com/u/Kosala_Atapattu1)\
**Replies:** 0\
**Last updated:** [November 8, 2018, 9:21pm UTC](https://forum.ansible.com/t/cacheable-for-facts/28982 "2018-11-08T21:21:41Z")

</div>

All, Cacheable option for the set\_facts module, is it working only in AWX environments? Ansible CLI is ignoring it. Cheers,

---

## [AWX user permission to use dns.resolve?](https://forum.ansible.com/t/awx-user-permission-to-use-dns-resolve/28979)

<div class="topic-metadata">

**Author:** [@Marc\_Herren](https://forum.ansible.com/u/Marc_Herren)\
**Replies:** 0\
**Last updated:** [November 8, 2018, 3:33pm UTC](https://forum.ansible.com/t/awx-user-permission-to-use-dns-resolve/28979 "2018-11-08T15:33:36Z")

</div>

Hi there, I have to following strange problem. User A has the execute permission on a template, but it seems to fail during dns.resolv \` { “msg”: “An unhandled exception occurred while running the lookup plugin ‘dig…

---

## [Inventories in "Pending Delete" state](https://forum.ansible.com/t/inventories-in-pending-delete-state/28976)

<div class="topic-metadata">

**Author:** [@creisor](https://forum.ansible.com/u/creisor)\
**Replies:** 1\
**Last updated:** [November 8, 2018, 1:06pm UTC](https://forum.ansible.com/t/inventories-in-pending-delete-state/28976 "2018-11-08T13:06:30Z")

</div>

AWX version: 1.0.6.23 Ansible version: 2.6.0 Clustering is enabled with 3 instances. I have several inventories whose state in the GUI is “PENDING DELETE” and have been so for weeks (or months). These can also be see…

---

## ["Your credentials aren't allowed" issue with Azure AD authentication](https://forum.ansible.com/t/your-credentials-arent-allowed-issue-with-azure-ad-authentication/27196)

<div class="topic-metadata">

**Author:** [@Alex\_Pilon](https://forum.ansible.com/u/Alex_Pilon)\
**Replies:** 3\
**Last updated:** [November 8, 2018, 12:11pm UTC](https://forum.ansible.com/t/your-credentials-arent-allowed-issue-with-azure-ad-authentication/27196 "2018-11-08T12:11:43Z")

</div>

Hello, I’m having issues with the Azure AD authentication / usage in AWX. Just installed and configured AWX, I can login fine with the built-in admin account. I went into Azure AD, created my App Registration, gave th…

---

## [Ansible AWX & Tower Workflow Inventory](https://forum.ansible.com/t/ansible-awx-tower-workflow-inventory/28971)

<div class="topic-metadata">

**Author:** [@matt.wells](https://forum.ansible.com/u/matt.wells)\
**Replies:** 0\
**Last updated:** [November 7, 2018, 7:48pm UTC](https://forum.ansible.com/t/ansible-awx-tower-workflow-inventory/28971 "2018-11-07T19:48:55Z")

</div>

Good day everyone. I have a question on Tower and Template Workflows. I’m trying to find how to more or less override the inventory in a role that’s in a workflow. I know there’s the Feature 169 but I wondered as others…

---

## [awx\_task\_hostname option in inventory file https://github.com/ansible/awx/blob/049d642df8ea6d593448d](https://forum.ansible.com/t/awx-task-hostname-option-in-inventory-file-https-github-com-ansible-awx-blob-049d642df8ea6d593448d/28949)

<div class="topic-metadata">

**Author:** [@vbhanu178](https://forum.ansible.com/u/vbhanu178)\
**Replies:** 3\
**Last updated:** [November 7, 2018, 1:32am UTC](https://forum.ansible.com/t/awx-task-hostname-option-in-inventory-file-https-github-com-ansible-awx-blob-049d642df8ea6d593448d/28949 "2018-11-07T01:32:18Z")

</div>

I have replaced “awx\_task\_hostname=awx” to “awx\_task\_hostname=myhostname” in the inventory file and performed installation. Now I can see myhostname in “Instance Groups” under “tower”, but when I try to launch job templa…

---

## [Error in AWX -- import pymssql\\ImportError: No module named pymssql](https://forum.ansible.com/t/error-in-awx-import-pymssql-importerror-no-module-named-pymssql/28962)

<div class="topic-metadata">

**Author:** [@Robson\_Gomes](https://forum.ansible.com/u/Robson_Gomes)\
**Replies:** 4\
**Last updated:** [November 7, 2018, 1:18am UTC](https://forum.ansible.com/t/error-in-awx-import-pymssql-importerror-no-module-named-pymssql/28962 "2018-11-07T01:18:07Z")

</div>

In AWX when trying to run a playbook that locally runs a python script the following error appears: import pymssql\\ImportError: No module named pymssql however, via the command line the playbook works normally. the py…

---

## [Trying to figure out how to import an inventory with vaulted variables from a Git Repo](https://forum.ansible.com/t/trying-to-figure-out-how-to-import-an-inventory-with-vaulted-variables-from-a-git-repo/28961)

<div class="topic-metadata">

**Author:** [@Michael\_T\_Wiley](https://forum.ansible.com/u/Michael_T_Wiley)\
**Replies:** 0\
**Last updated:** [November 6, 2018, 9:46pm UTC](https://forum.ansible.com/t/trying-to-figure-out-how-to-import-an-inventory-with-vaulted-variables-from-a-git-repo/28961 "2018-11-06T21:46:05Z")

</div>

Folder currently looks like this and works just find with ansible via command line (Provided that you either use --ask-vault-pass or supply the vault password some other way) . ├── README.md ├── group\_vars │ ├── all …

---

## [tower\_cli modify](https://forum.ansible.com/t/tower-cli-modify/28933)

<div class="topic-metadata">

**Author:** [@Kash](https://forum.ansible.com/u/Kash)\
**Replies:** 2\
**Last updated:** [November 6, 2018, 6:17pm UTC](https://forum.ansible.com/t/tower-cli-modify/28933 "2018-11-06T18:17:26Z")

</div>

Hi, Looking for pointers on how to use the tower\_cli modify rest api command. I am able to list, create and delete users in a python script but not able to modify existing one. Thanks, Kash

---

## [Bitbicket -\> Ansible Tower, script the tower-cli connection, help please](https://forum.ansible.com/t/bitbicket-ansible-tower-script-the-tower-cli-connection-help-please/28902)

<div class="topic-metadata">

**Author:** [@Ian\_Williamson](https://forum.ansible.com/u/Ian_Williamson)\
**Replies:** 1\
**Last updated:** [November 4, 2018, 9:01pm UTC](https://forum.ansible.com/t/bitbicket-ansible-tower-script-the-tower-cli-connection-help-please/28902 "2018-11-04T21:01:17Z")

</div>

Hello AWX community I am trying to CI/CD from JIRA → Bitbicket → Ansible Tower. I think the documentation on how to pipeline from Bitbicket is out of date now tower-cli uses Oauth2. Can anyone please guide me on how t…

---

## [Fact caching and shared dynamic inventory](https://forum.ansible.com/t/fact-caching-and-shared-dynamic-inventory/28934)

<div class="topic-metadata">

**Author:** [@iamroddo](https://forum.ansible.com/u/iamroddo)\
**Replies:** 1\
**Last updated:** [November 3, 2018, 2:09pm UTC](https://forum.ansible.com/t/fact-caching-and-shared-dynamic-inventory/28934 "2018-11-03T14:09:07Z")

</div>

If I understand correctly host facts are shared and cached between job runs on AWX. Would the cached facts from a dynamic inventory that is shared between jobs be available to both, or do both need to have their own cach…

---

## [Option "Overwrite Variables" in Inventory sources does not seem to work](https://forum.ansible.com/t/option-overwrite-variables-in-inventory-sources-does-not-seem-to-work/28911)

<div class="topic-metadata">

**Author:** [@BOTTE\_QUU](https://forum.ansible.com/u/BOTTE_QUU)\
**Replies:** 3\
**Last updated:** [November 2, 2018, 8:47am UTC](https://forum.ansible.com/t/option-overwrite-variables-in-inventory-sources-does-not-seem-to-work/28911 "2018-11-02T08:47:52Z")

</div>

Hi, I’m using AWX 2.0.1. I created an inventory with a source from Red Hat Satellite 6. It works. All the hosts are correctly created with a lot of variables. My problem is that when I manually add variables in a host…

---

## [AWX 2.1.0](https://forum.ansible.com/t/awx-2-1-0/28921)

<div class="topic-metadata">

**Author:** [@Shane\_McDonald](https://forum.ansible.com/u/Shane_McDonald)\
**Replies:** 0\
**Last updated:** [November 1, 2018, 4:19pm UTC](https://forum.ansible.com/t/awx-2-1-0/28921 "2018-11-01T16:19:44Z")

</div>

Hi all, A few moments ago we released AWX 2.1.0. In addition to a few bug fixes, there are a couple other notable changes in this release: Added job distribution that uses job slices to distribute large playbook runs …

---

## [Can we do group to organization mapping when using Azure AD?](https://forum.ansible.com/t/can-we-do-group-to-organization-mapping-when-using-azure-ad/27603)

<div class="topic-metadata">

**Author:** [@Eric\_Chong](https://forum.ansible.com/u/Eric_Chong)\
**Replies:** 4\
**Last updated:** [November 1, 2018, 3:23pm UTC](https://forum.ansible.com/t/can-we-do-group-to-organization-mapping-when-using-azure-ad/27603 "2018-11-01T15:23:09Z")

</div>

Is it possible to have group to organization mapping when authenticating through Azure AD? There is an option to do that when doing LDAP authentication. I wonder if we can do the same with Azure AD. Thanks

---

## [shell with delegate\_to not working in AWX](https://forum.ansible.com/t/shell-with-delegate-to-not-working-in-awx/28917)

<div class="topic-metadata">

**Author:** [@SS1](https://forum.ansible.com/u/SS1)\
**Replies:** 1\
**Last updated:** [November 1, 2018, 9:04am UTC](https://forum.ansible.com/t/shell-with-delegate-to-not-working-in-awx/28917 "2018-11-01T09:04:20Z")

</div>

AWX 1.0.6.8, Ansible 2.5.4 I have a playbook to check the system params and at the end want to insert it to oracle DB. I am using sqlplus with shell module, I am not allowed to install cx\_oracle module name: Create s…

---

## [UI Template Filters](https://forum.ansible.com/t/ui-template-filters/28876)

<div class="topic-metadata">

**Author:** [@Fedor\_Sumkin](https://forum.ansible.com/u/Fedor_Sumkin)\
**Replies:** 1\
**Last updated:** [November 1, 2018, 7:48am UTC](https://forum.ansible.com/t/ui-template-filters/28876 "2018-11-01T07:48:02Z")

</div>

Is it possible to filter templates based on the exact type of template? E.g. Job Template/Workflow Job Template. I’ve tried using workflow\_job\_template, type:workflow\_job\_template but this filters don’t show workflow j…

---

## [Dynamic lists for a Tower Survey](https://forum.ansible.com/t/dynamic-lists-for-a-tower-survey/28167)

<div class="topic-metadata">

**Author:** [@Albert\_Short](https://forum.ansible.com/u/Albert_Short)\
**Replies:** 6\
**Last updated:** [October 31, 2018, 5:08pm UTC](https://forum.ansible.com/t/dynamic-lists-for-a-tower-survey/28167 "2018-10-31T17:08:16Z")

</div>

Is there any way I get a dynamic list created for a Tower survey? I have found a hack - Quick dynamic options hack by ooasis · Pull Request #1408 · ansible/awx · GitHub but this would need me to get a webserver up & run…

---

## [Changing Inventory source numbers](https://forum.ansible.com/t/changing-inventory-source-numbers/28910)

<div class="topic-metadata">

**Author:** [@Josh\_B](https://forum.ansible.com/u/Josh_B)\
**Replies:** 2\
**Last updated:** [October 31, 2018, 2:12pm UTC](https://forum.ansible.com/t/changing-inventory-source-numbers/28910 "2018-10-31T14:12:04Z")

</div>

Hello everyone!! I am working on deploying code from an AWX Dev server to a prod server. One issue I have seen is the inventory numbers don’t match from server to server. Meaning if I add a new region in DEV its not goi…

---

## [Custom credential injectors](https://forum.ansible.com/t/custom-credential-injectors/28879)

<div class="topic-metadata">

**Author:** [@thatsatechnique](https://forum.ansible.com/u/thatsatechnique)\
**Replies:** 3\
**Last updated:** [October 30, 2018, 11:48pm UTC](https://forum.ansible.com/t/custom-credential-injectors/28879 "2018-10-30T23:48:00Z")

</div>

I am having a heck of a time getting a custom credential to ‘inject’ a variable into a playbook. Let’s take an example… fields: secret: true type: string id: slack\_token label: slack\_token secret: false type: …

---

## [AWX as endpoint](https://forum.ansible.com/t/awx-as-endpoint/28894)

<div class="topic-metadata">

**Author:** [@The\_Vandyy\_Vines](https://forum.ansible.com/u/The_Vandyy_Vines)\
**Replies:** 1\
**Last updated:** [October 30, 2018, 3:49pm UTC](https://forum.ansible.com/t/awx-as-endpoint/28894 "2018-10-30T15:49:20Z")

</div>

I need to make AWX ready to be able to receive any XML requests from any other webservices so that the manual tasks can be requested remotely. Present version for AWX: awx-1.0.2.0-3 Ansible 2.5.5 Thanks for help in ad…

---

## [Upgrading from 1.0.6.11 to 2.0 using tower-cli](https://forum.ansible.com/t/upgrading-from-1-0-6-11-to-2-0-using-tower-cli/28852)

<div class="topic-metadata">

**Author:** [@nrk](https://forum.ansible.com/u/nrk)\
**Replies:** 3\
**Last updated:** [October 26, 2018, 7:42pm UTC](https://forum.ansible.com/t/upgrading-from-1-0-6-11-to-2-0-using-tower-cli/28852 "2018-10-26T19:42:26Z")

</div>

Hi all, We are testing the upgrade procedure using the tower-cli. We followed the steps listed below: Setup a new instance of AWX pointing to a new database Create an export from our production instance Import the ass…

---

## [Install old version of AWX](https://forum.ansible.com/t/install-old-version-of-awx/28871)

<div class="topic-metadata">

**Author:** [@Larry\_Bakun](https://forum.ansible.com/u/Larry_Bakun)\
**Replies:** 1\
**Last updated:** [October 26, 2018, 4:53pm UTC](https://forum.ansible.com/t/install-old-version-of-awx/28871 "2018-10-26T16:53:50Z")

</div>

How can I install an old version of AWX? Our production environment is on 1.0.8.0 and dev instance is on 1.0.7.2. I’ve attempted to upgrade the dev instance to be the same as our production but got 2.0.1 instead… I have …

---

## [awx loginuser variable](https://forum.ansible.com/t/awx-loginuser-variable/28863)

<div class="topic-metadata">

**Author:** [@Me\_Mo](https://forum.ansible.com/u/Me_Mo)\
**Replies:** 2\
**Last updated:** [October 25, 2018, 2:00pm UTC](https://forum.ansible.com/t/awx-loginuser-variable/28863 "2018-10-25T14:00:21Z")

</div>

hi i want to use the user that startet the template in a playbook. is there any ansible\_variable which stored the user-id? th@nx

---

## [Error execute AWX Inventory script that connect to satellite server  to generate dynamic inventories](https://forum.ansible.com/t/error-execute-awx-inventory-script-that-connect-to-satellite-server-to-generate-dynamic-inventories/28867)

<div class="topic-metadata">

**Author:** [@Alberto\_Jimenez\_Loza](https://forum.ansible.com/u/Alberto_Jimenez_Loza)\
**Replies:** 1\
**Last updated:** [October 25, 2018, 11:08am UTC](https://forum.ansible.com/t/error-execute-awx-inventory-script-that-connect-to-satellite-server-to-generate-dynamic-inventories/28867 "2018-10-25T11:08:16Z")

</div>

I want to use this Inventory Script in AWX that connect to my satellite server to generate dynamic inventories. But when I execute update of the inventory, it appears this error. 1 1.452 INFO Updating inventory 15: In…

---

## [awx migration script](https://forum.ansible.com/t/awx-migration-script/28853)

<div class="topic-metadata">

**Author:** [@Serge\_van\_Ginderacht](https://forum.ansible.com/u/Serge_van_Ginderacht)\
**Replies:** 2\
**Last updated:** [October 23, 2018, 6:00pm UTC](https://forum.ansible.com/t/awx-migration-script/28853 "2018-10-23T18:00:43Z")

</div>

Hi, given we were stuck with a production setup on 1.8.7, we needed a way to upgrade without having all our users need to recreate a bunch of stuff like credentials, so i wrote a script that also migrates those, and as …

---

## [env lookup('env', '???') is there a way to list all the env variables?](https://forum.ansible.com/t/env-lookup-env-is-there-a-way-to-list-all-the-env-variables/28842)

<div class="topic-metadata">

**Author:** [@Louis\_Jen](https://forum.ansible.com/u/Louis_Jen)\
**Replies:** 6\
**Last updated:** [October 22, 2018, 11:48am UTC](https://forum.ansible.com/t/env-lookup-env-is-there-a-way-to-list-all-the-env-variables/28842 "2018-10-22T11:48:15Z")

</div>

Hi all, I thought if I put a command: “printenv | grep PWD” delegate\_to: localhost run\_once: ture into awx-task container playbook, I will get the env variable PWD value which is the current project path of the ans…

---

## [AWX "inventory\_file" variable](https://forum.ansible.com/t/awx-inventory-file-variable/28757)

<div class="topic-metadata">

**Author:** [@Me\_Mo](https://forum.ansible.com/u/Me_Mo)\
**Replies:** 1\
**Last updated:** [October 19, 2018, 3:30pm UTC](https://forum.ansible.com/t/awx-inventory-file-variable/28757 "2018-10-19T15:30:56Z")

</div>

hi i have a ansible playbook that uses the “inventory\_file” variable in ansible but in awx/tower this is a tempfile, wich changes. is there any varibale in awx/tower wich refer to the “name” of the used inventory? t…

---

## [LDAP/ED   team mapping  to ansible tower](https://forum.ansible.com/t/ldap-ed-team-mapping-to-ansible-tower/28828)

<div class="topic-metadata">

**Author:** [@Sashank](https://forum.ansible.com/u/Sashank)\
**Replies:** 1\
**Last updated:** [October 19, 2018, 3:26pm UTC](https://forum.ansible.com/t/ldap-ed-team-mapping-to-ansible-tower/28828 "2018-10-19T15:26:22Z")

</div>

I am using LDAP/ Enterprise directory for authentication/authorization: we have n teams created in ED and should map teams on organization/project based in ansible tower config if a new team is created should i have to…

---

## [Unable to sync all AWS instance server onto Ansible Tower](https://forum.ansible.com/t/unable-to-sync-all-aws-instance-server-onto-ansible-tower/28793)

<div class="topic-metadata">

**Author:** [@Raj2](https://forum.ansible.com/u/Raj2)\
**Replies:** 1\
**Last updated:** [October 19, 2018, 3:25pm UTC](https://forum.ansible.com/t/unable-to-sync-all-aws-instance-server-onto-ansible-tower/28793 "2018-10-19T15:25:13Z")

</div>

I have around 30 Server Instances in AWS all having only the Private IP. In the ansible tower, I have used AWS access key and secret key and thus configured the credentials in the tower. When I start creating a new inv…

[Previous page](https://forum.ansible.com/c/archives/awx-project/28.md?page=81)

[Next page](https://forum.ansible.com/c/archives/awx-project/28.md?page=83)
