# Archives

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

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

**Page:** 23

---

## [AWX 22.5 upgrade on 2 K8S cluster - facing issue with Load balancer - Urgent business is down](https://forum.ansible.com/t/awx-22-5-upgrade-on-2-k8s-cluster-facing-issue-with-load-balancer-urgent-business-is-down/38246)

<div class="topic-metadata">

**Author:** [@pabbisetty.hm](https://forum.ansible.com/u/pabbisetty.hm)\
**Replies:** 1\
**Last updated:** [July 24, 2023, 2:10pm UTC](https://forum.ansible.com/t/awx-22-5-upgrade-on-2-k8s-cluster-facing-issue-with-load-balancer-urgent-business-is-down/38246 "2023-07-24T14:10:37Z")

</div>

We have an AWX with 2 cluster K8S configuration (common external postgress db), with container instances as execution envs. When we fire up only 1 cluster, all works fine. When we bring up the second cluster, the “awx.…

---

## [Calling a secondary inventory file](https://forum.ansible.com/t/calling-a-secondary-inventory-file/38251)

<div class="topic-metadata">

**Author:** [@Endure\_Kona](https://forum.ansible.com/u/Endure_Kona)\
**Replies:** 1\
**Last updated:** [July 24, 2023, 12:59pm UTC](https://forum.ansible.com/t/calling-a-secondary-inventory-file/38251 "2023-07-24T12:59:32Z")

</div>

I looking to see if it is possible to call a inventory file that is built during the playbook? The role Set mailbox server to inventory file builds a new inventory file and I want to use that in Mailbox Statistics Collec…

---

## [Using multiple SSH keys in a template](https://forum.ansible.com/t/using-multiple-ssh-keys-in-a-template/38227)

<div class="topic-metadata">

**Author:** [@Christian\_Garling](https://forum.ansible.com/u/Christian_Garling)\
**Replies:** 3\
**Last updated:** [July 24, 2023, 6:25am UTC](https://forum.ansible.com/t/using-multiple-ssh-keys-in-a-template/38227 "2023-07-24T06:25:11Z")

</div>

Hi folks, I need to use two different SSH keys in a template to access all hosts in my inventory. I followed these howto: How to useSSH Keys for Multiple Credentials In Ansible Tower? - Red Hat Customer Portal And al…

---

## [Failed to install package NTP](https://forum.ansible.com/t/failed-to-install-package-ntp/38253)

<div class="topic-metadata">

**Author:** [@arjungoel\_1995](https://forum.ansible.com/u/arjungoel_1995)\
**Replies:** 9\
**Last updated:** [July 23, 2023, 5:52pm UTC](https://forum.ansible.com/t/failed-to-install-package-ntp/38253 "2023-07-23T17:52:57Z")

</div>

Hi, I was just testing a basic playbook in Ansible. Here is the playbook code:

---

## [Fresh install on GCP: relation "conf\_setting" does not exist at character 158](https://forum.ansible.com/t/fresh-install-on-gcp-relation-conf-setting-does-not-exist-at-character-158/38245)

<div class="topic-metadata">

**Author:** [@Petr\_Kuchynka](https://forum.ansible.com/u/Petr_Kuchynka)\
**Replies:** 1\
**Last updated:** [July 21, 2023, 2:23pm UTC](https://forum.ansible.com/t/fresh-install-on-gcp-relation-conf-setting-does-not-exist-at-character-158/38245 "2023-07-21T14:23:02Z")

</div>

Hello, I am getting " relation “conf\_setting” does not exist at character 158" on fresh install on GCP GKE, making the AWX UI unaccessible (HTTP 500). I have tried this multiple times with the same result. AWX Operato…

---

## [AWX 22.5 upgrade on 2 K8S cluster - facing issue with Load balancer - Urgent business is down](https://forum.ansible.com/t/awx-22-5-upgrade-on-2-k8s-cluster-facing-issue-with-load-balancer-urgent-business-is-down/38247)

<div class="topic-metadata">

**Author:** [@pabbisetty.hm](https://forum.ansible.com/u/pabbisetty.hm)\
**Replies:** 1\
**Last updated:** [July 20, 2023, 9:31pm UTC](https://forum.ansible.com/t/awx-22-5-upgrade-on-2-k8s-cluster-facing-issue-with-load-balancer-urgent-business-is-down/38247 "2023-07-20T21:31:29Z")

</div>

We have an AWX with 2 cluster K8S configuration (common external postgress db), with container instances as execution envs. When we fire up only 1 cluster, all works fine. When we bring up the second cluster, the “awx.…

---

## [Passing MariaDB query result](https://forum.ansible.com/t/passing-mariadb-query-result/38249)

<div class="topic-metadata">

**Author:** [@Alex\_Wanderley](https://forum.ansible.com/u/Alex_Wanderley)\
**Replies:** 8\
**Last updated:** [July 20, 2023, 7:44pm UTC](https://forum.ansible.com/t/passing-mariadb-query-result/38249 "2023-07-20T19:44:03Z")

</div>

Hello, I need to collect some hostnames from a MariaDB database but don’t know exactly how to properly parse the result of my query… Could somebody help? This how the tasks look like: name: Collect devices in down s…

---

## ["Decryption failed (no vault secrets were found that could decrypt)"](https://forum.ansible.com/t/decryption-failed-no-vault-secrets-were-found-that-could-decrypt/38222)

<div class="topic-metadata">

**Author:** [@Thomas\_Plank](https://forum.ansible.com/u/Thomas_Plank)\
**Replies:** 4\
**Last updated:** [July 20, 2023, 6:49pm UTC](https://forum.ansible.com/t/decryption-failed-no-vault-secrets-were-found-that-could-decrypt/38222 "2023-07-20T18:49:27Z")

</div>

After I’m stumbling over this problem and searching hours in similar problems, a final clarification would help me a lot. I’m running AWX on k3s using awx-operator and this guide: https://github.com/kurokobo/awx-on-k3s …

---

## [Ansible - variable to select artifact](https://forum.ansible.com/t/ansible-variable-to-select-artifact/38228)

<div class="topic-metadata">

**Author:** [@David\_Nadelson](https://forum.ansible.com/u/David_Nadelson)\
**Replies:** 6\
**Last updated:** [July 20, 2023, 4:01pm UTC](https://forum.ansible.com/t/ansible-variable-to-select-artifact/38228 "2023-07-20T16:01:25Z")

</div>

Hi All, I’m a DBA learning to use ansible to automate. I’m wondering if anyone can point me to docs on how to use ansible to select a file based on the value of a variable. i.e. if variable=x than choose 1.txt if variab…

---

## [Using the AWX Docker image at https://quay.io/repository/ansible/awx](https://forum.ansible.com/t/using-the-awx-docker-image-at-https-quay-io-repository-ansible-awx/38238)

<div class="topic-metadata">

**Author:** [@tlemons](https://forum.ansible.com/u/tlemons)\
**Replies:** 8\
**Last updated:** [July 20, 2023, 3:58pm UTC](https://forum.ansible.com/t/using-the-awx-docker-image-at-https-quay-io-repository-ansible-awx/38238 "2023-07-20T15:58:49Z")

</div>

Hi I like the idea of consuming Ansible in a ready-made Docker image. So when I found https://quay.io/repository/ansible/awx, I did a: docker pull quay.io/ansible/awx on my SLES system. But when I tried to run the ima…

---

## [ansible loop with when condition a register variable for more then one match string instance](https://forum.ansible.com/t/ansible-loop-with-when-condition-a-register-variable-for-more-then-one-match-string-instance/38242)

<div class="topic-metadata">

**Author:** [@Deepak\_B\_K](https://forum.ansible.com/u/Deepak_B_K)\
**Replies:** 4\
**Last updated:** [July 20, 2023, 1:20pm UTC](https://forum.ansible.com/t/ansible-loop-with-when-condition-a-register-variable-for-more-then-one-match-string-instance/38242 "2023-07-20T13:20:11Z")

</div>

Hi Team, I am trying to loop with a condition to match vm\_name for all the VM groups I see that the loop stops at the first instance match . I need help how can I run the loop for all the vm group name in the variable o…

---

## [Getting Permission Denied Error at vault mpount point path](https://forum.ansible.com/t/getting-permission-denied-error-at-vault-mpount-point-path/38243)

<div class="topic-metadata">

**Author:** [@Sonali\_Sarade](https://forum.ansible.com/u/Sonali_Sarade)\
**Replies:** 0\
**Last updated:** [July 20, 2023, 8:07am UTC](https://forum.ansible.com/t/getting-permission-denied-error-at-vault-mpount-point-path/38243 "2023-07-20T08:07:02Z")

</div>

hi Team, I’m trying to capture a vault signed key from vault via ansible. But getting permission denied to given mount point path. Checked for policy attached.It’s create, read, update, patch. Still it’s giving me per…

---

## [RuntimeError: Error streaming stdin to pod](https://forum.ansible.com/t/runtimeerror-error-streaming-stdin-to-pod/38220)

<div class="topic-metadata">

**Author:** [@Caleb\_Brewer\_Archery](https://forum.ansible.com/u/Caleb_Brewer_Archery)\
**Replies:** 3\
**Last updated:** [July 19, 2023, 6:43pm UTC](https://forum.ansible.com/t/runtimeerror-error-streaming-stdin-to-pod/38220 "2023-07-19T18:43:13Z")

</div>

When running a playbook, I get this error… RuntimeError: Error streaming stdin to pod awx/automation-job-96-p897n. Error: error sending request: Post “https://10.0.0.1:443/api/v1/namespaces/awx/pods/automation-job-96-p8…

---

## [Huawei ne error by playbook run](https://forum.ansible.com/t/huawei-ne-error-by-playbook-run/38082)

<div class="topic-metadata">

**Author:** [@Azadeh\_Amirhosseini](https://forum.ansible.com/u/Azadeh_Amirhosseini)\
**Replies:** 3\
**Last updated:** [July 19, 2023, 7:56am UTC](https://forum.ansible.com/t/huawei-ne-error-by-playbook-run/38082 "2023-07-19T07:56:29Z")

</div>

Hi All, To run my playbook which connects to a Huawei ne as its host, i get bellow error message. Any idea how can i resolve it please: TASK \[Commands NE Huawei\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* …

---

## [How to save stdout at awx-host filesystem](https://forum.ansible.com/t/how-to-save-stdout-at-awx-host-filesystem/36523)

<div class="topic-metadata">

**Author:** [@Guilherme\_Torres](https://forum.ansible.com/u/Guilherme_Torres)\
**Replies:** 11\
**Last updated:** [July 18, 2023, 5:51pm UTC](https://forum.ansible.com/t/how-to-save-stdout-at-awx-host-filesystem/36523 "2023-07-18T17:51:18Z")

</div>

Hello, I’m trying to save an output of switch configuration at my awx-host filesystem without success. I’m using awx 20. It used to work at awx 17 version. Now, it seems that the playbook is trying to create the file at…

---

## [Release Announcement: Ansible Community package 8.2.0](https://forum.ansible.com/t/release-announcement-ansible-community-package-8-2-0/38240)

<div class="topic-metadata">

**Author:** [@samccann](https://forum.ansible.com/u/samccann)\
**Replies:** 0\
**Last updated:** [July 18, 2023, 5:42pm UTC](https://forum.ansible.com/t/release-announcement-ansible-community-package-8-2-0/38240 "2023-07-18T17:42:10Z")

</div>

Hello everyone, We’re happy to announce the release of the Ansible 8.2.0 package! Ansible 8.2.0 includes latest version of ansible-core 2.15.2 and includes a curated set of Ansible collections that provides a vast numb…

---

## [Release Announcement: Ansible community package 8.2.0](https://forum.ansible.com/t/release-announcement-ansible-community-package-8-2-0/38239)

<div class="topic-metadata">

**Author:** [@samccann](https://forum.ansible.com/u/samccann)\
**Replies:** 0\
**Last updated:** [July 18, 2023, 5:39pm UTC](https://forum.ansible.com/t/release-announcement-ansible-community-package-8-2-0/38239 "2023-07-18T17:39:23Z")

</div>

Hello everyone, We’re happy to announce the release of the Ansible 8.2.0 package! Ansible 8.2.0 includes latest version of ansible-core 2.15.2 and includes a curated set of Ansible collections that provides a vast numb…

---

## [Please help me understand nested loops](https://forum.ansible.com/t/please-help-me-understand-nested-loops/38231)

<div class="topic-metadata">

**Author:** [@Werner\_van\_der\_Merwe](https://forum.ansible.com/u/Werner_van_der_Merwe)\
**Replies:** 4\
**Last updated:** [July 18, 2023, 2:03pm UTC](https://forum.ansible.com/t/please-help-me-understand-nested-loops/38231 "2023-07-18T14:03:40Z")

</div>

Hi, This code works, I just don’t understand the indexing and loop behaviour. Hoping someone can help me understand the indexing, and why the variables are equal to the values. Here the code: engineers: - username: us…

---

## [Output from "top" in shell module does not display the entire "COMMAND" column string](https://forum.ansible.com/t/output-from-top-in-shell-module-does-not-display-the-entire-command-column-string/38230)

<div class="topic-metadata">

**Author:** [@Luiz\_Gustavo](https://forum.ansible.com/u/Luiz_Gustavo)\
**Replies:** 2\
**Last updated:** [July 18, 2023, 9:48am UTC](https://forum.ansible.com/t/output-from-top-in-shell-module-does-not-display-the-entire-command-column-string/38230 "2023-07-18T09:48:14Z")

</div>

Hello, ansible -i \<inventory\_file\> -m shell -a “top -b -n 1 -d 1” -K -b --become-user=root Look at pid 4 where the result is “rcu\_par\*\*+\*\*” and should be “rcu\_par\_gp”. Why?: ansible output: | CHANGED | rc=0 \>…

---

## [Gather facts failed to execute on target(Redhat)](https://forum.ansible.com/t/gather-facts-failed-to-execute-on-target-redhat/38233)

<div class="topic-metadata">

**Author:** [@Pushparaj\_Gothandam](https://forum.ansible.com/u/Pushparaj_Gothandam)\
**Replies:** 3\
**Last updated:** [July 18, 2023, 6:18am UTC](https://forum.ansible.com/t/gather-facts-failed-to-execute-on-target-redhat/38233 "2023-07-18T06:18:59Z")

</div>

Hi Team, One of the server encountered the below issue while executing setup module, Can anyone help ? OS: redhat-release-5Server-5.11.0.9 Error message: “ansible\_facts”: { “discovered\_interpreter\_python”: “/usr/bin…

---

## [New release: ansible-core 2.13.11](https://forum.ansible.com/t/new-release-ansible-core-2-13-11/38237)

<div class="topic-metadata">

**Author:** [@Matt\_Clay1](https://forum.ansible.com/u/Matt_Clay1)\
**Replies:** 0\
**Last updated:** [July 18, 2023, 2:31am UTC](https://forum.ansible.com/t/new-release-ansible-core-2-13-11/38237 "2023-07-18T02:31:55Z")

</div>

Hi all- we’re happy to announce the general release of: ansible-core 2.13.11 How to get it

---

## [New release: ansible-core 2.14.8](https://forum.ansible.com/t/new-release-ansible-core-2-14-8/38236)

<div class="topic-metadata">

**Author:** [@Matt\_Clay1](https://forum.ansible.com/u/Matt_Clay1)\
**Replies:** 0\
**Last updated:** [July 18, 2023, 2:27am UTC](https://forum.ansible.com/t/new-release-ansible-core-2-14-8/38236 "2023-07-18T02:27:24Z")

</div>

Hi all- we’re happy to announce the general release of: ansible-core 2.14.8 How to get it

---

## [New release: ansible-core 2.15.2](https://forum.ansible.com/t/new-release-ansible-core-2-15-2/38235)

<div class="topic-metadata">

**Author:** [@Matt\_Clay1](https://forum.ansible.com/u/Matt_Clay1)\
**Replies:** 0\
**Last updated:** [July 18, 2023, 2:23am UTC](https://forum.ansible.com/t/new-release-ansible-core-2-15-2/38235 "2023-07-18T02:23:52Z")

</div>

Hi all- we’re happy to announce the general release of: ansible-core 2.15.2 How to get it

---

## [Cannot create a directory to save files using AWX templates](https://forum.ansible.com/t/cannot-create-a-directory-to-save-files-using-awx-templates/38234)

<div class="topic-metadata">

**Author:** [@vivek\_shete](https://forum.ansible.com/u/vivek_shete)\
**Replies:** 0\
**Last updated:** [July 17, 2023, 5:33pm UTC](https://forum.ansible.com/t/cannot-create-a-directory-to-save-files-using-awx-templates/38234 "2023-07-17T17:33:05Z")

</div>

Hi team, Thanks in advance for your help with this issue. I am trying to save some files using ansible playbook via AWX template. Template runs successfully and executes without an error. However I am unable to locate …

---

## [Use ansible adhoc command with vmware](https://forum.ansible.com/t/use-ansible-adhoc-command-with-vmware/38232)

<div class="topic-metadata">

**Author:** [@Wael\_ElMasry](https://forum.ansible.com/u/Wael_ElMasry)\
**Replies:** 1\
**Last updated:** [July 17, 2023, 2:07pm UTC](https://forum.ansible.com/t/use-ansible-adhoc-command-with-vmware/38232 "2023-07-17T14:07:41Z")

</div>

I am new to Ansible, is it possible to use the adhoc command with ansible module (vmware.vmware\_rest.\*) ? I am trying to run a simple comma to get virtual machine info. ansible -m vmware.vmware\_rest.vcenter\_vm\_info -a …

---

## [The module failed to execute correctly, you probably need to set the interpreter.\\nSee stdout/stderr for the exact error](https://forum.ansible.com/t/the-module-failed-to-execute-correctly-you-probably-need-to-set-the-interpreter-nsee-stdout-stderr-for-the-exact-error/38204)

<div class="topic-metadata">

**Author:** [@gusto](https://forum.ansible.com/u/gusto)\
**Replies:** 1\
**Last updated:** [July 17, 2023, 1:52pm UTC](https://forum.ansible.com/t/the-module-failed-to-execute-correctly-you-probably-need-to-set-the-interpreter-nsee-stdout-stderr-for-the-exact-error/38204 "2023-07-17T13:52:14Z")

</div>

Hi, I am new to ansible. I have installed ansible and am testing 2 debian servers (ping module) and it works fine ansible all -m ping server1 | SUCCESS =\> { “changed”: false, “ping”: “pong” } server2 | SUCCESS =\> …

---

## [Passing the var set in the 1st play to 2nd in the single playbook](https://forum.ansible.com/t/passing-the-var-set-in-the-1st-play-to-2nd-in-the-single-playbook/38229)

<div class="topic-metadata">

**Author:** [@Raj\_Kumar](https://forum.ansible.com/u/Raj_Kumar)\
**Replies:** 1\
**Last updated:** [July 17, 2023, 1:50pm UTC](https://forum.ansible.com/t/passing-the-var-set-in-the-1st-play-to-2nd-in-the-single-playbook/38229 "2023-07-17T13:50:23Z")

</div>

I am trying to set the var in the 1st play for same hosts and using the same in 2nd play in the same playbook for the same hosts but somehow the variable value is not getting passed to the 2nd play. How can i do this wit…

---

## [Access Vault Pass from inside dynamic inventory](https://forum.ansible.com/t/access-vault-pass-from-inside-dynamic-inventory/19245)

<div class="topic-metadata">

**Author:** [@Tom\_Paine1](https://forum.ansible.com/u/Tom_Paine1)\
**Replies:** 4\
**Last updated:** [July 17, 2023, 1:46pm UTC](https://forum.ansible.com/t/access-vault-pass-from-inside-dynamic-inventory/19245 "2023-07-17T13:46:58Z")

</div>

I have an executable python file that produces an inventory. Can I access the vault password passed on the command line from the script, or is the script run in isolation from everything else?

---

## [\[ansible-project \] getting unsafe ansible text when I trying to parse ansible register variable](https://forum.ansible.com/t/ansible-project-getting-unsafe-ansible-text-when-i-trying-to-parse-ansible-register-variable/38223)

<div class="topic-metadata">

**Author:** [@Deepak\_B\_K](https://forum.ansible.com/u/Deepak_B_K)\
**Replies:** 5\
**Last updated:** [July 17, 2023, 10:59am UTC](https://forum.ansible.com/t/ansible-project-getting-unsafe-ansible-text-when-i-trying-to-parse-ansible-register-variable/38223 "2023-07-17T10:59:15Z")

</div>

Hi Groups , I am trying to parse the list variable but I am getting ansible unsafe text I need to match the vm name and get the corresponding vm group from the registered variable vm\_groups. tasks: name: “Gather DRS…

---

## [Jobs hanging](https://forum.ansible.com/t/jobs-hanging/38156)

<div class="topic-metadata">

**Author:** [@Gregory\_Machin](https://forum.ansible.com/u/Gregory_Machin)\
**Replies:** 1\
**Last updated:** [July 17, 2023, 5:05am UTC](https://forum.ansible.com/t/jobs-hanging/38156 "2023-07-17T05:05:25Z")

</div>

Hi, I’m having an issue with jobs hanging. These jobs are patching windows servers. There are 3 templates that run concurrently these, each have an inventory of about 20 machines, the Forks are configured to 10. There…

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

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