# Archives

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

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

**Page:** 82

---

## [Approaches to distributing binary modules?](https://forum.ansible.com/t/approaches-to-distributing-binary-modules/36514)

<div class="topic-metadata">

**Author:** [@Jonas\_Kongslund](https://forum.ansible.com/u/Jonas_Kongslund)\
**Replies:** 0\
**Last updated:** [April 6, 2022, 12:59pm UTC](https://forum.ansible.com/t/approaches-to-distributing-binary-modules/36514 "2022-04-06T12:59:09Z")

</div>

Hi all, I am playing around with creating an Ansible collection and some modules for managing different aspects of an open-source service. I am writing the modules using Go since the service’s admin client SDK is only a…

---

## [stdout return 2 values](https://forum.ansible.com/t/stdout-return-2-values/36512)

<div class="topic-metadata">

**Author:** [@shco](https://forum.ansible.com/u/shco)\
**Replies:** 1\
**Last updated:** [April 6, 2022, 4:57am UTC](https://forum.ansible.com/t/stdout-return-2-values/36512 "2022-04-06T04:57:56Z")

</div>

Hi I try to get PID using Ansible. I try run the following lines but instead to get one value (PID) I get 2 values , 1 - PID and 2 - PID of Ansible process that running remotely. I get: “pid.stdout”: “2229\\n2456601” …

---

## [Servicenow behind proxy](https://forum.ansible.com/t/servicenow-behind-proxy/36486)

<div class="topic-metadata">

**Author:** [@Hamza\_Bouabdallah](https://forum.ansible.com/u/Hamza_Bouabdallah)\
**Replies:** 2\
**Last updated:** [April 5, 2022, 6:10am UTC](https://forum.ansible.com/t/servicenow-behind-proxy/36486 "2022-04-05T06:10:17Z")

</div>

Hello, Did anyone find a way to use servicenow itsm collection to manage a Servicenow instance located behind a proxy ? Thanks.

---

## [Module path error](https://forum.ansible.com/t/module-path-error/36508)

<div class="topic-metadata">

**Author:** [@Andrew\_McCartney](https://forum.ansible.com/u/Andrew_McCartney)\
**Replies:** 0\
**Last updated:** [April 5, 2022, 3:43am UTC](https://forum.ansible.com/t/module-path-error/36508 "2022-04-05T03:43:32Z")

</div>

Hello everyone, I have playbook i use to backup the configuration of a Cisco ASA. It was working great for some time but it now fails with the following message: TASK \[Gathering Facts\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [pyhotn. playbooks, gathering facts](https://forum.ansible.com/t/pyhotn-playbooks-gathering-facts/36505)

<div class="topic-metadata">

**Author:** [@Robert\_Kulyassa](https://forum.ansible.com/u/Robert_Kulyassa)\
**Replies:** 1\
**Last updated:** [April 4, 2022, 8:19pm UTC](https://forum.ansible.com/t/pyhotn-playbooks-gathering-facts/36505 "2022-04-04T20:19:11Z")

</div>

Hi all, I run multiple playbooks from directory in a python script, like this: pbex = PlaybookExecutor(playbooks=glob.glob(os.path.join(‘playbooks’,‘\*’), recursive=False), inventory=inventory, variable\_manager=variable…

---

## [The error was: KeyError: 'optional'](https://forum.ansible.com/t/the-error-was-keyerror-optional/36506)

<div class="topic-metadata">

**Author:** [@Delmiro\_Campelo](https://forum.ansible.com/u/Delmiro_Campelo)\
**Replies:** 0\
**Last updated:** [April 4, 2022, 4:32pm UTC](https://forum.ansible.com/t/the-error-was-keyerror-optional/36506 "2022-04-04T16:32:51Z")

</div>

Hello everyone, I’m writing here to see if you can help me with this issue. I have been trying to solve it for a while without any luck. The problem is with section of variables in the vmanage\_device\_attachment module. T…

---

## [How to take a key matches value in fact](https://forum.ansible.com/t/how-to-take-a-key-matches-value-in-fact/36500)

<div class="topic-metadata">

**Author:** [@yuvaraj\_k](https://forum.ansible.com/u/yuvaraj_k)\
**Replies:** 1\
**Last updated:** [April 4, 2022, 10:07am UTC](https://forum.ansible.com/t/how-to-take-a-key-matches-value-in-fact/36500 "2022-04-04T10:07:49Z")

</div>

json: “ec2\_asg”: { “changed”: false, “failed”: false, “results”: \[ { “tags”: \[ { “key”: “peer\_discovery\_backend”, “propagate\_at\_launch”: true, “resource\_id”: “AnsibleASG”, “resource\_type”: “auto-scaling-group”…

---

## [Microsoft Systemcenter Orchestrator for launching Ansible playbook](https://forum.ansible.com/t/microsoft-systemcenter-orchestrator-for-launching-ansible-playbook/36504)

<div class="topic-metadata">

**Author:** [@Julien\_Deloubes](https://forum.ansible.com/u/Julien_Deloubes)\
**Replies:** 0\
**Last updated:** [April 4, 2022, 9:54am UTC](https://forum.ansible.com/t/microsoft-systemcenter-orchestrator-for-launching-ansible-playbook/36504 "2022-04-04T09:54:39Z")

</div>

Hello, in my company we used MS systemcenter Orchestrator as an orchestrator (most of the servers are Windows based). As we have more and more Linux servers, i used Ansible to deploy configuration, etc … Question is: …

---

## [How to get if key ==matches to get value, Please help on this.](https://forum.ansible.com/t/how-to-get-if-key-matches-to-get-value-please-help-on-this/36503)

<div class="topic-metadata">

**Author:** [@yuvaraj\_k](https://forum.ansible.com/u/yuvaraj_k)\
**Replies:** 0\
**Last updated:** [April 4, 2022, 3:57am UTC](https://forum.ansible.com/t/how-to-get-if-key-matches-to-get-value-please-help-on-this/36503 "2022-04-04T03:57:57Z")

</div>

Input json: “ec2\_asg”: { “changed”: false, “failed”: false, “results”: \[ { “tags”: \[ { “key”: “peer\_discovery\_backend”, “propagate\_at\_launch”: true, “resource\_id”: “AnsibleASG”, “resource\_type”: “auto-scaling-…

---

## [How to tell what ansible-core version is associated to a awx version?](https://forum.ansible.com/t/how-to-tell-what-ansible-core-version-is-associated-to-a-awx-version/36498)

<div class="topic-metadata">

**Author:** [@Jonathan\_Bisbano](https://forum.ansible.com/u/Jonathan_Bisbano)\
**Replies:** 2\
**Last updated:** [April 1, 2022, 8:19pm UTC](https://forum.ansible.com/t/how-to-tell-what-ansible-core-version-is-associated-to-a-awx-version/36498 "2022-04-01T20:19:59Z")

</div>

I have been trying to find a way to determine what version of ansible-core is associated to a specific AWX version. The person who was in charge of handling the ansible box setup/deployment left the company and I am left…

---

## [Fresh install of AWX using AWX-Operator v0.19.0 on EKS using external RDS instance](https://forum.ansible.com/t/fresh-install-of-awx-using-awx-operator-v0-19-0-on-eks-using-external-rds-instance/36472)

<div class="topic-metadata">

**Author:** [@Jeremy\_Bouse](https://forum.ansible.com/u/Jeremy_Bouse)\
**Replies:** 8\
**Last updated:** [April 1, 2022, 7:31pm UTC](https://forum.ansible.com/t/fresh-install-of-awx-using-awx-operator-v0-19-0-on-eks-using-external-rds-instance/36472 "2022-04-01T19:31:29Z")

</div>

I have an old AWX v6.1.0.0 deployment running on an EKS cluster with a PostgreSQL 11 RDS instance backing it that I’m attempting to migrate to using AWX-Operator v0.19.0 running AWX v20.0.1 with a PostgreSQL 12 RDS insta…

---

## [Convert with\_X to loop: but when: condition being ignored?](https://forum.ansible.com/t/convert-with-x-to-loop-but-when-condition-being-ignored/36499)

<div class="topic-metadata">

**Author:** [@bob](https://forum.ansible.com/u/bob)\
**Replies:** 4\
**Last updated:** [April 1, 2022, 2:13pm UTC](https://forum.ansible.com/t/convert-with-x-to-loop-but-when-condition-being-ignored/36499 "2022-04-01T14:13:21Z")

</div>

I do not know if this is a bug or I do not know how to use when: with the loop: The tasks name: debug backuppc\_client\_mysql\_dump ansible.builtin.debug: msg: “{{ backuppc\_client\_mysql\_dump }}” when: backuppc\_client…

---

## [AWX-OPERATOR without Internet Connection](https://forum.ansible.com/t/awx-operator-without-internet-connection/36489)

<div class="topic-metadata">

**Author:** [@Bill\_Biker](https://forum.ansible.com/u/Bill_Biker)\
**Replies:** 3\
**Last updated:** [March 31, 2022, 11:04pm UTC](https://forum.ansible.com/t/awx-operator-without-internet-connection/36489 "2022-03-31T23:04:55Z")

</div>

Hello Members, I am finally able to get an AWX-OPERATOR configured and running on kubernetes. This is thanks to Calvin Remsburg’s youtube video “Up and Running with AWX” But… I am behind a firewall - and do not have a…

---

## [Grafana notifications: Fix panel/dashboardId type #11083](https://forum.ansible.com/t/grafana-notifications-fix-panel-dashboardid-type-11083/36310)

<div class="topic-metadata">

**Author:** [@Francois\_Van\_Heerden](https://forum.ansible.com/u/Francois_Van_Heerden)\
**Replies:** 9\
**Last updated:** [March 31, 2022, 6:34am UTC](https://forum.ansible.com/t/grafana-notifications-fix-panel-dashboardid-type-11083/36310 "2022-03-31T06:34:36Z")

</div>

Hello Can anyone perhaps assist with PR #11083 , first PR I am helping with testing wise and based on the recommended changes in awx/main/notifications/grafana\_backend.py the grafana notifications work on the recommende…

---

## [SET\_STATS NOT WORKING](https://forum.ansible.com/t/set-stats-not-working/36495)

<div class="topic-metadata">

**Author:** [@Federico\_Falour](https://forum.ansible.com/u/Federico_Falour)\
**Replies:** 1\
**Last updated:** [March 30, 2022, 8:18pm UTC](https://forum.ansible.com/t/set-stats-not-working/36495 "2022-03-30T20:18:19Z")

</div>

Hey everyone! I’m currently running a brand new AWX installation. Everything is working fine, and I thought of giving workflows a chance. Everything is working as expected, but the set\_stats command is not generating a …

---

## [AWX - Configure collection from Automation Hub](https://forum.ansible.com/t/awx-configure-collection-from-automation-hub/36490)

<div class="topic-metadata">

**Author:** [@hieronymus](https://forum.ansible.com/u/hieronymus)\
**Replies:** 1\
**Last updated:** [March 30, 2022, 7:30pm UTC](https://forum.ansible.com/t/awx-configure-collection-from-automation-hub/36490 "2022-03-30T19:30:42Z")

</div>

Good morning Members, On my AWX System I’ve configure collection from ansible-galaxy in collections/requirement.yml and all is fine. Now, I need to insert another collection but this time providing by Automation Hub. I…

---

## [Hiding passwords passed as artifacts](https://forum.ansible.com/t/hiding-passwords-passed-as-artifacts/36494)

<div class="topic-metadata">

**Author:** [@anasaizg](https://forum.ansible.com/u/anasaizg)\
**Replies:** 1\
**Last updated:** [March 30, 2022, 7:26pm UTC](https://forum.ansible.com/t/hiding-passwords-passed-as-artifacts/36494 "2022-03-30T19:26:50Z")

</div>

Hi I’m sorry if this has already been answered/solved, I couldn’t find it. We have a workflow with a first job template that gathers a lot of information and passes it defining variables through set\_stats so they can b…

---

## [Software agent installation via script](https://forum.ansible.com/t/software-agent-installation-via-script/36496)

<div class="topic-metadata">

**Author:** [@Nitrous](https://forum.ansible.com/u/Nitrous)\
**Replies:** 2\
**Last updated:** [March 30, 2022, 4:40pm UTC](https://forum.ansible.com/t/software-agent-installation-via-script/36496 "2022-03-30T16:40:30Z")

</div>

So we have an agent that we need to push to our servers, and below is the command to run it: LRSystemMonitor.exe /s /v" /qn ADDLOCAL=System\_Monitor HOST=xx.xx.xx.xx SERVERPORT=443 CLIENTADDRESS=0 CLIENTPORT=3333" Only …

---

## [awx 15.0.1 error on AD login](https://forum.ansible.com/t/awx-15-0-1-error-on-ad-login/36497)

<div class="topic-metadata">

**Author:** [@Gianluca\_Cecchi](https://forum.ansible.com/u/Gianluca_Cecchi)\
**Replies:** 0\
**Last updated:** [March 30, 2022, 2:22pm UTC](https://forum.ansible.com/t/awx-15-0-1-error-on-ad-login/36497 "2022-03-30T14:22:18Z")

</div>

Hello, I have an old awx install, on containers, based on awx 9.0.1.0 and ansible 2.8.5, that I’m trying to port to Oracle Linux Automation platform, that is based, as I see, on awx 15.0.1 and ansible 2.9.27 on an rpm i…

---

## [Run Multiple hosts error](https://forum.ansible.com/t/run-multiple-hosts-error/36493)

<div class="topic-metadata">

**Author:** [@Nitrous](https://forum.ansible.com/u/Nitrous)\
**Replies:** 6\
**Last updated:** [March 30, 2022, 2:00pm UTC](https://forum.ansible.com/t/run-multiple-hosts-error/36493 "2022-03-30T14:00:05Z")

</div>

I have a playbook called multiple.yml that tests for ping: name: Playbook for multiple hosts hosts: bgrsuistg tasks: name: ping win\_ping: My host file for bgrsuistg looks like this: \[bgrsuistg\] server1 ansible\_ho…

---

## [network\_cli+ssh + jumphost: ansible\_ssh\_common\_args is ignored](https://forum.ansible.com/t/network-cli-ssh-jumphost-ansible-ssh-common-args-is-ignored/36471)

<div class="topic-metadata">

**Author:** [@Gaetan\_QUENTIN](https://forum.ansible.com/u/Gaetan_QUENTIN)\
**Replies:** 4\
**Last updated:** [March 30, 2022, 11:31am UTC](https://forum.ansible.com/t/network-cli-ssh-jumphost-ansible-ssh-common-args-is-ignored/36471 "2022-03-30T11:31:08Z")

</div>

---

## [Issue 62360 not fixed?](https://forum.ansible.com/t/issue-62360-not-fixed/36492)

<div class="topic-metadata">

**Author:** [@John\_Pfuntner](https://forum.ansible.com/u/John_Pfuntner)\
**Replies:** 2\
**Last updated:** [March 29, 2022, 4:13pm UTC](https://forum.ansible.com/t/issue-62360-not-fixed/36492 "2022-03-29T16:13:57Z")

</div>

I opened issue 62360 and when I looked at it today, I saw it had been closed with the remark This has been fixed in supported versions of Ansible. I upgraded: ansible \[core 2.12.4\] config file = /etc/ansible/ansible.cf…

---

## [New releases: ansible-core 2.12.4, ansible-core 2.11.10](https://forum.ansible.com/t/new-releases-ansible-core-2-12-4-ansible-core-2-11-10/36491)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 0\
**Last updated:** [March 29, 2022, 1:54pm UTC](https://forum.ansible.com/t/new-releases-ansible-core-2-12-4-ansible-core-2-11-10/36491 "2022-03-29T13:54:05Z")

</div>

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

---

## [How ansible vault is safe  when using scripts?](https://forum.ansible.com/t/how-ansible-vault-is-safe-when-using-scripts/36468)

<div class="topic-metadata">

**Author:** [@batchenr](https://forum.ansible.com/u/batchenr)\
**Replies:** 6\
**Last updated:** [March 29, 2022, 8:49am UTC](https://forum.ansible.com/t/how-ansible-vault-is-safe-when-using-scripts/36468 "2022-03-29T08:49:00Z")

</div>

Hey, I dont understand how ansible vault is safe if i want to use in a script i need to give ansible the file where the password is saved in plain text… so i dont get it i do get it being safe if i do a prompts for th…

---

## [I want to init postgresql in k8s, who can share me the sample,thanks!](https://forum.ansible.com/t/i-want-to-init-postgresql-in-k8s-who-can-share-me-the-sample-thanks/36480)

<div class="topic-metadata">

**Author:** [@user122](https://forum.ansible.com/u/user122)\
**Replies:** 2\
**Last updated:** [March 29, 2022, 3:24am UTC](https://forum.ansible.com/t/i-want-to-init-postgresql-in-k8s-who-can-share-me-the-sample-thanks/36480 "2022-03-29T03:24:03Z")

</div>

Hi all, I want to init postgresql in k8s, try use the code as below to do: name: Get the password for postgresql kubernetes.core.k8s\_info: kind: secret name: postgresql-ha-postgresql namespace: pgdb register: pg…

---

## [Looping contruct - linode.cloud.nodebalancer](https://forum.ansible.com/t/looping-contruct-linode-cloud-nodebalancer/36488)

<div class="topic-metadata">

**Author:** [@John\_Stoffel](https://forum.ansible.com/u/John_Stoffel)\
**Replies:** 0\
**Last updated:** [March 28, 2022, 8:25pm UTC](https://forum.ansible.com/t/looping-contruct-linode-cloud-nodebalancer/36488 "2022-03-28T20:25:57Z")

</div>

Hi, I’m looking for some help in setting up a Linode Nodebalancer, but I think my question is more about how to build a more dynamic playbook using the ‘linode.cloud.nodebalancer’ module from Ansible Galaxy. So I could…

---

## [How to set-up playbook level Environment variable after a few tasks](https://forum.ansible.com/t/how-to-set-up-playbook-level-environment-variable-after-a-few-tasks/36483)

<div class="topic-metadata">

**Author:** [@Arundhati\_Bhende](https://forum.ansible.com/u/Arundhati_Bhende)\
**Replies:** 4\
**Last updated:** [March 28, 2022, 5:18pm UTC](https://forum.ansible.com/t/how-to-set-up-playbook-level-environment-variable-after-a-few-tasks/36483 "2022-03-28T17:18:27Z")

</div>

I need to set a playbook level Environment variable after executing some tasks. The variable needs to be set-up separately on each server by reading a file on the server – I am told I should use slurp, but do not know ho…

---

## [Apt behaviour](https://forum.ansible.com/t/apt-behaviour/36404)

<div class="topic-metadata">

**Author:** [@igorc](https://forum.ansible.com/u/igorc)\
**Replies:** 6\
**Last updated:** [March 28, 2022, 5:08pm UTC](https://forum.ansible.com/t/apt-behaviour/36404 "2022-03-28T17:08:58Z")

</div>

Hi all, Anyone knows why is apt behaving differently here? I have this var fonts\_packages: ttf-wqy-zenhei fonts-takao-mincho fonts-indic ttf-wqy-microhei and simple task: name: install additional fonts apt: name…

---

## [Ansible Query](https://forum.ansible.com/t/ansible-query/36485)

<div class="topic-metadata">

**Author:** [@Pritam\_Dadhe](https://forum.ansible.com/u/Pritam_Dadhe)\
**Replies:** 1\
**Last updated:** [March 28, 2022, 2:59pm UTC](https://forum.ansible.com/t/ansible-query/36485 "2022-03-28T14:59:05Z")

</div>

Hi Team, Can we implement Ansible setup on systems that are on multiple domains. If yes what are the steps we need to follow or it can be done with normal setup just by adding IP add to the hosts file. Thanks, Pritam…

---

## [Loop through CSV file](https://forum.ansible.com/t/loop-through-csv-file/36484)

<div class="topic-metadata">

**Author:** [@Delmiro\_Campelo](https://forum.ansible.com/u/Delmiro_Campelo)\
**Replies:** 2\
**Last updated:** [March 28, 2022, 2:42pm UTC](https://forum.ansible.com/t/loop-through-csv-file/36484 "2022-03-28T14:42:54Z")

</div>

I was hoping that you can give me a hand with an issue here. I have about a thousand routers that I’m trying to configure. I have all the device specific information on a CSV file that I would like to use for populating …

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

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