# Archives

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

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

**Page:** 166

---

## [Backup/Restore and docker component](https://forum.ansible.com/t/backup-restore-and-docker-component/34005)

<div class="topic-metadata">

**Author:** [@Raj\_Gupta](https://forum.ansible.com/u/Raj_Gupta)\
**Replies:** 0\
**Last updated:** [October 12, 2020, 6:26am UTC](https://forum.ansible.com/t/backup-restore-and-docker-component/34005 "2020-10-12T06:26:16Z")

</div>

Hi, Can someone please help me out with this? Is there any standard/efficient way to keep taking backup of AWX data and restore it if required? Is that okay, if I bring up the AWX service docker containers as root use…

---

## [Can the RDAC role be automatically bound to the organization/team when setting up LDAP?](https://forum.ansible.com/t/can-the-rdac-role-be-automatically-bound-to-the-organization-team-when-setting-up-ldap/34003)

<div class="topic-metadata">

**Author:** [@Kong\_Nan](https://forum.ansible.com/u/Kong_Nan)\
**Replies:** 1\
**Last updated:** [October 12, 2020, 6:02am UTC](https://forum.ansible.com/t/can-the-rdac-role-be-automatically-bound-to-the-organization-team-when-setting-up-ldap/34003 "2020-10-12T06:02:50Z")

</div>

We use LDAP for organization mapping, but it can only be mapped as admin or user. Can we perform more fine-grained mapping? For example execute\_role? (https://docs.ansible.com/ansible-tower/3.7.3/html/userguide/security…

---

## [Ansible tower issue](https://forum.ansible.com/t/ansible-tower-issue/34001)

<div class="topic-metadata">

**Author:** [@Abdulrazzaq\_shaik](https://forum.ansible.com/u/Abdulrazzaq_shaik)\
**Replies:** 5\
**Last updated:** [October 11, 2020, 10:16pm UTC](https://forum.ansible.com/t/ansible-tower-issue/34001 "2020-10-11T22:16:43Z")

</div>

Hi all, Kindly help on the below issue, I was trying to 2gb file from ansible controller to ansible node where am using copy / synchronize module and my all playbooks are working fine in the ansible cli, when it come t…

---

## [ansible send an email with "OK" status if url is accessible.](https://forum.ansible.com/t/ansible-send-an-email-with-ok-status-if-url-is-accessible/34002)

<div class="topic-metadata">

**Author:** [@priyanka\_prabhune](https://forum.ansible.com/u/priyanka_prabhune)\
**Replies:** 2\
**Last updated:** [October 10, 2020, 6:15am UTC](https://forum.ansible.com/t/ansible-send-an-email-with-ok-status-if-url-is-accessible/34002 "2020-10-10T06:15:37Z")

</div>

Hi, I have written the ansible playbook to check the url, but I need an email just with “OK” status if the response is 200. Can you please help me with this? Thanks.

---

## [How to log in without password through Kerberos?](https://forum.ansible.com/t/how-to-log-in-without-password-through-kerberos/34000)

<div class="topic-metadata">

**Author:** [@Kong\_Nan](https://forum.ansible.com/u/Kong_Nan)\
**Replies:** 0\
**Last updated:** [October 10, 2020, 12:32am UTC](https://forum.ansible.com/t/how-to-log-in-without-password-through-kerberos/34000 "2020-10-10T00:32:53Z")

</div>

We have set up LDAP login, and now users can enter the AD account password to log in to AWX. But now that users have logged in to Windows, how can they skip logging in and directly enter AWX ? (We know that some websit…

---

## [Want some help regrading set\_fact variable when condition](https://forum.ansible.com/t/want-some-help-regrading-set-fact-variable-when-condition/33999)

<div class="topic-metadata">

**Author:** [@Venu\_Devannagari](https://forum.ansible.com/u/Venu_Devannagari)\
**Replies:** 0\
**Last updated:** [October 9, 2020, 3:46pm UTC](https://forum.ansible.com/t/want-some-help-regrading-set-fact-variable-when-condition/33999 "2020-10-09T15:46:21Z")

</div>

Hi team I am using set\_fact module to get output variable with regular expression.

---

## [ansible.builtin.setup does not always report the partition UUID](https://forum.ansible.com/t/ansible-builtin-setup-does-not-always-report-the-partition-uuid/33996)

<div class="topic-metadata">

**Author:** [@Claude\_Robitaille](https://forum.ansible.com/u/Claude_Robitaille)\
**Replies:** 0\
**Last updated:** [October 9, 2020, 3:08pm UTC](https://forum.ansible.com/t/ansible-builtin-setup-does-not-always-report-the-partition-uuid/33996 "2020-10-09T15:08:58Z")

</div>

Hello, ansible.builtin.setup is not reliable in reporting the partition UUIDs. It uses /dev/disk/by-uuid (in linux.py: get\_partition\_uuid(partname)), which is not a reliable source of information. I have a situation whe…

---

## [AWX Login Authentication using REST API](https://forum.ansible.com/t/awx-login-authentication-using-rest-api/33909)

<div class="topic-metadata">

**Author:** [@haritha\_reddy](https://forum.ansible.com/u/haritha_reddy)\
**Replies:** 1\
**Last updated:** [October 9, 2020, 2:12pm UTC](https://forum.ansible.com/t/awx-login-authentication-using-rest-api/33909 "2020-10-09T14:12:15Z")

</div>

Hi Everyone, I am trying to trigger an awx job from one of our application which uses groovy programming language. I am not sure, is this possible or not. I hope, it can be done using AWX REST API. As a first step, fr…

---

## [ansible.builtin.setup does not list partition uuid](https://forum.ansible.com/t/ansible-builtin-setup-does-not-list-partition-uuid/33995)

<div class="topic-metadata">

**Author:** [@Claude\_Robitaille](https://forum.ansible.com/u/Claude_Robitaille)\
**Replies:** 0\
**Last updated:** [October 9, 2020, 1:51pm UTC](https://forum.ansible.com/t/ansible-builtin-setup-does-not-list-partition-uuid/33995 "2020-10-09T13:51:22Z")

</div>

Hello, I am using ansible to setup a machine, after booting it via a usb drive. In my plays I obviously have to partition the disk as needed. For this, I am using community.general.parted without any trouble. After par…

---

## [Issue with using task files/playbook in ad hoc commands and in roles](https://forum.ansible.com/t/issue-with-using-task-files-playbook-in-ad-hoc-commands-and-in-roles/33992)

<div class="topic-metadata">

**Author:** [@Mouton\_Noir](https://forum.ansible.com/u/Mouton_Noir)\
**Replies:** 2\
**Last updated:** [October 9, 2020, 11:53am UTC](https://forum.ansible.com/t/issue-with-using-task-files-playbook-in-ad-hoc-commands-and-in-roles/33992 "2020-10-09T11:53:19Z")

</div>

Hi, Newbie to Ansible, but I already made a lot of things with it. One thing, though, I can’t do is re-use a task file for adhoc commands or re-use a playbook in another playbook : For example, I use a task file (R\_pa…

---

## [Handle multiple users inside a playbook](https://forum.ansible.com/t/handle-multiple-users-inside-a-playbook/33993)

<div class="topic-metadata">

**Author:** [@Daniele\_Calzetti](https://forum.ansible.com/u/Daniele_Calzetti)\
**Replies:** 0\
**Last updated:** [October 9, 2020, 10:27am UTC](https://forum.ansible.com/t/handle-multiple-users-inside-a-playbook/33993 "2020-10-09T10:27:20Z")

</div>

I have a playbook where I access as user without privigiles, then i become root with become: yes and --ask-become-pass. At some point I have few task that require to be executed as another user (apache), for example: n…

---

## [Vagrant box not getting set up running under WSL2](https://forum.ansible.com/t/vagrant-box-not-getting-set-up-running-under-wsl2/33989)

<div class="topic-metadata">

**Author:** [@Keith\_Mills](https://forum.ansible.com/u/Keith_Mills)\
**Replies:** 2\
**Last updated:** [October 8, 2020, 9:32pm UTC](https://forum.ansible.com/t/vagrant-box-not-getting-set-up-running-under-wsl2/33989 "2020-10-08T21:32:32Z")

</div>

Vagrant version: Vagrant 2.2.10 Host OS: Windows 10 (20045, May 2020) Guest OS: Ubuntu 18.04 (tried with 16.04, 20.04) Vagrantfile: Vagrant.configure(“2”) do |config| config.vm.box = “ubuntu/trusty64” config.vm.…

---

## [change in reporting in 2.10.1?](https://forum.ansible.com/t/change-in-reporting-in-2-10-1/33924)

<div class="topic-metadata">

**Author:** [@Josef\_Fortier](https://forum.ansible.com/u/Josef_Fortier)\
**Replies:** 6\
**Last updated:** [October 8, 2020, 7:35pm UTC](https://forum.ansible.com/t/change-in-reporting-in-2-10-1/33924 "2020-10-08T19:35:38Z")

</div>

After updating (pip uninstall, then re-install) and running an adhoc command, say ansible -m ping all I’m seeing many pages of info messages, of the form task 1: \[Continuously incrementing list of hosts\] ok: HOST ok…

---

## [AWX 15.0.0 - UI Login Issue](https://forum.ansible.com/t/awx-15-0-0-ui-login-issue/33948)

<div class="topic-metadata">

**Author:** [@Srinivasa\_Yerabati](https://forum.ansible.com/u/Srinivasa_Yerabati)\
**Replies:** 2\
**Last updated:** [October 8, 2020, 6:17pm UTC](https://forum.ansible.com/t/awx-15-0-0-ui-login-issue/33948 "2020-10-08T18:17:16Z")

</div>

Hello All, I have installed AWX 15.0.0 using docker compose deployment method. All my containers are up and running. I am able to open the UI, but unable to login to the UI. I am using admin as user and the password th…

---

## [Ansible Facts vs Ansible OS](https://forum.ansible.com/t/ansible-facts-vs-ansible-os/33960)

<div class="topic-metadata">

**Author:** [@Keith\_Mills](https://forum.ansible.com/u/Keith_Mills)\
**Replies:** 4\
**Last updated:** [October 8, 2020, 3:45pm UTC](https://forum.ansible.com/t/ansible-facts-vs-ansible-os/33960 "2020-10-08T15:45:06Z")

</div>

Hello All, I have a general question! When should I use ansible\_facts.distribution vs ansible\_os\_family or are they interchangeable? Is one better than the other? Thanks,

---

## [Email format validation](https://forum.ansible.com/t/email-format-validation/33982)

<div class="topic-metadata">

**Author:** [@Larry\_Bakun](https://forum.ansible.com/u/Larry_Bakun)\
**Replies:** 3\
**Last updated:** [October 8, 2020, 2:35pm UTC](https://forum.ansible.com/t/email-format-validation/33982 "2020-10-08T14:35:57Z")

</div>

Can someone please help with an example code how to validate email string format with regex? I have a code that doesn’t work: vars: emailRegExpression: “\[1\]+@(\[\\w-\]+\\.)+\[\\w-\]{2,4}$” emailAddress: “myemail@domain.com” …

---

## [Ansible WSL2](https://forum.ansible.com/t/ansible-wsl2/33988)

<div class="topic-metadata">

**Author:** [@Alistair\_MacCallum](https://forum.ansible.com/u/Alistair_MacCallum)\
**Replies:** 0\
**Last updated:** [October 8, 2020, 1:18pm UTC](https://forum.ansible.com/t/ansible-wsl2/33988 "2020-10-08T13:18:52Z")

</div>

Hi All, Trying to move my Ansible install from an Ubuntu 18 VM to WSL2 Ubuntu 18 and running into some weird issues. Installed Ansible fine and cloned repo that includes all my inventory, playbooks, vars etc but when it…

---

## [pip install list of packages](https://forum.ansible.com/t/pip-install-list-of-packages/33969)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 3\
**Last updated:** [October 8, 2020, 12:04pm UTC](https://forum.ansible.com/t/pip-install-list-of-packages/33969 "2020-10-08T12:04:20Z")

</div>

Hi If I'm using pip with name being a list of packages, for instance: - name: Install stuff pip: name: - pyyaml - natsort - passlib Then the module will do "pip install pyyaml natsort pass…

---

## [Push Configuration file into router](https://forum.ansible.com/t/push-configuration-file-into-router/33980)

<div class="topic-metadata">

**Author:** [@L\_T](https://forum.ansible.com/u/L_T)\
**Replies:** 2\
**Last updated:** [October 8, 2020, 11:53am UTC](https://forum.ansible.com/t/push-configuration-file-into-router/33980 "2020-10-08T11:53:18Z")

</div>

Hello all, I am configuring Cisco Router through Ansible tower(2.9). I am able to take backup of the Running configuration in file. How can i push back the same running configuration through file in the router. Pleas…

---

## [Cannot run gcp\_storage\_object module on windows target machine](https://forum.ansible.com/t/cannot-run-gcp-storage-object-module-on-windows-target-machine/33987)

<div class="topic-metadata">

**Author:** [@tejaswini\_tharigopul](https://forum.ansible.com/u/tejaswini_tharigopul)\
**Replies:** 0\
**Last updated:** [October 8, 2020, 7:07am UTC](https://forum.ansible.com/t/cannot-run-gcp-storage-object-module-on-windows-target-machine/33987 "2020-10-08T07:07:45Z")

</div>

Please refer : https://github.com/ansible/ansible/issues/72149#issue-717076951

---

## [can we pass a wildcard in a module's parameter's value ?](https://forum.ansible.com/t/can-we-pass-a-wildcard-in-a-modules-parameters-value/33984)

<div class="topic-metadata">

**Author:** [@Nic\_H](https://forum.ansible.com/u/Nic_H)\
**Replies:** 6\
**Last updated:** [October 8, 2020, 6:41am UTC](https://forum.ansible.com/t/can-we-pass-a-wildcard-in-a-modules-parameters-value/33984 "2020-10-08T06:41:41Z")

</div>

hi, again a very simple use case in appearance but that is driving me nuts to realize with ansible, anyone ever done : tasks: name: run a module any\_module: users: {{item}} # I want to loop first here state: absent …

---

## [ERROR! Unexpected Exception, this is probably a bug: cannot import name '\_psutil\_linux'](https://forum.ansible.com/t/error-unexpected-exception-this-is-probably-a-bug-cannot-import-name-psutil-linux/33951)

<div class="topic-metadata">

**Author:** [@driCs](https://forum.ansible.com/u/driCs)\
**Replies:** 5\
**Last updated:** [October 8, 2020, 6:09am UTC](https://forum.ansible.com/t/error-unexpected-exception-this-is-probably-a-bug-cannot-import-name-psutil-linux/33951 "2020-10-08T06:09:33Z")

</div>

Hello, I have created a virtualenv but when I run my Template I have this error Below a part of my script to install some librairies into the virtualenv is : …/venv/2.8.3/bin/pip install pip …/venv/2.8.3/bin/pip inst…

---

## [Can AWX Web and AWX Task containers be run as non root user?](https://forum.ansible.com/t/can-awx-web-and-awx-task-containers-be-run-as-non-root-user/33986)

<div class="topic-metadata">

**Author:** [@Shankar\_Prasad](https://forum.ansible.com/u/Shankar_Prasad)\
**Replies:** 0\
**Last updated:** [October 8, 2020, 1:16am UTC](https://forum.ansible.com/t/can-awx-web-and-awx-task-containers-be-run-as-non-root-user/33986 "2020-10-08T01:16:42Z")

</div>

I need to run awx web and awx task containers as non root user, as my org’s direction to ensure container best practices. However, i only see that both containers come up only as root user. I have git cloned 11.2.0 for b…

---

## [How to specify No Value for a key in Ansible yaml?](https://forum.ansible.com/t/how-to-specify-no-value-for-a-key-in-ansible-yaml/33983)

<div class="topic-metadata">

**Author:** [@skwok](https://forum.ansible.com/u/skwok)\
**Replies:** 0\
**Last updated:** [October 7, 2020, 7:37pm UTC](https://forum.ansible.com/t/how-to-specify-no-value-for-a-key-in-ansible-yaml/33983 "2020-10-07T19:37:45Z")

</div>

I’m a newbie in Ansible and I’d like to use the aws\_ec2 plugin to return a list of ec2 instances with 2 tags: env=stage and a=(empty). I’m using “filters” with “tag” like the followings: filters: tag:Env: - stage tag:a:…

---

## [Ansible installation-Centos](https://forum.ansible.com/t/ansible-installation-centos/33970)

<div class="topic-metadata">

**Author:** [@Tanvir\_Hossain](https://forum.ansible.com/u/Tanvir_Hossain)\
**Replies:** 3\
**Last updated:** [October 7, 2020, 10:31am UTC](https://forum.ansible.com/t/ansible-installation-centos/33970 "2020-10-07T10:31:44Z")

</div>

My production server is running on Centos 7.7. I want to install ansible. But due to no internet connection available, I am facing issues while installing the rpms , there are so many dependencies, that literally approac…

---

## [Ansible Tower](https://forum.ansible.com/t/ansible-tower/33978)

<div class="topic-metadata">

**Author:** [@Abdulrazzaq\_shaik](https://forum.ansible.com/u/Abdulrazzaq_shaik)\
**Replies:** 0\
**Last updated:** [October 7, 2020, 3:27am UTC](https://forum.ansible.com/t/ansible-tower/33978 "2020-10-07T03:27:52Z")

</div>

Hi All, Please help with docs on Ansible Tower and configuring nodes, Regards Abdul Razzaq

---

## [lxml.etree.XMLSyntaxError using python3.6](https://forum.ansible.com/t/lxml-etree-xmlsyntaxerror-using-python3-6/33940)

<div class="topic-metadata">

**Author:** [@angelo\_coluni](https://forum.ansible.com/u/angelo_coluni)\
**Replies:** 7\
**Last updated:** [October 6, 2020, 11:31pm UTC](https://forum.ansible.com/t/lxml-etree-xmlsyntaxerror-using-python3-6/33940 "2020-10-06T23:31:24Z")

</div>

Setup: ansible 2.9.13 config file = /etc/ansible/ansible.cfg configured module search path = \[‘/root/.ansible/plugins/modules’, ‘/usr/share/ansible/plugins/modules’\] ansible python module location = /usr/lib/python3.…

---

## [How to get response of Ansible telnet module](https://forum.ansible.com/t/how-to-get-response-of-ansible-telnet-module/33977)

<div class="topic-metadata">

**Author:** [@Easy\_King](https://forum.ansible.com/u/Easy_King)\
**Replies:** 0\
**Last updated:** [October 6, 2020, 8:48pm UTC](https://forum.ansible.com/t/how-to-get-response-of-ansible-telnet-module/33977 "2020-10-06T20:48:49Z")

</div>

Below are couple of IP addresses and their telnet response (output) telnet 10.9.9.112 22Trying 10.9.9.112… telnet 10.9.9.143 22 Trying 10.9.9.143… telnet: connect to address 10.9.9.143: Connection refused. For the f…

---

## [Timeout (12s) waiting for privilege escalation prompt](https://forum.ansible.com/t/timeout-12s-waiting-for-privilege-escalation-prompt/33973)

<div class="topic-metadata">

**Author:** [@SP1](https://forum.ansible.com/u/SP1)\
**Replies:** 1\
**Last updated:** [October 6, 2020, 7:04pm UTC](https://forum.ansible.com/t/timeout-12s-waiting-for-privilege-escalation-prompt/33973 "2020-10-06T19:04:01Z")

</div>

Hi, Am getting “Timeout (12s) waiting for privilege escalation prompt” while using become\_user: test\_user. I opened issue in github and redirected here. https://github.com/ansible/ansible/issues/72111 sudo has been g…

---

## [Minimal ansible 2.10.x installation](https://forum.ansible.com/t/minimal-ansible-2-10-x-installation/33958)

<div class="topic-metadata">

**Author:** [@Anand\_Buddhdev1](https://forum.ansible.com/u/Anand_Buddhdev1)\
**Replies:** 2\
**Last updated:** [October 6, 2020, 5:05pm UTC](https://forum.ansible.com/t/minimal-ansible-2-10-x-installation/33958 "2020-10-06T17:05:47Z")

</div>

Hi folks, Now that ansible’s code has been reorganised, I have a question about how to do a minimal installation. I am interested in just these 3 things: ansible-base ansible.posix collection community collection I c…

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

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