# Latest

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

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

**Page:** 340

---

## [Failing host (or better still - a group of hosts) after one login failure.](https://forum.ansible.com/t/failing-host-or-better-still-a-group-of-hosts-after-one-login-failure/34020)

<div class="topic-metadata">

**Author:** [@Go\_Away](https://forum.ansible.com/u/Go_Away)\
**Replies:** 4\
**Last updated:** [October 13, 2020, 12:50pm UTC](https://forum.ansible.com/t/failing-host-or-better-still-a-group-of-hosts-after-one-login-failure/34020 "2020-10-13T12:50:44Z")

</div>

I have (again ;-\>) a quite unusual situation. I have a bunch of hosts to which I connect with ansible to perform some tasks. The problem is that they are not mine alone and the authentication is done with password and i…

---

## [Template lookup failure triggered by rescue in role??](https://forum.ansible.com/t/template-lookup-failure-triggered-by-rescue-in-role/34019)

<div class="topic-metadata">

**Author:** [@iamroddo](https://forum.ansible.com/u/iamroddo)\
**Replies:** 0\
**Last updated:** [October 13, 2020, 10:08am UTC](https://forum.ansible.com/t/template-lookup-failure-triggered-by-rescue-in-role/34019 "2020-10-13T10:08:48Z")

</div>

I have a role which pushes updates to GitHub Enterprise. Every now and then the push fails, so I enclosed this push in a block/rescue with a rescue task to retry after a short random length pause. The result is success, …

---

## [Ansible Nmap](https://forum.ansible.com/t/ansible-nmap/33979)

<div class="topic-metadata">

**Author:** [@maysirahza](https://forum.ansible.com/u/maysirahza)\
**Replies:** 4\
**Last updated:** [October 13, 2020, 8:19am UTC](https://forum.ansible.com/t/ansible-nmap/33979 "2020-10-13T08:19:29Z")

</div>

Hello all I have network 172.130.23.0/20 with a lot of router I tried to make inventory file for ansible. https://docs.ansible.com/ansible/latest/plugins/inventory/nmap.html How can I use ansible nmap for scanning my…

---

## [Windows machine not pinging.](https://forum.ansible.com/t/windows-machine-not-pinging/33991)

<div class="topic-metadata">

**Author:** [@uday1kiran](https://forum.ansible.com/u/uday1kiran)\
**Replies:** 3\
**Last updated:** [October 13, 2020, 7:32am UTC](https://forum.ansible.com/t/windows-machine-not-pinging/33991 "2020-10-13T07:32:38Z")

</div>

ICMP protocol is emabled on remote machine. Remote desktop is also enabled. winrm and enable-psremoting also enabled Ran, below commands also. winrm set winrm/config/client/auth ‘@{Basic=“true”}’ winrm set winrm/con…

---

## [ansible secret has a special character ':' (colon) at the end how to deal with special characters in asnible-vault/secrets ?](https://forum.ansible.com/t/ansible-secret-has-a-special-character-colon-at-the-end-how-to-deal-with-special-characters-in-asnible-vault-secrets/34012)

<div class="topic-metadata">

**Author:** [@sameer\_khan](https://forum.ansible.com/u/sameer_khan)\
**Replies:** 1\
**Last updated:** [October 13, 2020, 6:14am UTC](https://forum.ansible.com/t/ansible-secret-has-a-special-character-colon-at-the-end-how-to-deal-with-special-characters-in-asnible-vault-secrets/34012 "2020-10-13T06:14:28Z")

</div>

Exception : "yaml.scanner.ScannerError: mapping values are not allowed here in “”, line 1, column 22: ldappass: \*\*\*\*\*\*\*:

---

## [Server build post tasks with ansible](https://forum.ansible.com/t/server-build-post-tasks-with-ansible/33851)

<div class="topic-metadata">

**Author:** [@Kumaresan\_M](https://forum.ansible.com/u/Kumaresan_M)\
**Replies:** 2\
**Last updated:** [October 13, 2020, 4:43am UTC](https://forum.ansible.com/t/server-build-post-tasks-with-ansible/33851 "2020-10-13T04:43:47Z")

</div>

Hi Experts, We are planning to automate server commissioning posts tasks through ansible.Is there way the ansible playbook can be triggered as soon as the OS provisioned? The requirement for both azure cloud and on-pre…

---

## [Error when writing to another directory](https://forum.ansible.com/t/error-when-writing-to-another-directory/34018)

<div class="topic-metadata">

**Author:** [@Liew\_KengHong](https://forum.ansible.com/u/Liew_KengHong)\
**Replies:** 2\
**Last updated:** [October 13, 2020, 4:37am UTC](https://forum.ansible.com/t/error-when-writing-to-another-directory/34018 "2020-10-13T04:37:00Z")

</div>

Hi, I have a template that copy the configuration file to another directory. But it return fatal error: {“msg”: “The task includes an option with an undefined variable. The error was: ‘deploy\_dir’ is undefined\\n\\nThe e…

---

## [Where do you keep your inventory files](https://forum.ansible.com/t/where-do-you-keep-your-inventory-files/34017)

<div class="topic-metadata">

**Author:** [@Dave\_York](https://forum.ansible.com/u/Dave_York)\
**Replies:** 0\
**Last updated:** [October 12, 2020, 10:14pm UTC](https://forum.ansible.com/t/where-do-you-keep-your-inventory-files/34017 "2020-10-12T22:14:17Z")

</div>

I’m curious how everyone here manages their inventory files. I want to keep my inventory files tracked in version control so I have them in their own git repo. Then in AWX/Tower I have a project tied to that inventory …

---

## [AWS Inventory seems to using script, not plugin](https://forum.ansible.com/t/aws-inventory-seems-to-using-script-not-plugin/34014)

<div class="topic-metadata">

**Author:** [@Guy\_Matz1](https://forum.ansible.com/u/Guy_Matz1)\
**Replies:** 2\
**Last updated:** [October 12, 2020, 8:46pm UTC](https://forum.ansible.com/t/aws-inventory-seems-to-using-script-not-plugin/34014 "2020-10-12T20:46:06Z")

</div>

Hi! I’m trying to get an inventory from AWS and I don’t see anywhere to enter in the information I have in my aws\_ec2.yaml file . . . Is it possible that I’m looking at a version that uses the old script instead? Here’s …

---

## [ERROR! this task 'yum' has extra params](https://forum.ansible.com/t/error-this-task-yum-has-extra-params/34010)

<div class="topic-metadata">

**Author:** [@Subhash\_Chandra\_Rang](https://forum.ansible.com/u/Subhash_Chandra_Rang)\
**Replies:** 4\
**Last updated:** [October 12, 2020, 6:32pm UTC](https://forum.ansible.com/t/error-this-task-yum-has-extra-params/34010 "2020-10-12T18:32:15Z")

</div>

---

## [What happened to the full list for the changelog using release tags in github?](https://forum.ansible.com/t/what-happened-to-the-full-list-for-the-changelog-using-release-tags-in-github/33997)

<div class="topic-metadata">

**Author:** [@t1hom7as](https://forum.ansible.com/u/t1hom7as)\
**Replies:** 5\
**Last updated:** [October 12, 2020, 5:20pm UTC](https://forum.ansible.com/t/what-happened-to-the-full-list-for-the-changelog-using-release-tags-in-github/33997 "2020-10-12T17:20:12Z")

</div>

There used to be https://github.com/ansible/awx/releases/tag/ with a full list of updates/commits, does seem to be the case anymore? https://github.com/ansible/awx/blob/devel/CHANGELOG.md Says this: This is a list of …

---

## [Ansible GCP Project enable APIs](https://forum.ansible.com/t/ansible-gcp-project-enable-apis/34013)

<div class="topic-metadata">

**Author:** [@Ian\_Hiddleston](https://forum.ansible.com/u/Ian_Hiddleston)\
**Replies:** 0\
**Last updated:** [October 12, 2020, 5:00pm UTC](https://forum.ansible.com/t/ansible-gcp-project-enable-apis/34013 "2020-10-12T17:00:33Z")

</div>

Hi all, I’ve had a rummage through the documentation but can’t see an Ansible native way to enable APIs on a GCP project (I can create the project just fine with Ansible, it just comes without all the APIs I need turned…

---

## [Any plan to support Azure AD w/ Tenancy?](https://forum.ansible.com/t/any-plan-to-support-azure-ad-w-tenancy/34011)

<div class="topic-metadata">

**Author:** [@dsaf](https://forum.ansible.com/u/dsaf)\
**Replies:** 1\
**Last updated:** [October 12, 2020, 4:07pm UTC](https://forum.ansible.com/t/any-plan-to-support-azure-ad-w-tenancy/34011 "2020-10-12T16:07:58Z")

</div>

Hi! I’m trying to get Azure AD working on AWX, and I can’t seem to find a way to change the loginmicrosoft.com/common/oauth2 URL to: loginmicrosoft.com/{tenant-id}/oauth2/v2.0/authorize Looks like the social-auth backe…

---

## [RFC: Execution Environments for Ansible Automation](https://forum.ansible.com/t/rfc-execution-environments-for-ansible-automation/34009)

<div class="topic-metadata">

**Author:** [@maxamillion](https://forum.ansible.com/u/maxamillion)\
**Replies:** 0\
**Last updated:** [October 12, 2020, 1:35pm UTC](https://forum.ansible.com/t/rfc-execution-environments-for-ansible-automation/34009 "2020-10-12T13:35:43Z")

</div>

Hello ansible-devel! Today the Ansible Engineering Team would like to announce an idea we’ve been working on called “Execution Environments” which we are introducing in order to garner feedback and contributions f…

---

## [Different credentials](https://forum.ansible.com/t/different-credentials/34008)

<div class="topic-metadata">

**Author:** [@uday1kiran](https://forum.ansible.com/u/uday1kiran)\
**Replies:** 0\
**Last updated:** [October 12, 2020, 9:38am UTC](https://forum.ansible.com/t/different-credentials/34008 "2020-10-12T09:38:02Z")

</div>

It is not related to the other issue I posted. I have some set of windows machines, which we are connecting through credentials in the inventory file. For all the machines the username/password is same. But, for some …

---

## [Install awx on centos 6.10](https://forum.ansible.com/t/install-awx-on-centos-6-10/34007)

<div class="topic-metadata">

**Author:** [@maysirahza](https://forum.ansible.com/u/maysirahza)\
**Replies:** 0\
**Last updated:** [October 12, 2020, 9:03am UTC](https://forum.ansible.com/t/install-awx-on-centos-6-10/34007 "2020-10-12T09:03:38Z")

</div>

Hello all Is it possible to install awx on centos 6.10? I can’t find the manual for installing on centos 6.10 Thank you

---

## [How to convert output of task in dictionary](https://forum.ansible.com/t/how-to-convert-output-of-task-in-dictionary/34006)

<div class="topic-metadata">

**Author:** [@Kundan\_Singh](https://forum.ansible.com/u/Kundan_Singh)\
**Replies:** 0\
**Last updated:** [October 12, 2020, 8:24am UTC](https://forum.ansible.com/t/how-to-convert-output-of-task-in-dictionary/34006 "2020-10-12T08:24:09Z")

</div>

Hi All, I am new to ansible working on a requirement where the the command has been executed and output has been stored in register. Need your guidance to find how to change the out put in dictionary or json file forma…

---

## [For Windows hosts, can the template credentials be automatically used as the inventory variable "ansible\_user"?](https://forum.ansible.com/t/for-windows-hosts-can-the-template-credentials-be-automatically-used-as-the-inventory-variable-ansible-user/34004)

<div class="topic-metadata">

**Author:** [@Kong\_Nan](https://forum.ansible.com/u/Kong_Nan)\
**Replies:** 2\
**Last updated:** [October 12, 2020, 6:28am UTC](https://forum.ansible.com/t/for-windows-hosts-can-the-template-credentials-be-automatically-used-as-the-inventory-variable-ansible-user/34004 "2020-10-12T06:28:12Z")

</div>

https://docs.ansible.com/ansible-tower/3.7.1/html/administration//kerberos\_auth.html The user guide tells me that ansible\_user must be specified in the inventory. In this way, if multiple operation and maintenance pers…

---

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

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

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