# Latest

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

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

**Page:** 264

---

## [built-in method values of dict object a](https://forum.ansible.com/t/built-in-method-values-of-dict-object-a/36285)

<div class="topic-metadata">

**Author:** [@Kumarswamy\_veeranna](https://forum.ansible.com/u/Kumarswamy_veeranna)\
**Replies:** 1\
**Last updated:** [February 3, 2022, 4:16pm UTC](https://forum.ansible.com/t/built-in-method-values-of-dict-object-a/36285 "2022-02-03T16:16:41Z")

</div>

Hi All, I’m facing an issue with extract the value from the below ansible code item.content.values() \[‘sp.\*.cpu.summary.utilization’, ‘2022-02-02T10:30:00.000Z’, 300, {‘spa’: 10.777033477143537}\] but fetching the SPA…

---

## [Failed to find exact match for v1.Namespace](https://forum.ansible.com/t/failed-to-find-exact-match-for-v1-namespace/36265)

<div class="topic-metadata">

**Author:** [@\_rabin](https://forum.ansible.com/u/_rabin)\
**Replies:** 1\
**Last updated:** [February 3, 2022, 3:23pm UTC](https://forum.ansible.com/t/failed-to-find-exact-match-for-v1-namespace/36265 "2022-02-03T15:23:12Z")

</div>

I’m having a weird problem with Ansible and OpenShift, on my Fedora node the playbook succeed, but on my RHEL node, the operation fails with the message: fatal: \[localhost\]: FAILED! =\> changed=false msg: Failed to fin…

---

## [The lookup \`vars\` was found, however lookups were disabled from templating](https://forum.ansible.com/t/the-lookup-vars-was-found-however-lookups-were-disabled-from-templating/36286)

<div class="topic-metadata">

**Author:** [@n-du\_fox](https://forum.ansible.com/u/n-du_fox)\
**Replies:** 0\
**Last updated:** [February 3, 2022, 2:51pm UTC](https://forum.ansible.com/t/the-lookup-vars-was-found-however-lookups-were-disabled-from-templating/36286 "2022-02-03T14:51:59Z")

</div>

Hi Im using a constructed inventory to create some groups, based on data from a dynamic inventory while this works: plugin: constructed strict: True groups: linux: “‘linux’ in (RuntimeSystem | lower)” windows: “‘w…

---

## [Ansible Cant find Debian Apt Package for Multi Playbook/Tasks Runs with Galaxy FreeIPA Install](https://forum.ansible.com/t/ansible-cant-find-debian-apt-package-for-multi-playbook-tasks-runs-with-galaxy-freeipa-install/36277)

<div class="topic-metadata">

**Author:** [@Martin\_Sharp](https://forum.ansible.com/u/Martin_Sharp)\
**Replies:** 2\
**Last updated:** [February 3, 2022, 1:18pm UTC](https://forum.ansible.com/t/ansible-cant-find-debian-apt-package-for-multi-playbook-tasks-runs-with-galaxy-freeipa-install/36277 "2022-02-03T13:18:12Z")

</div>

I have a single node deployment anisble playbook that runs via rundeck to stage cloud-init, pxe installed, 20.04 Ubuntu systems with ubuntu desktop for an idm domain with a standard configuration. The issue I am having i…

---

## [Failed to import the required Python library (python-ldap)](https://forum.ansible.com/t/failed-to-import-the-required-python-library-python-ldap/32742)

<div class="topic-metadata">

**Author:** [@Javi\_Legido](https://forum.ansible.com/u/Javi_Legido)\
**Replies:** 3\
**Last updated:** [February 3, 2022, 11:21am UTC](https://forum.ansible.com/t/failed-to-import-the-required-python-library-python-ldap/32742 "2022-02-03T11:21:02Z")

</div>

Hi there. First of all many thanks to all the people involved in this project for their time. I’m facing an issue with ldap\_entry, details here. Error message: Failed to import the required Python library (python-lda…

---

## [Role Dependency hell?](https://forum.ansible.com/t/role-dependency-hell/36283)

<div class="topic-metadata">

**Author:** [@Larry\_Gadallah](https://forum.ansible.com/u/Larry_Gadallah)\
**Replies:** 1\
**Last updated:** [February 3, 2022, 6:25am UTC](https://forum.ansible.com/t/role-dependency-hell/36283 "2022-02-03T06:25:55Z")

</div>

Short version: I have a subordinate role that works fine in it’s own CI and test, for all tested distros. I have a superior role that is dependent on the subordinate role, and is tested for all of the same distros. I get…

---

## [Playbook error -  ansibleundefinedvariable 'str object' has no attribute 'device\_name'](https://forum.ansible.com/t/playbook-error-ansibleundefinedvariable-str-object-has-no-attribute-device-name/36275)

<div class="topic-metadata">

**Author:** [@Shivani\_Arora](https://forum.ansible.com/u/Shivani_Arora)\
**Replies:** 2\
**Last updated:** [February 3, 2022, 2:52am UTC](https://forum.ansible.com/t/playbook-error-ansibleundefinedvariable-str-object-has-no-attribute-device-name/36275 "2022-02-03T02:52:46Z")

</div>

Hi, I’m trying to create aws launch template using ansible module - " community.aws.ec2\_launch\_template". I have different types of nodes and want to map different volumes (according to node type) in the launch template…

---

## [Dummies guide, or troubleshooting assistance needed](https://forum.ansible.com/t/dummies-guide-or-troubleshooting-assistance-needed/36282)

<div class="topic-metadata">

**Author:** [@Frank\_Dias](https://forum.ansible.com/u/Frank_Dias)\
**Replies:** 2\
**Last updated:** [February 3, 2022, 12:58am UTC](https://forum.ansible.com/t/dummies-guide-or-troubleshooting-assistance-needed/36282 "2022-02-03T00:58:57Z")

</div>

Have you looked at the docker logs?

---

## [multiple vm playbook](https://forum.ansible.com/t/multiple-vm-playbook/36281)

<div class="topic-metadata">

**Author:** [@Rene\_Paquin](https://forum.ansible.com/u/Rene_Paquin)\
**Replies:** 1\
**Last updated:** [February 2, 2022, 6:56pm UTC](https://forum.ansible.com/t/multiple-vm-playbook/36281 "2022-02-02T18:56:51Z")

</div>

I am attempting to create a playbook to deploy multiple linux VMs from a template and assigning a static ip and I am running into issues. My playbook:

---

## [How to get ansible-pull with chroot connection to work?](https://forum.ansible.com/t/how-to-get-ansible-pull-with-chroot-connection-to-work/36280)

<div class="topic-metadata">

**Author:** [@bob](https://forum.ansible.com/u/bob)\
**Replies:** 0\
**Last updated:** [February 2, 2022, 6:37pm UTC](https://forum.ansible.com/t/how-to-get-ansible-pull-with-chroot-connection-to-work/36280 "2022-02-02T18:37:40Z")

</div>

Try to get ansible-pull -c chroot to work and I keep getting warnings and the playbooks are not run. ansible-pull -vv -c chroot --accept-host-key -U git@xxx:ansible-roles/chroot-bootstrap.git \[WARNING\]: No inventory was…

---

## [docker\_image/docker\_container not working - The error was: SyntaxError: invalid syntax](https://forum.ansible.com/t/docker-image-docker-container-not-working-the-error-was-syntaxerror-invalid-syntax/36272)

<div class="topic-metadata">

**Author:** [@Randeepak\_Sandhu](https://forum.ansible.com/u/Randeepak_Sandhu)\
**Replies:** 2\
**Last updated:** [February 2, 2022, 6:35pm UTC](https://forum.ansible.com/t/docker-image-docker-container-not-working-the-error-was-syntaxerror-invalid-syntax/36272 "2022-02-02T18:35:55Z")

</div>

Hi, Can someone please help me resolving this issue. Summary I am trying to build docker image passing in Dockerfile on the same host where Dockerfile and other related project files resides. Without using ansible, I …

---

## [cached code? modified code is not used](https://forum.ansible.com/t/cached-code-modified-code-is-not-used/36264)

<div class="topic-metadata">

**Author:** [@adriansev](https://forum.ansible.com/u/adriansev)\
**Replies:** 2\
**Last updated:** [February 2, 2022, 6:02pm UTC](https://forum.ansible.com/t/cached-code-modified-code-is-not-used/36264 "2022-02-02T18:02:36Z")

</div>

Hi! I have a weird situation and i’m not sure if this should be reported as a bug: I installed with galaxy a collection which i modified quite a lot. (a collection that add some facts). The really weird thing is that so…

---

## [Getting jsondiff is not installed error even though jsondiff is installed](https://forum.ansible.com/t/getting-jsondiff-is-not-installed-error-even-though-jsondiff-is-installed/36278)

<div class="topic-metadata">

**Author:** [@Nick\_Plichta](https://forum.ansible.com/u/Nick_Plichta)\
**Replies:** 1\
**Last updated:** [February 2, 2022, 6:01pm UTC](https://forum.ansible.com/t/getting-jsondiff-is-not-installed-error-even-though-jsondiff-is-installed/36278 "2022-02-02T18:01:12Z")

</div>

Getting fatal: \[192.168.0.51\]: FAILED! =\> {“changed”: false, “msg”: “jsondiff is not installed, try ‘pip install jsondiff’”} error on fresh ansible install on ubuntu 20.04 via apt. Additionally I installed python3-jsondi…

---

## [Specify vault secret using variables](https://forum.ansible.com/t/specify-vault-secret-using-variables/36276)

<div class="topic-metadata">

**Author:** [@orgabeke](https://forum.ansible.com/u/orgabeke)\
**Replies:** 2\
**Last updated:** [February 2, 2022, 5:46pm UTC](https://forum.ansible.com/t/specify-vault-secret-using-variables/36276 "2022-02-02T17:46:38Z")

</div>

Hi all, I’m new to Ansible and use it to add servers deployed using vRealize Automation 8 to AD domain. When the user deploys a new server they select which domain the server belongs to. Based on the domain selected I n…

---

## [Learning Ansible with single host](https://forum.ansible.com/t/learning-ansible-with-single-host/36266)

<div class="topic-metadata">

**Author:** [@gene\_golub](https://forum.ansible.com/u/gene_golub)\
**Replies:** 2\
**Last updated:** [February 1, 2022, 7:11pm UTC](https://forum.ansible.com/t/learning-ansible-with-single-host/36266 "2022-02-01T19:11:33Z")

</div>

Hello Forum, I was wondering if i could install Ansible on Ubuntu 20 host and try to use for learning purpose. Is it recommended or there are better way to learn it?

---

## [New releases: ansible-core 2.12.2, ansible-core 2.11.8, ansible-base 2.10.17](https://forum.ansible.com/t/new-releases-ansible-core-2-12-2-ansible-core-2-11-8-ansible-base-2-10-17/36269)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 0\
**Last updated:** [February 1, 2022, 2:52pm UTC](https://forum.ansible.com/t/new-releases-ansible-core-2-12-2-ansible-core-2-11-8-ansible-base-2-10-17/36269 "2022-02-01T14:52:14Z")

</div>

Hi all- we’re happy to announce the general release of: ansible-core 2.12.2 ansible-core 2.11.8 ansible-base 2.10.17 How to get it

---

## [Shell pre check command](https://forum.ansible.com/t/shell-pre-check-command/36268)

<div class="topic-metadata">

**Author:** [@Omar](https://forum.ansible.com/u/Omar)\
**Replies:** 0\
**Last updated:** [February 1, 2022, 2:33pm UTC](https://forum.ansible.com/t/shell-pre-check-command/36268 "2022-02-01T14:33:43Z")

</div>

When working with tools that don’t have an Ansible module/roles and only have shell commands to interact with. I find my self writing the following: shell: pre\_check\_command || command Where ‘pre\_check\_command’ exits …

---

## [Is it possible to copy objects from one AWX environment to another AWX environment  using rest api](https://forum.ansible.com/t/is-it-possible-to-copy-objects-from-one-awx-environment-to-another-awx-environment-using-rest-api/36259)

<div class="topic-metadata">

**Author:** [@Kannan\_Somaiah](https://forum.ansible.com/u/Kannan_Somaiah)\
**Replies:** 3\
**Last updated:** [February 1, 2022, 1:20pm UTC](https://forum.ansible.com/t/is-it-possible-to-copy-objects-from-one-awx-environment-to-another-awx-environment-using-rest-api/36259 "2022-02-01T13:20:25Z")

</div>

I tired and encountered problems as there are many objects linked to schedule and similar objects have to be available in the destination environment. Any suggestion on this please? Regards, Kannan Somaiah

---

## [AWX sync job related issue](https://forum.ansible.com/t/awx-sync-job-related-issue/36267)

<div class="topic-metadata">

**Author:** [@Kannan\_Somaiah](https://forum.ansible.com/u/Kannan_Somaiah)\
**Replies:** 0\
**Last updated:** [February 1, 2022, 1:19pm UTC](https://forum.ansible.com/t/awx-sync-job-related-issue/36267 "2022-02-01T13:19:48Z")

</div>

Hi All, We have a Linux script is written in such a way it will run for 90 minutes. When we synchronously call this script from AWX, AWX job runs for more than 2 hours and terminates with an error as sync jobs cannot r…

---

## [Error reading SSH protocol banner\[Errno 104\] Connection reset by peer](https://forum.ansible.com/t/error-reading-ssh-protocol-banner-errno-104-connection-reset-by-peer/36231)

<div class="topic-metadata">

**Author:** [@Klien\_Menard\_Luminar](https://forum.ansible.com/u/Klien_Menard_Luminar)\
**Replies:** 1\
**Last updated:** [January 31, 2022, 7:18pm UTC](https://forum.ansible.com/t/error-reading-ssh-protocol-banner-errno-104-connection-reset-by-peer/36231 "2022-01-31T19:18:03Z")

</div>

Is there a way to add -oKexAlgorithms=+diffie-hellman-group1-sha1 as an option when ansible is trying to connect to an cisco router? I am having Error reading SSH protocol banner\[Errno 104\] Connection reset by peer every…

---

## [Update awx-operator to the latest version](https://forum.ansible.com/t/update-awx-operator-to-the-latest-version/36245)

<div class="topic-metadata">

**Author:** [@Niko\_Wang](https://forum.ansible.com/u/Niko_Wang)\
**Replies:** 1\
**Last updated:** [January 31, 2022, 6:23pm UTC](https://forum.ansible.com/t/update-awx-operator-to-the-latest-version/36245 "2022-01-31T18:23:04Z")

</div>

Hello AWX, Is that possible to keep https://raw.githubusercontent.com/ansible/awx-operator/0.13.0/deploy/awx-operator.yaml update with the github? The official version now is 0.16.0 . Thanks.

---

## [Sending the list of available updates via email](https://forum.ansible.com/t/sending-the-list-of-available-updates-via-email/36258)

<div class="topic-metadata">

**Author:** [@Raza\_Suleman](https://forum.ansible.com/u/Raza_Suleman)\
**Replies:** 1\
**Last updated:** [January 31, 2022, 3:16pm UTC](https://forum.ansible.com/t/sending-the-list-of-available-updates-via-email/36258 "2022-01-31T15:16:10Z")

</div>

HI, I would like to create a playbook that will send a list of available yum updates in the message body. How do I do that? my play book has two parts. first it collects a list of available packages and then 2nd it send…

---

## [A basic ansible command cannot go through](https://forum.ansible.com/t/a-basic-ansible-command-cannot-go-through/36220)

<div class="topic-metadata">

**Author:** [@Kevin\_Y](https://forum.ansible.com/u/Kevin_Y)\
**Replies:** 6\
**Last updated:** [January 31, 2022, 6:59am UTC](https://forum.ansible.com/t/a-basic-ansible-command-cannot-go-through/36220 "2022-01-31T06:59:27Z")

</div>

Hi I am a little new to ansible. Anyone can take a look at the below why the command cannot go through? Thank you! admin1@Len:~$ ansible lab-hosts -m raw -a “show run” -u admin -k | grep ‘hostname| system mtu’ Tracebac…

---

## [Error running resource module builder](https://forum.ansible.com/t/error-running-resource-module-builder/36218)

<div class="topic-metadata">

**Author:** [@nitesh\_shet](https://forum.ansible.com/u/nitesh_shet)\
**Replies:** 1\
**Last updated:** [January 31, 2022, 6:51am UTC](https://forum.ansible.com/t/error-running-resource-module-builder/36218 "2022-01-31T06:51:19Z")

</div>

Hi, While running a resource module builder to create a skeleton of collection , raised with exception. The error is attached as a file. Please help me in overcoming this problem. Thanks, Nitesh (attachments)errorf…

---

## [when condition based on software version](https://forum.ansible.com/t/when-condition-based-on-software-version/36262)

<div class="topic-metadata">

**Author:** [@John\_Veliss](https://forum.ansible.com/u/John_Veliss)\
**Replies:** 2\
**Last updated:** [January 31, 2022, 4:19am UTC](https://forum.ansible.com/t/when-condition-based-on-software-version/36262 "2022-01-31T04:19:18Z")

</div>

I would like to include some ansible “when” conditions based on if a software package is greater than a value, ie when a package is greater than 8.2, perform a task such as stop a service, uninstall the package, copy a f…

---

## [Parse a variable using a regex and use parsed variable in a "when"](https://forum.ansible.com/t/parse-a-variable-using-a-regex-and-use-parsed-variable-in-a-when/36257)

<div class="topic-metadata">

**Author:** [@o\_haya1](https://forum.ansible.com/u/o_haya1)\
**Replies:** 2\
**Last updated:** [January 30, 2022, 6:37pm UTC](https://forum.ansible.com/t/parse-a-variable-using-a-regex-and-use-parsed-variable-in-a-when/36257 "2022-01-30T18:37:01Z")

</div>

Hi, I am just starting working with Ansible, and am trying to modify an existing playbook that is used to install MySQL. I need to have it check a Mysql version string, and if it is greater than or equal to a specific v…

---

## [Gathering facts failing](https://forum.ansible.com/t/gathering-facts-failing/36263)

<div class="topic-metadata">

**Author:** [@omoeko](https://forum.ansible.com/u/omoeko)\
**Replies:** 0\
**Last updated:** [January 30, 2022, 5:38pm UTC](https://forum.ansible.com/t/gathering-facts-failing/36263 "2022-01-30T17:38:38Z")

</div>

Hi All. I have a list of hosts that I am trying to check connectivity and ensure that ansible tower can connect to it with the defined credential, so we are checking 2 things here. Connectivity to ensure that the host …

---

## [Migrating jobs from one AWX to another AWX, but on K8s](https://forum.ansible.com/t/migrating-jobs-from-one-awx-to-another-awx-but-on-k8s/36255)

<div class="topic-metadata">

**Author:** [@Matt1](https://forum.ansible.com/u/Matt1)\
**Replies:** 2\
**Last updated:** [January 29, 2022, 4:42pm UTC](https://forum.ansible.com/t/migrating-jobs-from-one-awx-to-another-awx-but-on-k8s/36255 "2022-01-29T16:42:13Z")

</div>

Hi, I’ve got plenty of jobs on AWX (19.2.2) running on Docker (20.10.9) on the 1st VM. I need to move/migrate/clone them to the AWX running on Kubernetes on the 2nd VM. Can’t find right instructions, 99% of articles ar…

---

## [Make an SSH connection and run a command from within the playbook](https://forum.ansible.com/t/make-an-ssh-connection-and-run-a-command-from-within-the-playbook/36256)

<div class="topic-metadata">

**Author:** [@Daniel\_Bianco](https://forum.ansible.com/u/Daniel_Bianco)\
**Replies:** 3\
**Last updated:** [January 29, 2022, 12:08am UTC](https://forum.ansible.com/t/make-an-ssh-connection-and-run-a-command-from-within-the-playbook/36256 "2022-01-29T00:08:46Z")

</div>

I’m working on an automation to create/delete users on storage devices. I have been only provided with the commands that the storage admin use and users that can ssh to the storage devices. My first attempt was to crea…

---

## [gather fact module on Cisco Catalyst 9300](https://forum.ansible.com/t/gather-fact-module-on-cisco-catalyst-9300/36260)

<div class="topic-metadata">

**Author:** [@L\_Jankok](https://forum.ansible.com/u/L_Jankok)\
**Replies:** 0\
**Last updated:** [January 28, 2022, 3:03pm UTC](https://forum.ansible.com/t/gather-fact-module-on-cisco-catalyst-9300/36260 "2022-01-28T15:03:41Z")

</div>

Hi, When I use the gather fact module and choose to get the l2\_interfaces, it doesn’t return the l2\_interfaces properties. When I use the same playbook on catalyst 3650 (also ios-xe) I get the l2\_interfaces properties. …

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

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