# Archives

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

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

**Page:** 45

---

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

---

## [How to set a task to run for a specific inventory group](https://forum.ansible.com/t/how-to-set-a-task-to-run-for-a-specific-inventory-group/37584)

<div class="topic-metadata">

**Author:** [@Emanuel\_Gonzalez](https://forum.ansible.com/u/Emanuel_Gonzalez)\
**Replies:** 3\
**Last updated:** [January 27, 2023, 2:26am UTC](https://forum.ansible.com/t/how-to-set-a-task-to-run-for-a-specific-inventory-group/37584 "2023-01-27T02:26:41Z")

</div>

Good morning everyone, this is my hosts file: web-servers: hosts: web01: ansible\_host: x.x.x.x web02: ansible\_host: x.x.x.x backend-servers: hosts: balance1: ansible\_host: x.x.x.x balance2: ansible\_host: x.x.…

---

## [Call to action - new beta Execution Environment testing](https://forum.ansible.com/t/call-to-action-new-beta-execution-environment-testing/37585)

<div class="topic-metadata">

**Author:** [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Replies:** 0\
**Last updated:** [January 26, 2023, 10:35pm UTC](https://forum.ansible.com/t/call-to-action-new-beta-execution-environment-testing/37585 "2023-01-26T22:35:22Z")

</div>

Hi all, A new Execution Environment was just pushed to quay.io/ansible/awx-ee:stream9-pre a little while ago. We’re looking to update the latest tag to stream 9 soon, since we now have version tags that people can pin t…

---

## [AWX Operator and multiple AWX instances](https://forum.ansible.com/t/awx-operator-and-multiple-awx-instances/37571)

<div class="topic-metadata">

**Author:** [@Diego\_Rivera](https://forum.ansible.com/u/Diego_Rivera)\
**Replies:** 3\
**Last updated:** [January 26, 2023, 9:04pm UTC](https://forum.ansible.com/t/awx-operator-and-multiple-awx-instances/37571 "2023-01-26T21:04:04Z")

</div>

Hi! In the README.md for the AWX operator in GitHub, it contains the following verbiage: Cluster-scope to Namespace-scope considerations Starting with awx-operator 0.14.0, AWX can only be deployed in the namespace tha…

---

## [Informational: Error opening pod stream on OpenShift](https://forum.ansible.com/t/informational-error-opening-pod-stream-on-openshift/37583)

<div class="topic-metadata">

**Author:** [@Kevin\_Knox](https://forum.ansible.com/u/Kevin_Knox)\
**Replies:** 0\
**Last updated:** [January 26, 2023, 4:53pm UTC](https://forum.ansible.com/t/informational-error-opening-pod-stream-on-openshift/37583 "2023-01-26T16:53:30Z")

</div>

I just wanted to make this note, in case anyone sees it in the future. Error opening pod stream: the server has asked for the client to provide credentials ( pods/log automation-job-14998-7k9xp) All of our AWX jobs wer…

---

## [is there a way to stop local awx dev env?](https://forum.ansible.com/t/is-there-a-way-to-stop-local-awx-dev-env/37567)

<div class="topic-metadata">

**Author:** [@Rok\_Poto](https://forum.ansible.com/u/Rok_Poto)\
**Replies:** 1\
**Last updated:** [January 25, 2023, 6:57pm UTC](https://forum.ansible.com/t/is-there-a-way-to-stop-local-awx-dev-env/37567 "2023-01-25T18:57:14Z")

</div>

Hello. I’ve raised local dev env according to the docs and wonder if there’s a way to stop it temporarily (e.g. in order to save computer resources) ? I’m looking to smth. like make docker-compose-stop. Or the only wa…

---

## [Silly (?) inventory problem](https://forum.ansible.com/t/silly-inventory-problem/37560)

<div class="topic-metadata">

**Author:** [@Norbert\_Klamann](https://forum.ansible.com/u/Norbert_Klamann)\
**Replies:** 2\
**Last updated:** [January 25, 2023, 12:43pm UTC](https://forum.ansible.com/t/silly-inventory-problem/37560 "2023-01-25T12:43:50Z")

</div>

Hello all, i want to use the ’ community.general.proxmox’ inventory. I call its in this way and get some errors which I do not understand: nsible-inventory -i inventory/local.proxmox.yaml --list /home/norbert/.local/…

---

## [Patching System with rollback function](https://forum.ansible.com/t/patching-system-with-rollback-function/37579)

<div class="topic-metadata">

**Author:** [@Fabiuscom](https://forum.ansible.com/u/Fabiuscom)\
**Replies:** 3\
**Last updated:** [January 25, 2023, 11:10am UTC](https://forum.ansible.com/t/patching-system-with-rollback-function/37579 "2023-01-25T11:10:49Z")

</div>

Hello, I need some information: if I want to install a patch using ansible, for example RHSA-2000:2023 and then I want to rollback because the patch has “brought” problems to the system, what could be a valid way to foll…

---

## [Need to deploy custom file to worker nodes](https://forum.ansible.com/t/need-to-deploy-custom-file-to-worker-nodes/37575)

<div class="topic-metadata">

**Author:** [@Kevin\_Knox](https://forum.ansible.com/u/Kevin_Knox)\
**Replies:** 7\
**Last updated:** [January 24, 2023, 7:01pm UTC](https://forum.ansible.com/t/need-to-deploy-custom-file-to-worker-nodes/37575 "2023-01-24T19:01:57Z")

</div>

I need a custom /etc/krb5.conf on my AWX worker nodes so they can log into Windows boxes in my company. I could do this with other files by copying the file to localhost as an initial task. I cannot do this with krb5.con…

---

## [SAML on Azure AD and accounts creation problem](https://forum.ansible.com/t/saml-on-azure-ad-and-accounts-creation-problem/37401)

<div class="topic-metadata">

**Author:** [@Cedric\_Mathieu](https://forum.ansible.com/u/Cedric_Mathieu)\
**Replies:** 8\
**Last updated:** [January 24, 2023, 4:12pm UTC](https://forum.ansible.com/t/saml-on-azure-ad-and-accounts-creation-problem/37401 "2023-01-24T16:12:40Z")

</div>

Hello, I’m currently connecting AWX to Azure AD with SAML to authenticate the users. The authentication works properly, but not the automatic user creation. If the user is not present in AWX, I got this error message: …

---

## [ansible playbook to run cmd using its root user (sudo rootsh) and password](https://forum.ansible.com/t/ansible-playbook-to-run-cmd-using-its-root-user-sudo-rootsh-and-password/37563)

<div class="topic-metadata">

**Author:** [@saravanan\_jothilinga](https://forum.ansible.com/u/saravanan_jothilinga)\
**Replies:** 12\
**Last updated:** [January 24, 2023, 1:13pm UTC](https://forum.ansible.com/t/ansible-playbook-to-run-cmd-using-its-root-user-sudo-rootsh-and-password/37563 "2023-01-24T13:13:37Z")

</div>

Hi, I am a novice to ansible and am practising to get more hands-on. I am trying one usecase where I need to connect to a remote SLES12 linux server using my id and then switch to root user and execute some tasks. While…

---

## [how to include template file inside other template file ?](https://forum.ansible.com/t/how-to-include-template-file-inside-other-template-file/37566)

<div class="topic-metadata">

**Author:** [@dudu.c](https://forum.ansible.com/u/dudu.c)\
**Replies:** 5\
**Last updated:** [January 24, 2023, 11:10am UTC](https://forum.ansible.com/t/how-to-include-template-file-inside-other-template-file/37566 "2023-01-24T11:10:14Z")

</div>

I have a template file called main.conf.j2 and this is distributed to all of my servers. There additional server that need to have a single configuration that should include the configuration of the main.conf.j2 file and…

---

## [Announcing AWX 21.11.0 and AWX-Operator 1.1.4](https://forum.ansible.com/t/announcing-awx-21-11-0-and-awx-operator-1-1-4/37576)

<div class="topic-metadata">

**Author:** [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Replies:** 0\
**Last updated:** [January 24, 2023, 2:29am UTC](https://forum.ansible.com/t/announcing-awx-21-11-0-and-awx-operator-1-1-4/37576 "2023-01-24T02:29:26Z")

</div>

Hi all, We’re happy to announce that the next release of AWX, version 21.11.0 is now available! Some notable features include: Bump receptorctl version to 1.3.0 Adds support for exact name searching against relat…

---

## [credssp: ('Connection aborted.'; ConnectionResetError(104; 'Connection reset by peer')](https://forum.ansible.com/t/credssp-connection-aborted-connectionreseterror-104-connection-reset-by-peer/37572)

<div class="topic-metadata">

**Author:** [@5d5985669a19a843b4d4](https://forum.ansible.com/u/5d5985669a19a843b4d4)\
**Replies:** 1\
**Last updated:** [January 23, 2023, 9:09pm UTC](https://forum.ansible.com/t/credssp-connection-aborted-connectionreseterror-104-connection-reset-by-peer/37572 "2023-01-23T21:09:48Z")

</div>

We are facing below error on Windows 2008 servers in Ansible report . credssp: (‘Connection aborted.’; ConnectionResetError(104; ‘Connection reset by peer’)) → 2008 server upgraded to PS ver 5.1 → WinRM is Enabled w…

---

## [DB for AWX DR](https://forum.ansible.com/t/db-for-awx-dr/37574)

<div class="topic-metadata">

**Author:** [@AWX\_Project2](https://forum.ansible.com/u/AWX_Project2)\
**Replies:** 0\
**Last updated:** [January 23, 2023, 7:01pm UTC](https://forum.ansible.com/t/db-for-awx-dr/37574 "2023-01-23T19:01:59Z")

</div>

Hi Team, I’m sure many of you must have setup DR fail over in other region. I’m doing it now. I have questions DB configuration. Questions: If I use read replica will AWX start? If read replica cannot be used then wh…

---

## [New release candidates: ansible-core 2.14.2rc1](https://forum.ansible.com/t/new-release-candidates-ansible-core-2-14-2rc1/37573)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 0\
**Last updated:** [January 23, 2023, 6:59pm UTC](https://forum.ansible.com/t/new-release-candidates-ansible-core-2-14-2rc1/37573 "2023-01-23T18:59:34Z")

</div>

Hi all- we’re happy to announce the following release candidates: ansible-core 2.14.2rc1 How to get it

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

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