# Latest

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

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

**Page:** 290

---

## [Parse a dynamic json response](https://forum.ansible.com/t/parse-a-dynamic-json-response/35514)

<div class="topic-metadata">

**Author:** [@Stephane\_Cremel](https://forum.ansible.com/u/Stephane_Cremel)\
**Replies:** 0\
**Last updated:** [July 16, 2021, 2:00pm UTC](https://forum.ansible.com/t/parse-a-dynamic-json-response/35514 "2021-07-16T14:00:00Z")

</div>

I work on role for administrate an elastic cluster. When i execute this : name: Get Statistic of index uri: url: “{{ update\_index }}” method: GET body: “” body\_format: json register: result\_stats when: index\_ …

---

## [After 23 attempts, failed to spawn pexpect session](https://forum.ansible.com/t/after-23-attempts-failed-to-spawn-pexpect-session/35513)

<div class="topic-metadata">

**Author:** [@Suneel\_Hegde](https://forum.ansible.com/u/Suneel_Hegde)\
**Replies:** 0\
**Last updated:** [July 16, 2021, 12:42pm UTC](https://forum.ansible.com/t/after-23-attempts-failed-to-spawn-pexpect-session/35513 "2021-07-16T12:42:37Z")

</div>

ello All, we are trying to copy NXOS image using ansible getting this error when we ran the playbook form the AWX anyone please help what is causing this issuefatal: \[switch\]: FAILED! =\> { “msg”: “After 23 attempts, …

---

## [To display the logs other than secret codes in a task](https://forum.ansible.com/t/to-display-the-logs-other-than-secret-codes-in-a-task/35512)

<div class="topic-metadata">

**Author:** [@Aneesh](https://forum.ansible.com/u/Aneesh)\
**Replies:** 1\
**Last updated:** [July 16, 2021, 8:14am UTC](https://forum.ansible.com/t/to-display-the-logs-other-than-secret-codes-in-a-task/35512 "2021-07-16T08:14:34Z")

</div>

Hi I am using vault for database passwords and used for the execution of database tasks, With no\_log, the messages are getting censored. But if in case of any error from MySQL /database also not visible because of this …

---

## [Executing powershell script via ansible playbook is not working properly](https://forum.ansible.com/t/executing-powershell-script-via-ansible-playbook-is-not-working-properly/35502)

<div class="topic-metadata">

**Author:** [@Deepan\_M](https://forum.ansible.com/u/Deepan_M)\
**Replies:** 1\
**Last updated:** [July 16, 2021, 3:59am UTC](https://forum.ansible.com/t/executing-powershell-script-via-ansible-playbook-is-not-working-properly/35502 "2021-07-16T03:59:48Z")

</div>

Hi, I’m trying to execute powershell script via ansible, however playbook is successfully running but its incomplete. same script if I run directely on windows server its perfectly working, its failing whenever i ran th…

---

## [After 23 attempts, failed to spawn pexpect session error](https://forum.ansible.com/t/after-23-attempts-failed-to-spawn-pexpect-session-error/35511)

<div class="topic-metadata">

**Author:** [@Suneel\_Hegde](https://forum.ansible.com/u/Suneel_Hegde)\
**Replies:** 0\
**Last updated:** [July 16, 2021, 3:49am UTC](https://forum.ansible.com/t/after-23-attempts-failed-to-spawn-pexpect-session-error/35511 "2021-07-16T03:49:50Z")

</div>

Hello Team, we are trying to copy NXOS image using ansible getting this error when we ran the playbook form the AWX anyone please help what is causing this issuefatal: \[switch\]: FAILED! =\> { “msg”: “After 23 attempts…

---

## [Ansible - Authentication timeout error](https://forum.ansible.com/t/ansible-authentication-timeout-error/35510)

<div class="topic-metadata">

**Author:** [@benilde\_tadonkeng](https://forum.ansible.com/u/benilde_tadonkeng)\
**Replies:** 0\
**Last updated:** [July 15, 2021, 10:59pm UTC](https://forum.ansible.com/t/ansible-authentication-timeout-error/35510 "2021-07-15T22:59:49Z")

</div>

Hi every one, I’m trying to pull out some information from a cisco switch device using ios\_facts module, for exemple ios version using ansible. By running the playbook, the following message appears: PLAY \[Host(s) nam…

---

## [Ansible winrm Read timed out when running win\_update - intermittent](https://forum.ansible.com/t/ansible-winrm-read-timed-out-when-running-win-update-intermittent/35509)

<div class="topic-metadata">

**Author:** [@Robert\_Rozek](https://forum.ansible.com/u/Robert_Rozek)\
**Replies:** 0\
**Last updated:** [July 15, 2021, 9:11pm UTC](https://forum.ansible.com/t/ansible-winrm-read-timed-out-when-running-win-update-intermittent/35509 "2021-07-15T21:11:52Z")

</div>

Hello, I have this intermittent issue where, when Windows Server servers are patching or rebooting I would get WinRM -Read Timed out. This is occruing intermittently so I cannot freely replicate it. Normally this would…

---

## [Need help with communication issue from Jenkins](https://forum.ansible.com/t/need-help-with-communication-issue-from-jenkins/35197)

<div class="topic-metadata">

**Author:** [@Richard\_Lund](https://forum.ansible.com/u/Richard_Lund)\
**Replies:** 10\
**Last updated:** [July 15, 2021, 8:41pm UTC](https://forum.ansible.com/t/need-help-with-communication-issue-from-jenkins/35197 "2021-07-15T20:41:15Z")

</div>

Hi. I’m hoping someone here can give me advice on how to troubleshoot this, maybe point me at logs that I haven’t found yet or settings that produce more debugging information, or whatever. TLDR: During AWX jobs that t…

---

## [Ansible Contributor Summit 2021.06](https://forum.ansible.com/t/ansible-contributor-summit-2021-06/35134)

<div class="topic-metadata">

**Author:** [@cybette](https://forum.ansible.com/u/cybette)\
**Replies:** 1\
**Last updated:** [July 15, 2021, 12:06pm UTC](https://forum.ansible.com/t/ansible-contributor-summit-2021-06/35134 "2021-07-15T12:06:02Z")

</div>

Hi everyone, We’re happy to announce the second Ansible Contributor Summit for 2021! It will be on Tuesday, June 8, from 07:00-15:00 UTC, and will be held online. For those unfamiliar with this event, the Ansible Co…

---

## [How to set become pass for become\_method: su?](https://forum.ansible.com/t/how-to-set-become-pass-for-become-method-su/35508)

<div class="topic-metadata">

**Author:** [@Joey\_Cheng](https://forum.ansible.com/u/Joey_Cheng)\
**Replies:** 0\
**Last updated:** [July 14, 2021, 5:46pm UTC](https://forum.ansible.com/t/how-to-set-become-pass-for-become-method-su/35508 "2021-07-14T17:46:18Z")

</div>

Hello folks, I was using --ask-become-pass and it worked fine. But now I’m going to run multiple playbooks at one time so I’m going to include become pass in plaintext for each group. I tried “ansible\_become\_pass” in in…

---

## [AWX - Configure LDAP for multiple groups](https://forum.ansible.com/t/awx-configure-ldap-for-multiple-groups/35507)

<div class="topic-metadata">

**Author:** [@hieronymus](https://forum.ansible.com/u/hieronymus)\
**Replies:** 0\
**Last updated:** [July 14, 2021, 3:00pm UTC](https://forum.ansible.com/t/awx-configure-ldap-for-multiple-groups/35507 "2021-07-14T15:00:46Z")

</div>

Hi everyone, I’m configuring LDAP Setting for accessing the AWX WebUI. I need to configure two LDAP Group Search but apparently it is not possible : group search does not support LDAPSearchUnion. So, we’re two teams w…

---

## [How can i multi factor authentication for login..?](https://forum.ansible.com/t/how-can-i-multi-factor-authentication-for-login/35478)

<div class="topic-metadata">

**Author:** [@kelly](https://forum.ansible.com/u/kelly)\
**Replies:** 2\
**Last updated:** [July 14, 2021, 12:10pm UTC](https://forum.ansible.com/t/how-can-i-multi-factor-authentication-for-login/35478 "2021-07-14T12:10:41Z")

</div>

I want to use multi factor authentication for login. like… use OTP after ldap login. The login I’m talking about is login of awx web page. is it possible ?? Help me

---

## [Failed to change ownership of the temporary files Ansible needs to create despite connecting as a privileged user](https://forum.ansible.com/t/failed-to-change-ownership-of-the-temporary-files-ansible-needs-to-create-despite-connecting-as-a-privileged-user/35506)

<div class="topic-metadata">

**Author:** [@apex\_legend](https://forum.ansible.com/u/apex_legend)\
**Replies:** 0\
**Last updated:** [July 14, 2021, 7:18am UTC](https://forum.ansible.com/t/failed-to-change-ownership-of-the-temporary-files-ansible-needs-to-create-despite-connecting-as-a-privileged-user/35506 "2021-07-14T07:18:23Z")

</div>

I am new to awx i use pre-exsisting playbook when i run it from ubuntu 20 terminal it works fine but i want to run it through awx when i run it from awx i get this error. Failed to change ownership of the temporary file…

---

## [New release candidates: ansible-core 2.11.3rc1, ansible-base 2.10.12rc1, ansible 2.9.24rc1](https://forum.ansible.com/t/new-release-candidates-ansible-core-2-11-3rc1-ansible-base-2-10-12rc1-ansible-2-9-24rc1/35505)

<div class="topic-metadata">

**Author:** [@relrod](https://forum.ansible.com/u/relrod)\
**Replies:** 0\
**Last updated:** [July 14, 2021, 6:24am UTC](https://forum.ansible.com/t/new-release-candidates-ansible-core-2-11-3rc1-ansible-base-2-10-12rc1-ansible-2-9-24rc1/35505 "2021-07-14T06:24:17Z")

</div>

Hi all- we're happy to announce the following release candidates: - ansible-core 2.11.3rc1 - ansible-base 2.10.12rc1 - ansible 2.9.24rc1 ...which were released Monday night (US time). How to get it

---

## [FRR in a Docker container: socket\_path must be a value](https://forum.ansible.com/t/frr-in-a-docker-container-socket-path-must-be-a-value/35504)

<div class="topic-metadata">

**Author:** [@Saqib\_Ilyas](https://forum.ansible.com/u/Saqib_Ilyas)\
**Replies:** 0\
**Last updated:** [July 13, 2021, 6:38pm UTC](https://forum.ansible.com/t/frr-in-a-docker-container-socket-path-must-be-a-value/35504 "2021-07-13T18:38:30Z")

</div>

Hi I used containerlab to set up a small topology with a few FRR routers running as Docker containers. Accordingly, I set ansible\_connection: Docker. However, when I run the following playbook: name: testing facts ho…

---

## [fatal: \[s1\]: FAILED! =\> {"msg": "Unable to automatically determine host network os. Please manually configure ansible\_network\_os value for this host"}](https://forum.ansible.com/t/fatal-s1-failed-msg-unable-to-automatically-determine-host-network-os-please-manually-configure-ansible-network-os-value-for-this-host/35501)

<div class="topic-metadata">

**Author:** [@sanjivy\_raja](https://forum.ansible.com/u/sanjivy_raja)\
**Replies:** 1\
**Last updated:** [July 13, 2021, 5:39pm UTC](https://forum.ansible.com/t/fatal-s1-failed-msg-unable-to-automatically-determine-host-network-os-please-manually-configure-ansible-network-os-value-for-this-host/35501 "2021-07-13T17:39:55Z")

</div>

Hello Everyone! I have been trying to run the below play book , I keep getting different kinds of errors whenever I try to change the syntax, I am guessing the errors are due to deprecated syntax. Can some one tell me t…

---

## [Request assistance to write script using Regex](https://forum.ansible.com/t/request-assistance-to-write-script-using-regex/35500)

<div class="topic-metadata">

**Author:** [@Vikram\_S](https://forum.ansible.com/u/Vikram_S)\
**Replies:** 1\
**Last updated:** [July 13, 2021, 5:36pm UTC](https://forum.ansible.com/t/request-assistance-to-write-script-using-regex/35500 "2021-07-13T17:36:07Z")

</div>

Hi Team, From the below output, i need to extract only the IP 10.1.1.10 (it is ok if the entire line starting from asterix is extracted). I wrote below script and it seemed to work when i tested in regex101.com but fai…

---

## [fatal: \[s1\]: FAILED! =\> {"msg": "Unable to automatically determine host network os. Please manually configure ansible\_network\_os value for this host"}](https://forum.ansible.com/t/fatal-s1-failed-msg-unable-to-automatically-determine-host-network-os-please-manually-configure-ansible-network-os-value-for-this-host/35503)

<div class="topic-metadata">

**Author:** [@sanjivy\_raja](https://forum.ansible.com/u/sanjivy_raja)\
**Replies:** 0\
**Last updated:** [July 13, 2021, 5:33pm UTC](https://forum.ansible.com/t/fatal-s1-failed-msg-unable-to-automatically-determine-host-network-os-please-manually-configure-ansible-network-os-value-for-this-host/35503 "2021-07-13T17:33:04Z")

</div>

Hello Everyone! I have been trying to run the below play book , I keep getting different kinds of errors whenever I try to change the syntax, I am guessing the errors are due to deprecated syntax. Can some one tell me t…

---

## [cutomize awx source code for login](https://forum.ansible.com/t/cutomize-awx-source-code-for-login/35496)

<div class="topic-metadata">

**Author:** [@kelly](https://forum.ansible.com/u/kelly)\
**Replies:** 1\
**Last updated:** [July 13, 2021, 4:46pm UTC](https://forum.ansible.com/t/cutomize-awx-source-code-for-login/35496 "2021-07-13T16:46:02Z")

</div>

Hello, I left a question about multi-factor authentication a few days ago. The answer I got through the mailing list was that awx does not support multifactor authentication. To be precise, it was to connect otp after…

---

## [NTLMv1 for Active Directory on Linux](https://forum.ansible.com/t/ntlmv1-for-active-directory-on-linux/35499)

<div class="topic-metadata">

**Author:** [@Subhi\_Andrews](https://forum.ansible.com/u/Subhi_Andrews)\
**Replies:** 0\
**Last updated:** [July 13, 2021, 4:34pm UTC](https://forum.ansible.com/t/ntlmv1-for-active-directory-on-linux/35499 "2021-07-13T16:34:47Z")

</div>

Hi, We use an active directory user to authenticate and login into remote Linux hosts using Ansible. It seems to be using NTLMv1 behind the scenes for authentication. We want to force it to use NTLMv2. Is there a way to…

---

## [Unable to export CLASSPATH for localhost on Ansible on Linux Redhat](https://forum.ansible.com/t/unable-to-export-classpath-for-localhost-on-ansible-on-linux-redhat/35495)

<div class="topic-metadata">

**Author:** [@Easy\_King](https://forum.ansible.com/u/Easy_King)\
**Replies:** 2\
**Last updated:** [July 13, 2021, 4:24pm UTC](https://forum.ansible.com/t/unable-to-export-classpath-for-localhost-on-ansible-on-linux-redhat/35495 "2021-07-13T16:24:34Z")

</div>

I get the below error while executing the shell command on ansible localhost $ java utils.dbping ORACLE\_THIN :: Error: Could not find or load main class utils.dbping Inorder, to resolve this error i set the classpath l…

---

## [port 7946 already in use when intalling AWX 19.2.2](https://forum.ansible.com/t/port-7946-already-in-use-when-intalling-awx-19-2-2/35498)

<div class="topic-metadata">

**Author:** [@Razer\_Zhang](https://forum.ansible.com/u/Razer_Zhang)\
**Replies:** 0\
**Last updated:** [July 13, 2021, 12:25pm UTC](https://forum.ansible.com/t/port-7946-already-in-use-when-intalling-awx-19-2-2/35498 "2021-07-13T12:25:16Z")

</div>

environment: tools: docker \_system :\_centos I have seen no process in port 7946 ，but the error still exist. and Its sure for port 7946 was not bind with process. code: \*\*netstat -an | grep 7946\*\* tcp6 0 0 :::7946 :…

---

## [Get all packages list in the following pattern"packagename-version-arch"](https://forum.ansible.com/t/get-all-packages-list-in-the-following-pattern-packagename-version-arch/35497)

<div class="topic-metadata">

**Author:** [@Julien](https://forum.ansible.com/u/Julien)\
**Replies:** 0\
**Last updated:** [July 13, 2021, 12:24pm UTC](https://forum.ansible.com/t/get-all-packages-list-in-the-following-pattern-packagename-version-arch/35497 "2021-07-13T12:24:37Z")

</div>

Hello everyone, I’d like to gather package facts and simply store them into a variable as a list with this pattern: packagename-version-arch. I’ve tried several things: mapping attributes, select attributes, for. Witho…

---

## [How to avoid matching string with the substring in group\_vars variable file](https://forum.ansible.com/t/how-to-avoid-matching-string-with-the-substring-in-group-vars-variable-file/35493)

<div class="topic-metadata">

**Author:** [@Gaurav\_Oberai](https://forum.ansible.com/u/Gaurav_Oberai)\
**Replies:** 3\
**Last updated:** [July 13, 2021, 10:43am UTC](https://forum.ansible.com/t/how-to-avoid-matching-string-with-the-substring-in-group-vars-variable-file/35493 "2021-07-13T10:43:26Z")

</div>

Hello, I have items defined with with\_items in ansible task and that item is not existing in the group\_vars/all file so it should be skipped. But it is matching to the substring of a string in the group\_vars file. e.g.…

---

## [Connection plugin with slow \_connect](https://forum.ansible.com/t/connection-plugin-with-slow-connect/35481)

<div class="topic-metadata">

**Author:** [@Roman\_Bolshakov](https://forum.ansible.com/u/Roman_Bolshakov)\
**Replies:** 3\
**Last updated:** [July 12, 2021, 6:15pm UTC](https://forum.ansible.com/t/connection-plugin-with-slow-connect/35481 "2021-07-12T18:15:27Z")

</div>

Hi all, I'm working on a guestfs \[1\] connection plugin and seeking for a design advice. libguestfs provides a set of command line tools that can be used to operate on virtual machine disk images and modify its conten…

---

## [How to connect to host from within POd/container](https://forum.ansible.com/t/how-to-connect-to-host-from-within-pod-container/35492)

<div class="topic-metadata">

**Author:** [@Bill\_Biker](https://forum.ansible.com/u/Bill_Biker)\
**Replies:** 0\
**Last updated:** [July 12, 2021, 5:24pm UTC](https://forum.ansible.com/t/how-to-connect-to-host-from-within-pod-container/35492 "2021-07-12T17:24:04Z")

</div>

Hello All, I have successfully installed the awx-operator complements of LondonAC. I have successuflly installed awx 19.2 complements to this link: https://www.linuxtechi.com/install-ansible-awx-kubernetes-minikube/ T…

---

## [How to apply ACL only if folder has really changed](https://forum.ansible.com/t/how-to-apply-acl-only-if-folder-has-really-changed/35491)

<div class="topic-metadata">

**Author:** [@Florent\_Loenix](https://forum.ansible.com/u/Florent_Loenix)\
**Replies:** 0\
**Last updated:** [July 12, 2021, 2:40pm UTC](https://forum.ansible.com/t/how-to-apply-acl-only-if-folder-has-really-changed/35491 "2021-07-12T14:40:11Z")

</div>

Hello, I have numerous folders containing a huge bunch of subfolders and files. For each folder, I am using ACL to configure the permission of my own user and the apache2 user (named web user). The web user can read r…

---

## [AWX 19.2.0 cant map LDAP groups as org admin](https://forum.ansible.com/t/awx-19-2-0-cant-map-ldap-groups-as-org-admin/35490)

<div class="topic-metadata">

**Author:** [@Isis\_Chien](https://forum.ansible.com/u/Isis_Chien)\
**Replies:** 1\
**Last updated:** [July 12, 2021, 10:00am UTC](https://forum.ansible.com/t/awx-19-2-0-cant-map-ldap-groups-as-org-admin/35490 "2021-07-12T10:00:58Z")

</div>

Hello i’m facing an issue with our ldap and awx 19.2, had opened a case which has been closed but still facing it ( https://github.com/ansible/awx/issues/10602 ) : Steps to reproduce Create an org and a team which it …

---

## [Ansible variables precedence](https://forum.ansible.com/t/ansible-variables-precedence/35489)

<div class="topic-metadata">

**Author:** [@nitjindal](https://forum.ansible.com/u/nitjindal)\
**Replies:** 0\
**Last updated:** [July 12, 2021, 7:18am UTC](https://forum.ansible.com/t/ansible-variables-precedence/35489 "2021-07-12T07:18:27Z")

</div>

Hi All having a query about variable precedence. Having roles calling like this: playbook/testplay.yml

---

## [how to use register as a key in yaml?](https://forum.ansible.com/t/how-to-use-register-as-a-key-in-yaml/35487)

<div class="topic-metadata">

**Author:** [@user49](https://forum.ansible.com/u/user49)\
**Replies:** 6\
**Last updated:** [July 10, 2021, 8:49am UTC](https://forum.ansible.com/t/how-to-use-register-as-a-key-in-yaml/35487 "2021-07-10T08:49:35Z")

</div>

ansible --version ansible \[core 2.11.1\]

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

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