# Latest

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

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

**Page:** 242

---

## [Double Headers when using both profile\_tasks and profile\_roles](https://forum.ansible.com/t/double-headers-when-using-both-profile-tasks-and-profile-roles/36942)

<div class="topic-metadata">

**Author:** [@Jay\_Grace](https://forum.ansible.com/u/Jay_Grace)\
**Replies:** 1\
**Last updated:** [August 3, 2022, 6:21pm UTC](https://forum.ansible.com/t/double-headers-when-using-both-profile-tasks-and-profile-roles/36942 "2022-08-03T18:21:02Z")

</div>

When I use both profile\_tasks and profile\_roles in my ansible.cfg I get two headers lines. How do I trim that down to just one (or none just for knowledge’s sake)? For example I only want one header line with the date t…

---

## [Fetch VM Info from Ansible](https://forum.ansible.com/t/fetch-vm-info-from-ansible/36932)

<div class="topic-metadata">

**Author:** [@Pugazhendhi\_Ramakris](https://forum.ansible.com/u/Pugazhendhi_Ramakris)\
**Replies:** 3\
**Last updated:** [August 3, 2022, 6:11pm UTC](https://forum.ansible.com/t/fetch-vm-info-from-ansible/36932 "2022-08-03T18:11:20Z")

</div>

I’m using the “vmware\_vm\_info” module to fetch the VM name with the below playbook and it is working fine but if I try to add the ?guest\_name==‘vm\_name’ as variable it is not working. Can you please suggest how to genera…

---

## [Multiple volumes attach to ec2 from single snapshot](https://forum.ansible.com/t/multiple-volumes-attach-to-ec2-from-single-snapshot/36939)

<div class="topic-metadata">

**Author:** [@Parth\_Patel](https://forum.ansible.com/u/Parth_Patel)\
**Replies:** 1\
**Last updated:** [August 3, 2022, 6:06pm UTC](https://forum.ansible.com/t/multiple-volumes-attach-to-ec2-from-single-snapshot/36939 "2022-08-03T18:06:16Z")

</div>

Hi Team, I would like to know the approach to attach more than then the same volume to ec2 generated from a single snapshot only. I did achieve generating a single volume and attaching it to ec2 from the snapshot. ama…

---

## [AWX restore fails  (postgres part succeeds however)](https://forum.ansible.com/t/awx-restore-fails-postgres-part-succeeds-however/36915)

<div class="topic-metadata">

**Author:** [@HG1](https://forum.ansible.com/u/HG1)\
**Replies:** 4\
**Last updated:** [August 3, 2022, 5:04pm UTC](https://forum.ansible.com/t/awx-restore-fails-postgres-part-succeeds-however/36915 "2022-08-03T17:04:32Z")

</div>

Hello all Note: My production environment currently used awx-operator 0.14. and I am using that too here.This because I want to test upgrading etc. Whackup using awx-on-k3s it fails. After it has completed (unsuccesfu…

---

## [Alma Linux not recognised as RedHat family](https://forum.ansible.com/t/alma-linux-not-recognised-as-redhat-family/36930)

<div class="topic-metadata">

**Author:** [@shane.do](https://forum.ansible.com/u/shane.do)\
**Replies:** 1\
**Last updated:** [August 3, 2022, 4:03pm UTC](https://forum.ansible.com/t/alma-linux-not-recognised-as-redhat-family/36930 "2022-08-03T16:03:01Z")

</div>

I’ve got some playbooks that install updates to some servers based on operating system family like so: include\_tasks: update-RedHat.yml when: (ansible\_os\_family == ‘RedHat’) include\_tasks: update-Debian.yml when:…

---

## [Preferred installation variant: Helm Chart or Kustomize](https://forum.ansible.com/t/preferred-installation-variant-helm-chart-or-kustomize/36928)

<div class="topic-metadata">

**Author:** [@Robert1](https://forum.ansible.com/u/Robert1)\
**Replies:** 1\
**Last updated:** [August 3, 2022, 2:59pm UTC](https://forum.ansible.com/t/preferred-installation-variant-helm-chart-or-kustomize/36928 "2022-08-03T14:59:33Z")

</div>

Hi, what is the preferred way to install the AWX operator? (Helm Chart or Kustomize?) Which will be supported for sure for the next years? Which variant is most commonly used by developers itself? Best regards, Robé…

---

## [ProxyCommand fails on \> ansible 3.4.0 using network\_cli](https://forum.ansible.com/t/proxycommand-fails-on-ansible-3-4-0-using-network-cli/36916)

<div class="topic-metadata">

**Author:** [@thijn](https://forum.ansible.com/u/thijn)\
**Replies:** 2\
**Last updated:** [August 3, 2022, 2:12pm UTC](https://forum.ansible.com/t/proxycommand-fails-on-ansible-3-4-0-using-network-cli/36916 "2022-08-03T14:12:38Z")

</div>

Hi, For connectivity to Cisco XR devices, i need to use one or more jumphosts. I am using: ansible\_ssh\_common\_args: -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ProxyCommand=“ssh -W %h:%p -q jumphost…

---

## [Share data between lookup plugin instances](https://forum.ansible.com/t/share-data-between-lookup-plugin-instances/36938)

<div class="topic-metadata">

**Author:** [@Pieter\_Voet](https://forum.ansible.com/u/Pieter_Voet)\
**Replies:** 2\
**Last updated:** [August 3, 2022, 2:07pm UTC](https://forum.ansible.com/t/share-data-between-lookup-plugin-instances/36938 "2022-08-03T14:07:15Z")

</div>

Hi all, I’ve written a lookup plugin that authenticates to some REST endpoint. Once authenticated a token is returned that can be reused for further REST calls. Is there a way I can store the token someplace, so that …

---

## [how to read the ansible.cfg file variables in ansible custom modules](https://forum.ansible.com/t/how-to-read-the-ansible-cfg-file-variables-in-ansible-custom-modules/36937)

<div class="topic-metadata">

**Author:** [@Naveen\_Kandakur](https://forum.ansible.com/u/Naveen_Kandakur)\
**Replies:** 3\
**Last updated:** [August 3, 2022, 1:13pm UTC](https://forum.ansible.com/t/how-to-read-the-ansible-cfg-file-variables-in-ansible-custom-modules/36937 "2022-08-03T13:13:25Z")

</div>

I am new to Ansible Custom module development, can any one help me how i can access the variables defined in ansible.cfg file into my ansible modules python file.

---

## [unsupported parameter for ios\_l2\_interfaces](https://forum.ansible.com/t/unsupported-parameter-for-ios-l2-interfaces/36918)

<div class="topic-metadata">

**Author:** [@Hossein\_Malakooti](https://forum.ansible.com/u/Hossein_Malakooti)\
**Replies:** 9\
**Last updated:** [August 3, 2022, 2:07am UTC](https://forum.ansible.com/t/unsupported-parameter-for-ios-l2-interfaces/36918 "2022-08-03T02:07:05Z")

</div>

Hello All I am getting unsupported parameter for ios\_l2\_interfaces error when I am trying to run a simple playbook to change VLAN on an interface . I’ve attached my playbook , inventory and anssible.cfg plus -vvv result…

---

## [Ansible 6.2.0 has been released!](https://forum.ansible.com/t/ansible-6-2-0-has-been-released/36936)

<div class="topic-metadata">

**Author:** [@Ompragash](https://forum.ansible.com/u/Ompragash)\
**Replies:** 1\
**Last updated:** [August 3, 2022, 1:28am UTC](https://forum.ansible.com/t/ansible-6-2-0-has-been-released/36936 "2022-08-03T01:28:46Z")

</div>

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

---

## [What ansible-runner / receptor versions does AWX (21.3.0) use?](https://forum.ansible.com/t/what-ansible-runner-receptor-versions-does-awx-21-3-0-use/36934)

<div class="topic-metadata">

**Author:** [@Stefan\_Coussens](https://forum.ansible.com/u/Stefan_Coussens)\
**Replies:** 1\
**Last updated:** [August 2, 2022, 6:04pm UTC](https://forum.ansible.com/t/what-ansible-runner-receptor-versions-does-awx-21-3-0-use/36934 "2022-08-02T18:04:58Z")

</div>

Hi, I am playing around with AWX and tring to understand how things work. I am experimenting with the docker-compose version and trying to get an outside receptor node working. I think I have an issue where I am using …

---

## [Announcing AWX 21.4.0 and AWX-Operator 0.26.0](https://forum.ansible.com/t/announcing-awx-21-4-0-and-awx-operator-0-26-0/36935)

<div class="topic-metadata">

**Author:** [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Replies:** 0\
**Last updated:** [August 2, 2022, 5:28pm UTC](https://forum.ansible.com/t/announcing-awx-21-4-0-and-awx-operator-0-26-0/36935 "2022-08-02T17:28:32Z")

</div>

Hi all, We’re happy to announce that the next release of AWX, version 21.4.0 is now available! Some notable features include: Bump Receptorctl to 1.2.3 Added forks to unified jobs table. Remove update\_on\_proje…

---

## [My automation tasks are failed](https://forum.ansible.com/t/my-automation-tasks-are-failed/36929)

<div class="topic-metadata">

**Author:** [@Ahilan\_Swaminathan](https://forum.ansible.com/u/Ahilan_Swaminathan)\
**Replies:** 1\
**Last updated:** [August 2, 2022, 12:53pm UTC](https://forum.ansible.com/t/my-automation-tasks-are-failed/36929 "2022-08-02T12:53:21Z")

</div>

Hi We deployed AWX in K8s single node cluster successfully but when we run any task from AWX web console that task will be failed and we checked the logs and found the below error.

---

## [AWS cross account role with ansible](https://forum.ansible.com/t/aws-cross-account-role-with-ansible/36931)

<div class="topic-metadata">

**Author:** [@Aditya\_Chauhan](https://forum.ansible.com/u/Aditya_Chauhan)\
**Replies:** 0\
**Last updated:** [August 2, 2022, 8:57am UTC](https://forum.ansible.com/t/aws-cross-account-role-with-ansible/36931 "2022-08-02T08:57:52Z")

</div>

How can we achieve AWS cross account role with ansible?

---

## [AWX and Host Collections](https://forum.ansible.com/t/awx-and-host-collections/36919)

<div class="topic-metadata">

**Author:** [@Brad\_Saxton](https://forum.ansible.com/u/Brad_Saxton)\
**Replies:** 2\
**Last updated:** [August 2, 2022, 4:30am UTC](https://forum.ansible.com/t/awx-and-host-collections/36919 "2022-08-02T04:30:16Z")

</div>

I hope that someone can help and that I’m just missing something obvious. I have Red Hat Satellite set to create and populate a number of Host Collections. Essentially so I can treat specific groups of machines as a gro…

---

## [rsync failure](https://forum.ansible.com/t/rsync-failure/36927)

<div class="topic-metadata">

**Author:** [@Ashok-2017](https://forum.ansible.com/u/Ashok-2017)\
**Replies:** 8\
**Last updated:** [August 2, 2022, 1:59am UTC](https://forum.ansible.com/t/rsync-failure/36927 "2022-08-02T01:59:01Z")

</div>

---

## [I need to save fact into variable and use it afterwards](https://forum.ansible.com/t/i-need-to-save-fact-into-variable-and-use-it-afterwards/36917)

<div class="topic-metadata">

**Author:** [@mboncalo](https://forum.ansible.com/u/mboncalo)\
**Replies:** 6\
**Last updated:** [August 1, 2022, 4:04pm UTC](https://forum.ansible.com/t/i-need-to-save-fact-into-variable-and-use-it-afterwards/36917 "2022-08-01T16:04:08Z")

</div>

I have a task with run\_once:true , which must run only on the first host and I need to use that hostname into a lookup file , something like this: name: Print facts debug: var: ansible\_nodename register: admin\_host …

---

## [Newbie question](https://forum.ansible.com/t/newbie-question/36901)

<div class="topic-metadata">

**Author:** [@Jeffrey\_Parrott](https://forum.ansible.com/u/Jeffrey_Parrott)\
**Replies:** 1\
**Last updated:** [August 1, 2022, 1:31pm UTC](https://forum.ansible.com/t/newbie-question/36901 "2022-08-01T13:31:17Z")

</div>

Newbie here, looking to see if Ansible will allow me to do initial configurations on a new out of the box Cisco switch. I need the ability to have the switch connect to my network and download a specific configuration, A…

---

## [Ansible GCP dynamic Inventory Plugin How to pass Project ID](https://forum.ansible.com/t/ansible-gcp-dynamic-inventory-plugin-how-to-pass-project-id/36893)

<div class="topic-metadata">

**Author:** [@A\_D](https://forum.ansible.com/u/A_D)\
**Replies:** 1\
**Last updated:** [August 1, 2022, 12:40pm UTC](https://forum.ansible.com/t/ansible-gcp-dynamic-inventory-plugin-how-to-pass-project-id/36893 "2022-08-01T12:40:12Z")

</div>

Hi Everyone, I am using the dynamic inventory file for setting up Ansible for running configurations in GCP inventory.compute.gcp.yml plugin: gcp\_compute # name the plugin you want to use (use ansible-doc -t inventory …

---

## [sucessfully ran single play but not when the play is part of a task in the pb](https://forum.ansible.com/t/sucessfully-ran-single-play-but-not-when-the-play-is-part-of-a-task-in-the-pb/36903)

<div class="topic-metadata">

**Author:** [@Tony\_Wong](https://forum.ansible.com/u/Tony_Wong)\
**Replies:** 2\
**Last updated:** [August 1, 2022, 12:33pm UTC](https://forum.ansible.com/t/sucessfully-ran-single-play-but-not-when-the-play-is-part-of-a-task-in-the-pb/36903 "2022-08-01T12:33:13Z")

</div>

I sucessully ran this play as a single play

---

## [failed instances](https://forum.ansible.com/t/failed-instances/36926)

<div class="topic-metadata">

**Author:** [@Ashok-2017](https://forum.ansible.com/u/Ashok-2017)\
**Replies:** 2\
**Last updated:** [August 1, 2022, 8:08am UTC](https://forum.ansible.com/t/failed-instances/36926 "2022-08-01T08:08:11Z")

</div>

---

## [AWX horizontal scaling](https://forum.ansible.com/t/awx-horizontal-scaling/36925)

<div class="topic-metadata">

**Author:** [@sinnl](https://forum.ansible.com/u/sinnl)\
**Replies:** 0\
**Last updated:** [July 31, 2022, 1:59pm UTC](https://forum.ansible.com/t/awx-horizontal-scaling/36925 "2022-07-31T13:59:06Z")

</div>

Hi, I have a 3 node k8s cluster (1 master and and 2 worker node - all 64Gb or RAM and 16vCPUS on VMware) and latest AWX version deployed with awx-operator using external DB and having 2 replica sets of AWX. awx.yml

---

## [Speeding up a task](https://forum.ansible.com/t/speeding-up-a-task/36924)

<div class="topic-metadata">

**Author:** [@HobsonI](https://forum.ansible.com/u/HobsonI)\
**Replies:** 5\
**Last updated:** [July 31, 2022, 4:59am UTC](https://forum.ansible.com/t/speeding-up-a-task/36924 "2022-07-31T04:59:22Z")

</div>

Hi Guys, I need advice on speeding up this task: - name: "restore files to {{ location }}" ansible.builtin.copy: src: "/home/ian/backup/hobson42/var/www/ianhobson.com/" dest: "{{ location }}" It copie…

---

## [to which local bash command does get\_url translate to?](https://forum.ansible.com/t/to-which-local-bash-command-does-get-url-translate-to/36923)

<div class="topic-metadata">

**Author:** [@dulhaver](https://forum.ansible.com/u/dulhaver)\
**Replies:** 1\
**Last updated:** [July 29, 2022, 3:27pm UTC](https://forum.ansible.com/t/to-which-local-bash-command-does-get-url-translate-to/36923 "2022-07-29T15:27:54Z")

</div>

I am running ansible playbooks against hosts in different networks or firewall-zones and need to fetch confg-files from a local BitBucket server at times with get\_url TASKS. connectivoty to that BitBucket Server is chall…

---

## [renaming a folder on the remote ... issue with defaults/main.yml](https://forum.ansible.com/t/renaming-a-folder-on-the-remote-issue-with-defaults-main-yml/36920)

<div class="topic-metadata">

**Author:** [@dulhaver](https://forum.ansible.com/u/dulhaver)\
**Replies:** 5\
**Last updated:** [July 29, 2022, 3:05pm UTC](https://forum.ansible.com/t/renaming-a-folder-on-the-remote-issue-with-defaults-main-yml/36920 "2022-07-29T15:05:40Z")

</div>

I am trying to rename a folder on a remote if it exists. this is being done via a role. ====== my two tasks =============================================================== - name: move legacy postgres - stat postgres\_d…

---

## [Running containers and building images in AWX-EE](https://forum.ansible.com/t/running-containers-and-building-images-in-awx-ee/36845)

<div class="topic-metadata">

**Author:** [@neeguy](https://forum.ansible.com/u/neeguy)\
**Replies:** 3\
**Last updated:** [July 29, 2022, 7:33am UTC](https://forum.ansible.com/t/running-containers-and-building-images-in-awx-ee/36845 "2022-07-29T07:33:33Z")

</div>

We have some Ansible playbooks that we’ve been using to build images and run containers to execute some tasks (not using AWX). Recently, we’ve decided to use AWX v21 and tried to run these playbooks from there but have …

---

## [How to save a list of dictionaries to a file with a correct indentation](https://forum.ansible.com/t/how-to-save-a-list-of-dictionaries-to-a-file-with-a-correct-indentation/36911)

<div class="topic-metadata">

**Author:** [@actionmystique](https://forum.ansible.com/u/actionmystique)\
**Replies:** 4\
**Last updated:** [July 28, 2022, 1:44pm UTC](https://forum.ansible.com/t/how-to-save-a-list-of-dictionaries-to-a-file-with-a-correct-indentation/36911 "2022-07-28T13:44:35Z")

</div>

The goal seems to be simple, but I cannot manage to get the indentation right. Playbook: name: Saving a list of dictionaries to a file gather\_facts: false hosts: localhost strategy: debug tasks: name: Saving a lis…

---

## [Advice on AWX 21 performance](https://forum.ansible.com/t/advice-on-awx-21-performance/36906)

<div class="topic-metadata">

**Author:** [@anasaizg](https://forum.ansible.com/u/anasaizg)\
**Replies:** 2\
**Last updated:** [July 28, 2022, 11:55am UTC](https://forum.ansible.com/t/advice-on-awx-21-performance/36906 "2022-07-28T11:55:30Z")

</div>

Hello everyone We have recently moved from AWX v15 to AWX v21 and some of my users are complaining about jobs taking too long to begin, when compared to previous version. For instance, when nothing else is being execut…

---

## [How to unquote a json structure](https://forum.ansible.com/t/how-to-unquote-a-json-structure/36913)

<div class="topic-metadata">

**Author:** [@actionmystique](https://forum.ansible.com/u/actionmystique)\
**Replies:** 1\
**Last updated:** [July 28, 2022, 10:10am UTC](https://forum.ansible.com/t/how-to-unquote-a-json-structure/36913 "2022-07-28T10:10:00Z")

</div>

One shell command returns a json structure, but ansible converts it into a string in the registered variable. In order to access some attributes, this string needs to be unquoted, but how? There is a quote filter, but t…

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

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