# Latest

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

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

**Page:** 219

---

## [Can Collection make it to Galaxy if it doesn't support Python 2?](https://forum.ansible.com/t/can-collection-make-it-to-galaxy-if-it-doesnt-support-python-2/37612)

<div class="topic-metadata">

**Author:** [@Tomas\_Karasek](https://forum.ansible.com/u/Tomas_Karasek)\
**Replies:** 1\
**Last updated:** [February 2, 2023, 7:20pm UTC](https://forum.ansible.com/t/can-collection-make-it-to-galaxy-if-it-doesnt-support-python-2/37612 "2023-02-02T19:20:51Z")

</div>

Hey, I’m working on a new collection for an infrastructure provider (Equnix cloud). We’d like to move the collection to Galaxy at some point. There is only controller environment code, in other words, the code only runs …

---

## [upgrade 1.0.0 to 1.1.4 stuck repeating \[waiting for migrations\]](https://forum.ansible.com/t/upgrade-1-0-0-to-1-1-4-stuck-repeating-waiting-for-migrations/37613)

<div class="topic-metadata">

**Author:** [@trippinnik](https://forum.ansible.com/u/trippinnik)\
**Replies:** 1\
**Last updated:** [February 2, 2023, 4:45pm UTC](https://forum.ansible.com/t/upgrade-1-0-0-to-1-1-4-stuck-repeating-waiting-for-migrations/37613 "2023-02-02T16:45:12Z")

</div>

running into an issue when i ran an upgrade in my AWX on an AKS setup. The dev one ran fine but had been updated since the immutable awx-operator thing was fixed. I deleted the awx-operator like I have had to do in the …

---

## [JOB | Champion, Leader, Mentor (United Kingdom)](https://forum.ansible.com/t/job-champion-leader-mentor-united-kingdom/37611)

<div class="topic-metadata">

**Author:** [@ghost\_advocate](https://forum.ansible.com/u/ghost_advocate)\
**Replies:** 1\
**Last updated:** [February 2, 2023, 1:33pm UTC](https://forum.ansible.com/t/job-champion-leader-mentor-united-kingdom/37611 "2023-02-02T13:33:40Z")

</div>

Hello, I'm working with a low latency critical platform that is looking to hire someone anywhere in the UK to confidently run a team of on-premises Linux and automation engineers. You must be a champion, leader and me…

---

## [ansible connection issue on remote RHE5 linux server](https://forum.ansible.com/t/ansible-connection-issue-on-remote-rhe5-linux-server/37604)

<div class="topic-metadata">

**Author:** [@anish\_kumar2](https://forum.ansible.com/u/anish_kumar2)\
**Replies:** 3\
**Last updated:** [February 2, 2023, 1:33pm UTC](https://forum.ansible.com/t/ansible-connection-issue-on-remote-rhe5-linux-server/37604 "2023-02-02T13:33:40Z")

</div>

I am able to connect on other linux server from ansible but getting error on below server atal localhost-\>192.168.101.12\]: FAILED! =\> changed": false, “module\_stderr”: “Shared connection to 192.168.101.12\]closed in”, “m…

---

## [ansible-core 2.14 and determining if top level variables exist in source](https://forum.ansible.com/t/ansible-core-2-14-and-determining-if-top-level-variables-exist-in-source/37606)

<div class="topic-metadata">

**Author:** [@Chris\_Nokes](https://forum.ansible.com/u/Chris_Nokes)\
**Replies:** 3\
**Last updated:** [February 2, 2023, 1:17pm UTC](https://forum.ansible.com/t/ansible-core-2-14-and-determining-if-top-level-variables-exist-in-source/37606 "2023-02-02T13:17:00Z")

</div>

Hi, I just opened https://github.com/ansible/ansible/issues/79874 and Matt explained that 2.14 change is working as designed and closed the issue. Matt put a link in the issue describing variable lazy eval and how unde…

---

## [How to report multiple action of single task in ansible](https://forum.ansible.com/t/how-to-report-multiple-action-of-single-task-in-ansible/37609)

<div class="topic-metadata">

**Author:** [@Naveen\_Kandakur](https://forum.ansible.com/u/Naveen_Kandakur)\
**Replies:** 0\
**Last updated:** [February 2, 2023, 6:36am UTC](https://forum.ansible.com/t/how-to-report-multiple-action-of-single-task-in-ansible/37609 "2023-02-02T06:36:41Z")

</div>

Hi All, I am working on developing a custom Ansible module, where in one action makes multiple rest api post calls and i need to show the each post call result in the output, so is there any way to show each post call r…

---

## [Ansible 7.2.0 has been Released!](https://forum.ansible.com/t/ansible-7-2-0-has-been-released/37599)

<div class="topic-metadata">

**Author:** [@Christian\_Adams](https://forum.ansible.com/u/Christian_Adams)\
**Replies:** 1\
**Last updated:** [February 2, 2023, 4:05am UTC](https://forum.ansible.com/t/ansible-7-2-0-has-been-released/37599 "2023-02-02T04:05:51Z")

</div>

Hi all, We’re happy to announce that the Ansible 7.2.0 package has been released! Ansible 7.2.0 will include ansible-core 2.14.2 as well as a curated set of Ansible collections to provide a vast number of modules and …

---

## [Credential Module - Create Tower Credential with a Cyberark AIM Lookup as the password](https://forum.ansible.com/t/credential-module-create-tower-credential-with-a-cyberark-aim-lookup-as-the-password/37607)

<div class="topic-metadata">

**Author:** [@Spence](https://forum.ansible.com/u/Spence)\
**Replies:** 1\
**Last updated:** [February 1, 2023, 10:49pm UTC](https://forum.ansible.com/t/credential-module-create-tower-credential-with-a-cyberark-aim-lookup-as-the-password/37607 "2023-02-01T22:49:55Z")

</div>

Hello! I’m looking into creating credentials in Tower using the Ansible tower\_credential module. I can’t find any examples of this module where the password is a lookup/query vs. hard-coding a password. Presently, I ca…

---

## [awx-web container crashing repeatedly](https://forum.ansible.com/t/awx-web-container-crashing-repeatedly/37577)

<div class="topic-metadata">

**Author:** [@Kaushik\_R](https://forum.ansible.com/u/Kaushik_R)\
**Replies:** 3\
**Last updated:** [February 1, 2023, 7:54pm UTC](https://forum.ansible.com/t/awx-web-container-crashing-repeatedly/37577 "2023-02-01T19:54:27Z")

</div>

Hi Team, I have come across an issue where in the awx-web container is crashing repeatedly with the below error logs - 2023-01-24 15:44:09,624 DEBUG \[-\] awx.main.wsbroadcast Connection from awx-67cb856d46-qxlwq to 172.…

---

## [Any idea on this error how to resolve this](https://forum.ansible.com/t/any-idea-on-this-error-how-to-resolve-this/37594)

<div class="topic-metadata">

**Author:** [@rake](https://forum.ansible.com/u/rake)\
**Replies:** 1\
**Last updated:** [February 1, 2023, 7:47pm UTC](https://forum.ansible.com/t/any-idea-on-this-error-how-to-resolve-this/37594 "2023-02-01T19:47:52Z")

</div>

Any idea on this error how to resolve this unable to understand why this is not able to pull roles and also how can I pass force option in project sync like --force. TASK \[fetch galaxy roles from requirements.(yml/yaml)…

---

## [AWX 17.0.1 empty start date scheduling](https://forum.ansible.com/t/awx-17-0-1-empty-start-date-scheduling/37597)

<div class="topic-metadata">

**Author:** [@ALEX\_SEYMOUR](https://forum.ansible.com/u/ALEX_SEYMOUR)\
**Replies:** 1\
**Last updated:** [February 1, 2023, 7:23pm UTC](https://forum.ansible.com/t/awx-17-0-1-empty-start-date-scheduling/37597 "2023-02-01T19:23:08Z")

</div>

Hi, I am using AWX 17.0.1, and I’m a system administrator. An user has a problem when he want to edit/create a schedule object. the start date is empty. other users doesn’t have this problem. He tried with a temporary ac…

---

## [How to Work conditionals with "when" an variables](https://forum.ansible.com/t/how-to-work-conditionals-with-when-an-variables/37603)

<div class="topic-metadata">

**Author:** [@Emanuel\_Gonzalez](https://forum.ansible.com/u/Emanuel_Gonzalez)\
**Replies:** 2\
**Last updated:** [February 1, 2023, 4:56pm UTC](https://forum.ansible.com/t/how-to-work-conditionals-with-when-an-variables/37603 "2023-02-01T16:56:54Z")

</div>

Hi all, i need to understand how to work with this scenario. I have this: name: “Creating DNS Record In CloudFlare” hosts: localhost gather\_facts: no vars: “prod”: clfrecord-prod: “prod-{{ carrier }}” “stage”: …

---

## [simple problem but can't figure it out](https://forum.ansible.com/t/simple-problem-but-cant-figure-it-out/37602)

<div class="topic-metadata">

**Author:** [@dnmvisser](https://forum.ansible.com/u/dnmvisser)\
**Replies:** 2\
**Last updated:** [February 1, 2023, 2:06pm UTC](https://forum.ansible.com/t/simple-problem-but-cant-figure-it-out/37602 "2023-02-01T14:06:30Z")

</div>

Hi I am looking for a way to transform a list of strings into a list of dicts, where the string is a certain key’s value - without using a loop. So from this: my\_list: foo bar baz to: other\_list: somekey: foo som…

---

## [Ansible 7.2.0 has been Released!](https://forum.ansible.com/t/ansible-7-2-0-has-been-released/37600)

<div class="topic-metadata">

**Author:** [@Christian\_Adams](https://forum.ansible.com/u/Christian_Adams)\
**Replies:** 0\
**Last updated:** [January 31, 2023, 10:26pm UTC](https://forum.ansible.com/t/ansible-7-2-0-has-been-released/37600 "2023-01-31T22:26:25Z")

</div>

Hi all, We’re happy to announce that the Ansible 7.2.0 package has been released! Ansible 7.2.0 will include ansible-core 2.14.2 as well as a curated set of Ansible collections to provide a vast number of modules and …

---

## [ansible playbook to add multiple lines to conf file](https://forum.ansible.com/t/ansible-playbook-to-add-multiple-lines-to-conf-file/37598)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 7\
**Last updated:** [January 31, 2023, 9:26pm UTC](https://forum.ansible.com/t/ansible-playbook-to-add-multiple-lines-to-conf-file/37598 "2023-01-31T21:26:44Z")

</div>

trying to add multiple ntp servers to chrony.conf name: add line lineinfile: backup: no backrefs: no state: present path: “{{ file\_path }}” insertafter: “{{ line.replace\_with }}” line: “{{ line.line\_to\_add }}” …

---

## [Are jinja2 extensions available?](https://forum.ansible.com/t/are-jinja2-extensions-available/33229)

<div class="topic-metadata">

**Author:** [@Nick\_Kakouros](https://forum.ansible.com/u/Nick_Kakouros)\
**Replies:** 2\
**Last updated:** [January 31, 2023, 4:29pm UTC](https://forum.ansible.com/t/are-jinja2-extensions-available/33229 "2023-01-31T16:29:07Z")

</div>

Jinja2 documentation mentions some extensions that can be enabled. Are these available somehow? Can I enable them in Ansible? https://jinja.palletsprojects.com/en/2.11.x/templates/#extensions

---

## [New releases: ansible-core 2.14.2](https://forum.ansible.com/t/new-releases-ansible-core-2-14-2/37595)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 0\
**Last updated:** [January 30, 2023, 9:10pm UTC](https://forum.ansible.com/t/new-releases-ansible-core-2-14-2/37595 "2023-01-30T21:10:41Z")

</div>

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

---

## [Undefined Variable](https://forum.ansible.com/t/undefined-variable/37593)

<div class="topic-metadata">

**Author:** [@Keith\_Mills](https://forum.ansible.com/u/Keith_Mills)\
**Replies:** 5\
**Last updated:** [January 30, 2023, 6:28pm UTC](https://forum.ansible.com/t/undefined-variable/37593 "2023-01-30T18:28:18Z")

</div>

Hello All, I need help with and undefined variable in my Ansible Role! Any help will be appreciated! Ansible Version ansible 2.9.27 config file = /home/kjames/ansible.cfg configured module search path = \[u’/home/kja…

---

## [ssl for docker-compose AWX instance](https://forum.ansible.com/t/ssl-for-docker-compose-awx-instance/37592)

<div class="topic-metadata">

**Author:** [@Ivan\_Belousov](https://forum.ansible.com/u/Ivan_Belousov)\
**Replies:** 1\
**Last updated:** [January 30, 2023, 4:27pm UTC](https://forum.ansible.com/t/ssl-for-docker-compose-awx-instance/37592 "2023-01-30T16:27:34Z")

</div>

Hello, I’m trying to install ssl certificate on AWX instance which was installed with the docker-compose approach It seems that copying keys to folder /etc/pki/ca-trust/source/anchors/ and running “update-ca-trust” sho…

---

## [template - line break of bash script is skipped](https://forum.ansible.com/t/template-line-break-of-bash-script-is-skipped/37589)

<div class="topic-metadata">

**Author:** [@dulhaver](https://forum.ansible.com/u/dulhaver)\
**Replies:** 2\
**Last updated:** [January 30, 2023, 1:42pm UTC](https://forum.ansible.com/t/template-line-break-of-bash-script-is-skipped/37589 "2023-01-30T13:42:12Z")

</div>

I am using the template module for a bash script There is a problem with these lines cd $PGARCH {% raw %}while mapfile -t -n 20 ARCHIVE\_LOGS && ((${#ARCHIVE\_LOGS\[@\]})){% endraw %} do they should be like bel…

---

## [Memory consumption when working with large input args](https://forum.ansible.com/t/memory-consumption-when-working-with-large-input-args/37590)

<div class="topic-metadata">

**Author:** [@Paco\_Ramon\_Penella](https://forum.ansible.com/u/Paco_Ramon_Penella)\
**Replies:** 0\
**Last updated:** [January 30, 2023, 12:45pm UTC](https://forum.ansible.com/t/memory-consumption-when-working-with-large-input-args/37590 "2023-01-30T12:45:01Z")

</div>

Hi all, I realized that when working with large input arguments in a task, this causes problems of high memory consumption. Let me give you more details. I developed a custom module, called get\_artifacts, which receive…

---

## [Remove bracket and u from json data in ansi le](https://forum.ansible.com/t/remove-bracket-and-u-from-json-data-in-ansi-le/37578)

<div class="topic-metadata">

**Author:** [@Abhiroxxx](https://forum.ansible.com/u/Abhiroxxx)\
**Replies:** 9\
**Last updated:** [January 30, 2023, 12:29pm UTC](https://forum.ansible.com/t/remove-bracket-and-u-from-json-data-in-ansi-le/37578 "2023-01-30T12:29:07Z")

</div>

Hello All, I want remove bracket and u from json data in ansible. I am trying to retrieve data from json. I executed this code in playbook debug: msg: “{{ item }}” loop: “{{ raidurl1 | json\_query(‘json.Members\[\].\[\]…

---

## [Help with loop tasks Ansible](https://forum.ansible.com/t/help-with-loop-tasks-ansible/37586)

<div class="topic-metadata">

**Author:** [@voishunter](https://forum.ansible.com/u/voishunter)\
**Replies:** 1\
**Last updated:** [January 30, 2023, 12:07pm UTC](https://forum.ansible.com/t/help-with-loop-tasks-ansible/37586 "2023-01-30T12:07:12Z")

</div>

I have a trouble with my tasks and can’t find solution. Maybe u can help me) I need to loop this tasks if “{{country\_info\_loop}} != {{region}}” but if “{{country\_info\_loop}} == {{region}}” then stop it. - name: St…

---

## [No module named 'packaging'](https://forum.ansible.com/t/no-module-named-packaging/37580)

<div class="topic-metadata">

**Author:** [@Kevin\_Knox](https://forum.ansible.com/u/Kevin_Knox)\
**Replies:** 8\
**Last updated:** [January 27, 2023, 8:55pm UTC](https://forum.ansible.com/t/no-module-named-packaging/37580 "2023-01-27T20:55:47Z")

</div>

I’m running 20.10.2 with operator 1.1.3 and having a lot of joy. Things are beginning to work, but this is a new problem in the ephemeral worker node: An exception occurred during task execution. To see the full traceba…

---

## [How to use existing network in a different RG in Azure with ansible](https://forum.ansible.com/t/how-to-use-existing-network-in-a-different-rg-in-azure-with-ansible/37588)

<div class="topic-metadata">

**Author:** [@williamflow](https://forum.ansible.com/u/williamflow)\
**Replies:** 0\
**Last updated:** [January 27, 2023, 8:46pm UTC](https://forum.ansible.com/t/how-to-use-existing-network-in-a-different-rg-in-azure-with-ansible/37588 "2023-01-27T20:46:09Z")

</div>

My goal here is to create a VM in Azure with Ansible name: Create a VM azure.azcollection.azure\_rm\_virtualmachine: resource\_group: RG-Bill name: testvm002 vm\_size: Standard\_DS1\_v2 admin\_username: centos ssh\_publi…

---

## [awx-manage command](https://forum.ansible.com/t/awx-manage-command/37568)

<div class="topic-metadata">

**Author:** [@chandruv21](https://forum.ansible.com/u/chandruv21)\
**Replies:** 1\
**Last updated:** [January 27, 2023, 6:31pm UTC](https://forum.ansible.com/t/awx-manage-command/37568 "2023-01-27T18:31:35Z")

</div>

Hi Team, What is the difference between below awx-manage command awx-manage cleanup\_jobs --days 60 --jobs vs awx-manage cleanup\_jobs --days 60 Thank you in Advance!! Regards, Chandrashekar B

---

## [AWX-Operator into kubernetes cluster in Google Cloud fails to synchronize inventorys from gitlab](https://forum.ansible.com/t/awx-operator-into-kubernetes-cluster-in-google-cloud-fails-to-synchronize-inventorys-from-gitlab/37581)

<div class="topic-metadata">

**Author:** [@Joan\_Cholvi](https://forum.ansible.com/u/Joan_Cholvi)\
**Replies:** 2\
**Last updated:** [January 27, 2023, 6:13pm UTC](https://forum.ansible.com/t/awx-operator-into-kubernetes-cluster-in-google-cloud-fails-to-synchronize-inventorys-from-gitlab/37581 "2023-01-27T18:13:46Z")

</div>

Hello! I am having trouble configuring AWX on a kubernetes cluster on GCP (Google Cloud). I have deployed Operator and it has deployed has deployed AWX ok. I can login from the web and can log in ok. I have in a gitlab…

---

## [Looking For next Integer Directory created , if current already exist.](https://forum.ansible.com/t/looking-for-next-integer-directory-created-if-current-already-exist/37587)

<div class="topic-metadata">

**Author:** [@javed\_khan\_siddque](https://forum.ansible.com/u/javed_khan_siddque)\
**Replies:** 5\
**Last updated:** [January 27, 2023, 3:36pm UTC](https://forum.ansible.com/t/looking-for-next-integer-directory-created-if-current-already-exist/37587 "2023-01-27T15:36:02Z")

</div>

i am looking for some concent like below Look For /var/test01 , if not there create it- test01 Look For /var/test01 , if already exist then move to next name :- test02 (move like next integer number) Look for /var/test…

---

## [Jobs inconsistently report "Error" although run to completion](https://forum.ansible.com/t/jobs-inconsistently-report-error-although-run-to-completion/37538)

<div class="topic-metadata">

**Author:** [@Brian\_O\_Neill](https://forum.ansible.com/u/Brian_O_Neill)\
**Replies:** 24\
**Last updated:** [January 27, 2023, 2:55pm UTC](https://forum.ansible.com/t/jobs-inconsistently-report-error-although-run-to-completion/37538 "2023-01-27T14:55:28Z")

</div>

I am testing a new AWX installation (AWX Operator 1.1.3, all defaults, AWX 21.10.2) on EKS (1.24). I am running the same job over and over - simple file update job. When I run it, sometimes it completes successfully, bu…

---

## [how i will get rid of dictionary or only grab first match in loop output with satisfying when condition.](https://forum.ansible.com/t/how-i-will-get-rid-of-dictionary-or-only-grab-first-match-in-loop-output-with-satisfying-when-condition/37569)

<div class="topic-metadata">

**Author:** [@javed\_khan\_siddque](https://forum.ansible.com/u/javed_khan_siddque)\
**Replies:** 4\
**Last updated:** [January 27, 2023, 1:31pm UTC](https://forum.ansible.com/t/how-i-will-get-rid-of-dictionary-or-only-grab-first-match-in-loop-output-with-satisfying-when-condition/37569 "2023-01-27T13:31:34Z")

</div>

Hi Team, how i will get rid of dictionary or only grab first match in loop output with satisfying when condition.

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

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