# Latest

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

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

**Page:** 215

---

## [Issue with yaml in jinja2](https://forum.ansible.com/t/issue-with-yaml-in-jinja2/37734)

<div class="topic-metadata">

**Author:** [@Guido](https://forum.ansible.com/u/Guido)\
**Replies:** 2\
**Last updated:** [March 6, 2023, 7:21pm UTC](https://forum.ansible.com/t/issue-with-yaml-in-jinja2/37734 "2023-03-06T19:21:45Z")

</div>

Hi Ansible community., I’d like to share a problem I’m having while trying lo load a yaml formatted template and perhaps getting feedback from you on how to make it work. I wrote the following playbook: https://gist.gi…

---

## [Fetching varialble data into loops iterate/repeat](https://forum.ansible.com/t/fetching-varialble-data-into-loops-iterate-repeat/37728)

<div class="topic-metadata">

**Author:** [@AharonuReddy](https://forum.ansible.com/u/AharonuReddy)\
**Replies:** 12\
**Last updated:** [March 6, 2023, 7:06pm UTC](https://forum.ansible.com/t/fetching-varialble-data-into-loops-iterate-repeat/37728 "2023-03-06T19:06:57Z")

</div>

Hi Team, Greetings for the day! I have a variables called ‘aggregates’ under vars which ontaints cluster1,cluster3,cluster2…etc and aggr1,aggr2,aggr3…etc list as mentioned below. { “aggregates”: \[ \[ “Cluster1”, “a…

---

## [Inventory group not getting created when using add\_host and one of the iteration of task fails.](https://forum.ansible.com/t/inventory-group-not-getting-created-when-using-add-host-and-one-of-the-iteration-of-task-fails/37694)

<div class="topic-metadata">

**Author:** [@Bunty\_G](https://forum.ansible.com/u/Bunty_G)\
**Replies:** 1\
**Last updated:** [March 6, 2023, 6:09pm UTC](https://forum.ansible.com/t/inventory-group-not-getting-created-when-using-add-host-and-one-of-the-iteration-of-task-fails/37694 "2023-03-06T18:09:11Z")

</div>

Inventory group not getting created when using add\_host and one of the iteration of task fails. Below is the playbook

---

## [Stopping the k3s service does not stop the containers](https://forum.ansible.com/t/stopping-the-k3s-service-does-not-stop-the-containers/37722)

<div class="topic-metadata">

**Author:** [@mjksohonet](https://forum.ansible.com/u/mjksohonet)\
**Replies:** 2\
**Last updated:** [March 6, 2023, 5:19pm UTC](https://forum.ansible.com/t/stopping-the-k3s-service-does-not-stop-the-containers/37722 "2023-03-06T17:19:08Z")

</div>

Is this the expected/desired outcome?

---

## [Anyone have ansible pacemaker patch](https://forum.ansible.com/t/anyone-have-ansible-pacemaker-patch/37733)

<div class="topic-metadata">

**Author:** [@Vijay\_atluri](https://forum.ansible.com/u/Vijay_atluri)\
**Replies:** 0\
**Last updated:** [March 6, 2023, 4:56pm UTC](https://forum.ansible.com/t/anyone-have-ansible-pacemaker-patch/37733 "2023-03-06T16:56:17Z")

</div>

Anisble pacemaker to stop inactive mode and do patch after that move the resorces to inactive mode and do another server

---

## [How to use version compare test in selectattr?](https://forum.ansible.com/t/how-to-use-version-compare-test-in-selectattr/37732)

<div class="topic-metadata">

**Author:** [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Replies:** 3\
**Last updated:** [March 6, 2023, 3:39pm UTC](https://forum.ansible.com/t/how-to-use-version-compare-test-in-selectattr/37732 "2023-03-06T15:39:51Z")

</div>

Hi I'm trying to use version compare in selectattr but get error message "Version comparison failed: '\<' not supported between instances of 'int' and 'str' This is the playboot I'm using - hosts: localhost gather\_…

---

## [Template Module with\_nested ?](https://forum.ansible.com/t/template-module-with-nested/37729)

<div class="topic-metadata">

**Author:** [@Endure\_Kona](https://forum.ansible.com/u/Endure_Kona)\
**Replies:** 2\
**Last updated:** [March 6, 2023, 2:30am UTC](https://forum.ansible.com/t/template-module-with-nested/37729 "2023-03-06T02:30:30Z")

</div>

I have no clue why the template module fails and the shell works with the nested items. I don’t have ‘ORA\_SID’ any place but it keeps saying its ansible.errors.AnsibleUndefinedVariable, any ideas on this one would be wel…

---

## [Is it possible to run different nodes in same workflow templates at same automation-job pod?](https://forum.ansible.com/t/is-it-possible-to-run-different-nodes-in-same-workflow-templates-at-same-automation-job-pod/37708)

<div class="topic-metadata">

**Author:** [@user40](https://forum.ansible.com/u/user40)\
**Replies:** 4\
**Last updated:** [March 6, 2023, 12:48am UTC](https://forum.ansible.com/t/is-it-possible-to-run-different-nodes-in-same-workflow-templates-at-same-automation-job-pod/37708 "2023-03-06T00:48:52Z")

</div>

Hello! Is it possible to run different nodes in same workflow templates at same automation-job pod? workflow template visualizer example \[Start\] - \[A node\] - \[B node\] When I start workflow template, awx create automa…

---

## [Bazel definitions for Ansible roles, Molecule tests, etc](https://forum.ansible.com/t/bazel-definitions-for-ansible-roles-molecule-tests-etc/37726)

<div class="topic-metadata">

**Author:** [@CB1](https://forum.ansible.com/u/CB1)\
**Replies:** 0\
**Last updated:** [March 4, 2023, 12:05am UTC](https://forum.ansible.com/t/bazel-definitions-for-ansible-roles-molecule-tests-etc/37726 "2023-03-04T00:05:05Z")

</div>

Hi, Has anyone written Bazel definitions for Ansible roles, Molecule tests, and such? I would like within our Bazel framework to be able to run a molecule test by doing something along the lines of this: bazel test //…

---

## [How to call registered variable data in loops?](https://forum.ansible.com/t/how-to-call-registered-variable-data-in-loops/37723)

<div class="topic-metadata">

**Author:** [@AharonuReddy](https://forum.ansible.com/u/AharonuReddy)\
**Replies:** 1\
**Last updated:** [March 3, 2023, 10:02pm UTC](https://forum.ansible.com/t/how-to-call-registered-variable-data-in-loops/37723 "2023-03-03T22:02:09Z")

</div>

Hi Team, Could anyone please help on below query? Thank you. I have 2 registered variables data as example below. How to call those data over the loop? Vars: Cluster\_data: \[‘cluster1’,‘cluster2’\] Aggr\_data: \[‘aggr1’…

---

## [Error creating pod](https://forum.ansible.com/t/error-creating-pod/37720)

<div class="topic-metadata">

**Author:** [@pabbisetty.hm](https://forum.ansible.com/u/pabbisetty.hm)\
**Replies:** 1\
**Last updated:** [March 3, 2023, 6:33pm UTC](https://forum.ansible.com/t/error-creating-pod/37720 "2023-03-03T18:33:09Z")

</div>

Hello, We are using Awx on PKS/k8 and getting below error when launching a job. Each cluster is having four containers and unable to create pod, Can you suggest how I can solve this? Thank you

---

## [AWX SSH connection not establishing](https://forum.ansible.com/t/awx-ssh-connection-not-establishing/37695)

<div class="topic-metadata">

**Author:** [@Lennyf](https://forum.ansible.com/u/Lennyf)\
**Replies:** 3\
**Last updated:** [March 3, 2023, 6:23pm UTC](https://forum.ansible.com/t/awx-ssh-connection-not-establishing/37695 "2023-03-03T18:23:21Z")

</div>

Trying to run my first playbook. Running AWX on CentOS8,trying to connect to remote device using SSH. On my remote device I have run ssh-genkey on my device and added the .pub key to authorized\_keys file. I have also tak…

---

## [Pacemarker config](https://forum.ansible.com/t/pacemarker-config/13218)

<div class="topic-metadata">

**Author:** [@Eloy\_Coto\_Pereiro1](https://forum.ansible.com/u/Eloy_Coto_Pereiro1)\
**Replies:** 5\
**Last updated:** [March 3, 2023, 10:29am UTC](https://forum.ansible.com/t/pacemarker-config/13218 "2023-03-03T10:29:53Z")

</div>

Hi I want to setup pacemaker to setup my HA. I want to use ansible for all setup, but I don’t know how to use the resources of the live console. Pacemaker shell example: http://clusterlabs.org/wiki/Debian\_Lenny\_HowTo#…

---

## [PACEMAKER STOP](https://forum.ansible.com/t/pacemaker-stop/37721)

<div class="topic-metadata">

**Author:** [@Vijay\_atluri](https://forum.ansible.com/u/Vijay_atluri)\
**Replies:** 0\
**Last updated:** [March 3, 2023, 10:28am UTC](https://forum.ansible.com/t/pacemaker-stop/37721 "2023-03-03T10:28:04Z")

</div>

HI All Anyone have stopped pacemaker inactive node and do patch after that active mode has to move resources to another node and do the patching Regards VijayATluri

---

## [ansible variables for each os](https://forum.ansible.com/t/ansible-variables-for-each-os/37718)

<div class="topic-metadata">

**Author:** [@Kathy\_L](https://forum.ansible.com/u/Kathy_L)\
**Replies:** 3\
**Last updated:** [March 2, 2023, 7:34pm UTC](https://forum.ansible.com/t/ansible-variables-for-each-os/37718 "2023-03-02T19:34:09Z")

</div>

In our playbooks, we used to load one OS-specific vars file for all our roles. Now we’d like to move the variables into each role. A method I had to do this before does not seem to be working. For our auditd role, in the…

---

## [please help on this](https://forum.ansible.com/t/please-help-on-this/37719)

<div class="topic-metadata">

**Author:** [@Himasree\_chinthala](https://forum.ansible.com/u/Himasree_chinthala)\
**Replies:** 1\
**Last updated:** [March 2, 2023, 5:34pm UTC](https://forum.ansible.com/t/please-help-on-this/37719 "2023-03-02T17:34:10Z")

</div>

---

## [How can I pass variables to command module's argv parameter in Ansible?](https://forum.ansible.com/t/how-can-i-pass-variables-to-command-modules-argv-parameter-in-ansible/37638)

<div class="topic-metadata">

**Author:** [@tariver\_16](https://forum.ansible.com/u/tariver_16)\
**Replies:** 4\
**Last updated:** [March 2, 2023, 4:22pm UTC](https://forum.ansible.com/t/how-can-i-pass-variables-to-command-modules-argv-parameter-in-ansible/37638 "2023-03-02T16:22:45Z")

</div>

Greeting! Asked it on stackoverflow, but didn’t get an answer, so I’m trying my luck here. A bit condensed version: I’m trying to write a role that creates a Redis cluster. At some point I must execute redis-cli binar…

---

## [AWX - EE-latest issue with supported key types while using ssh key](https://forum.ansible.com/t/awx-ee-latest-issue-with-supported-key-types-while-using-ssh-key/37654)

<div class="topic-metadata">

**Author:** [@sinnl](https://forum.ansible.com/u/sinnl)\
**Replies:** 4\
**Last updated:** [March 2, 2023, 11:29am UTC](https://forum.ansible.com/t/awx-ee-latest-issue-with-supported-key-types-while-using-ssh-key/37654 "2023-03-02T11:29:58Z")

</div>

Hi, I recently started seeing almost twice as many systems failing and below error in the logs “Make sure this host can be reached over ssh: Unable to negotiate with XX.XX.XX.XXX port 22: no matching host key type foun…

---

## [How to modify (add) iptables rules in awx-on-k3s](https://forum.ansible.com/t/how-to-modify-add-iptables-rules-in-awx-on-k3s/37383)

<div class="topic-metadata">

**Author:** [@HG1](https://forum.ansible.com/u/HG1)\
**Replies:** 6\
**Last updated:** [March 2, 2023, 8:59am UTC](https://forum.ansible.com/t/how-to-modify-add-iptables-rules-in-awx-on-k3s/37383 "2023-03-02T08:59:11Z")

</div>

Hi, I have installed awx-on-k3s as described by kurokobo on https://github.com/kurokobo/awx-on-k3s. My postgres database is external and no longer inside a pod/container. Now I want to add firewall rules to harden the…

---

## [Ansible Community Strategy + Contributor Survey](https://forum.ansible.com/t/ansible-community-strategy-contributor-survey/37716)

<div class="topic-metadata">

**Author:** [@cybette](https://forum.ansible.com/u/cybette)\
**Replies:** 0\
**Last updated:** [March 2, 2023, 8:55am UTC](https://forum.ansible.com/t/ansible-community-strategy-contributor-survey/37716 "2023-03-02T08:55:14Z")

</div>

We want to hear from you! The Ansible community strategy for the year ahead has just been published, and with a look at the state of the community today. You can read them at: Ansible - State of the Community 2023 …

---

## [Trying to use local\_backup](https://forum.ansible.com/t/trying-to-use-local-backup/37651)

<div class="topic-metadata">

**Author:** [@Alain](https://forum.ansible.com/u/Alain)\
**Replies:** 6\
**Last updated:** [March 1, 2023, 9:58pm UTC](https://forum.ansible.com/t/trying-to-use-local-backup/37651 "2023-03-01T21:58:40Z")

</div>

Found the following: https://github.com/bcoca/local\_backup and trying to use it and I’m still quite new at this and probably doing something very obvious wrong. First tried to use ansible-galaxy install and that failed …

---

## [Can't edit multiple choice surveys.](https://forum.ansible.com/t/cant-edit-multiple-choice-surveys/37700)

<div class="topic-metadata">

**Author:** [@Purp-E](https://forum.ansible.com/u/Purp-E)\
**Replies:** 2\
**Last updated:** [March 1, 2023, 7:57pm UTC](https://forum.ansible.com/t/cant-edit-multiple-choice-surveys/37700 "2023-03-01T19:57:30Z")

</div>

Hello, since quite some time now I’m not able to edit any multiple choice surveys within the template. This kind of problem existed some time ago already but was somehow fixed and is now back. When try to edit a survey \<…

---

## [make docker-compose error](https://forum.ansible.com/t/make-docker-compose-error/37692)

<div class="topic-metadata">

**Author:** [@Ricardo\_Manuel\_Gonza](https://forum.ansible.com/u/Ricardo_Manuel_Gonza)\
**Replies:** 1\
**Last updated:** [March 1, 2023, 7:39pm UTC](https://forum.ansible.com/t/make-docker-compose-error/37692 "2023-03-01T19:39:25Z")

</div>

When I try to run make docker-compose to recreate the containers from an AWX installation with docker it gives me the following error ERROR: \[root@awxdev awx-21.6.0\]# make docker-compose make: python3.9: Command not f…

---

## [CSRF verification error for SAML auth on AWX-Operator deployment](https://forum.ansible.com/t/csrf-verification-error-for-saml-auth-on-awx-operator-deployment/37689)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 1\
**Last updated:** [March 1, 2023, 7:37pm UTC](https://forum.ansible.com/t/csrf-verification-error-for-saml-auth-on-awx-operator-deployment/37689 "2023-03-01T19:37:55Z")

</div>

Hi all, AWX-Operator version: 0.29.0 AWX version: 21.6.0 Ingress Type: ingress I have a 3 replica AWX deployment on a K8s cluster using AWX-Operator. I am trying to setup SAML authentication on this but getting CSRF …

---

## [Which method use 'wait\_for' to check open ports?](https://forum.ansible.com/t/which-method-use-wait-for-to-check-open-ports/37712)

<div class="topic-metadata">

**Author:** [@Leandro\_Montesoro](https://forum.ansible.com/u/Leandro_Montesoro)\
**Replies:** 1\
**Last updated:** [March 1, 2023, 7:04pm UTC](https://forum.ansible.com/t/which-method-use-wait-for-to-check-open-ports/37712 "2023-03-01T19:04:58Z")

</div>

Hi ! i’m making a playbook like this: name: Check all port numbers are accessible from current host wait\_for: host: “{{ item\[0\] }}” port: “{{ item\[1\] }}” state: started delay: 0 timeout: 3 delegate\_to: localhos…

---

## [Unable to Connect to Remote Host but Connecting to Local Server](https://forum.ansible.com/t/unable-to-connect-to-remote-host-but-connecting-to-local-server/37711)

<div class="topic-metadata">

**Author:** [@Poseidon\_Olympian](https://forum.ansible.com/u/Poseidon_Olympian)\
**Replies:** 0\
**Last updated:** [March 1, 2023, 5:22pm UTC](https://forum.ansible.com/t/unable-to-connect-to-remote-host-but-connecting-to-local-server/37711 "2023-03-01T17:22:19Z")

</div>

Hello… Looking for help and support on my issue in connecting to remote host. Basically, I can able to ssh to remote host but when trying to run an ansible ad-hoc to test my connection, it couldn’t connect to the remot…

---

## [Template module doesn't work with any kind of loop](https://forum.ansible.com/t/template-module-doesnt-work-with-any-kind-of-loop/37705)

<div class="topic-metadata">

**Author:** [@Darkhan](https://forum.ansible.com/u/Darkhan)\
**Replies:** 2\
**Last updated:** [March 1, 2023, 1:52pm UTC](https://forum.ansible.com/t/template-module-doesnt-work-with-any-kind-of-loop/37705 "2023-03-01T13:52:14Z")

</div>

Hello, I’m having a textbook task (taken straight out from the documentation examples) using template and with\_filetree: name: axis pipeline template: src: “{{ item.src }}” dest: “{{ logstash\_home }}/{{ item.path |…

---

## [Ansible dnf module](https://forum.ansible.com/t/ansible-dnf-module/37707)

<div class="topic-metadata">

**Author:** [@Alix\_Ak](https://forum.ansible.com/u/Alix_Ak)\
**Replies:** 0\
**Last updated:** [March 1, 2023, 11:07am UTC](https://forum.ansible.com/t/ansible-dnf-module/37707 "2023-03-01T11:07:06Z")

</div>

Lot of providers still provide yum repos and use the “dnf config-manager --add-repo” in their installation guide. I was expecting that the build-in dnf module would also support this basic feature. The config-manager pl…

---

## [Conversation deletion](https://forum.ansible.com/t/conversation-deletion/37706)

<div class="topic-metadata">

**Author:** [@Alix\_Ak](https://forum.ansible.com/u/Alix_Ak)\
**Replies:** 0\
**Last updated:** [March 1, 2023, 10:59am UTC](https://forum.ansible.com/t/conversation-deletion/37706 "2023-03-01T10:59:27Z")

</div>

I just created a new conversation to highlight an issue i am facing in Ansible dnf module and the conversation got directly deleted !

---

## [Ansible 7.3.0 has been Released!](https://forum.ansible.com/t/ansible-7-3-0-has-been-released/37704)

<div class="topic-metadata">

**Author:** [@Anwesha\_Das](https://forum.ansible.com/u/Anwesha_Das)\
**Replies:** 1\
**Last updated:** [March 1, 2023, 10:49am UTC](https://forum.ansible.com/t/ansible-7-3-0-has-been-released/37704 "2023-03-01T10:49:43Z")

</div>

Hello everyone, We're happy to announce that the Ansible 7.3.0 package has been released! Ansible 7.3.0 will include ansible-core 2.14 as well as a curated set of Ansible collections to provide a vast number of module…

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

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