# Ansible Project

**URL:** https://forum.ansible.com/c/archives/ansible-project/30.md?page=52

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

**Page:** 53

---

## [Ansible 5.3.0 has been released](https://forum.ansible.com/t/ansible-5-3-0-has-been-released/36271)

<div class="topic-metadata">

**Author:** [@David\_Moreau\_Simard2](https://forum.ansible.com/u/David_Moreau_Simard2)\
**Replies:** 3\
**Last updated:** [February 6, 2022, 4:05pm UTC](https://forum.ansible.com/t/ansible-5-3-0-has-been-released/36271 "2022-02-06T16:05:25Z")

</div>

Hi all, We're happy to announce that the Ansible 5.3.0 package has been released ! Ansible 5.3.0 includes the newly released ansible-core 2.12.2 as well as a curated set of Ansible collections to provide a vast number…

---

## [Ansible + Cisco - Sending a Ctrl+V / Question Mark ?](https://forum.ansible.com/t/ansible-cisco-sending-a-ctrl-v-question-mark/36297)

<div class="topic-metadata">

**Author:** [@Matthew\_H](https://forum.ansible.com/u/Matthew_H)\
**Replies:** 0\
**Last updated:** [February 6, 2022, 2:31am UTC](https://forum.ansible.com/t/ansible-cisco-sending-a-ctrl-v-question-mark/36297 "2022-02-06T02:31:23Z")

</div>

Hello I’m using Ansible to push config to some Cisco routers and have hit an issue, I need to send a ? as part of a URL for dynamic DNS, but entering a question marks shows the help. If I manually use the console I can …

---

## [issue in installation of ansible](https://forum.ansible.com/t/issue-in-installation-of-ansible/36289)

<div class="topic-metadata">

**Author:** [@Kevin\_Y](https://forum.ansible.com/u/Kevin_Y)\
**Replies:** 6\
**Last updated:** [February 5, 2022, 1:31am UTC](https://forum.ansible.com/t/issue-in-installation-of-ansible/36289 "2022-02-05T01:31:04Z")

</div>

Hi Ubuntu is installed at windows10 and then the below commands are entered in the Ubunto. It looks like the installing ansible is successful without error message. $ sudo apt-get update $ sudo apt-get install software…

---

## [Could not find the requested service ntpd: host](https://forum.ansible.com/t/could-not-find-the-requested-service-ntpd-host/36293)

<div class="topic-metadata">

**Author:** [@arjungoel\_1995](https://forum.ansible.com/u/arjungoel_1995)\
**Replies:** 3\
**Last updated:** [February 4, 2022, 3:54pm UTC](https://forum.ansible.com/t/could-not-find-the-requested-service-ntpd-host/36293 "2022-02-04T15:54:59Z")

</div>

I am getting the above error while running this ansible playbook: \`

---

## [Changing serial mode per task in playbook?](https://forum.ansible.com/t/changing-serial-mode-per-task-in-playbook/36284)

<div class="topic-metadata">

**Author:** [@Martin\_Bozic](https://forum.ansible.com/u/Martin_Bozic)\
**Replies:** 3\
**Last updated:** [February 4, 2022, 1:30pm UTC](https://forum.ansible.com/t/changing-serial-mode-per-task-in-playbook/36284 "2022-02-04T13:30:03Z")

</div>

Hi everyone, I’d like do a following scenario: commit a change in Puppet repo which has config for servers before this commit gets pulled in by Puppet daemons on servers I want to force run the Ansible playbook task1:…

---

## [XML to Datetime](https://forum.ansible.com/t/xml-to-datetime/36287)

<div class="topic-metadata">

**Author:** [@Amarpreet\_Singh](https://forum.ansible.com/u/Amarpreet_Singh)\
**Replies:** 2\
**Last updated:** [February 3, 2022, 10:41pm UTC](https://forum.ansible.com/t/xml-to-datetime/36287 "2022-02-03T22:41:44Z")

</div>

Looking for help to convert XML output of a ssl certificate and get date out of it. Then compare and check if that cert has expired or not. output “stdout”: “{"not-valid-after": "Apr 20 17:36:03 2022 GMT"}”, “stdout\_…

---

## [Getting Timed Out Error when running the playbook using \`vagrant provision\`](https://forum.ansible.com/t/getting-timed-out-error-when-running-the-playbook-using-vagrant-provision/36279)

<div class="topic-metadata">

**Author:** [@arjungoel\_1995](https://forum.ansible.com/u/arjungoel_1995)\
**Replies:** 9\
**Last updated:** [February 3, 2022, 5:50pm UTC](https://forum.ansible.com/t/getting-timed-out-error-when-running-the-playbook-using-vagrant-provision/36279 "2022-02-03T17:50:51Z")

</div>

Hi, I am trying to run a basic ansible playbook using vagrant provision but while doing so experiencing this error: I even added the ip in my Vagrantfile: -- mode: ruby -- vi: set ft=ruby : Vagrant.configure(“2”) do |…

---

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

---

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

---

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

---

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

---

## [Better way to reference SSH Identity Key?](https://forum.ansible.com/t/better-way-to-reference-ssh-identity-key/36253)

<div class="topic-metadata">

**Author:** [@Jason\_Wood](https://forum.ansible.com/u/Jason_Wood)\
**Replies:** 3\
**Last updated:** [January 27, 2022, 2:08pm UTC](https://forum.ansible.com/t/better-way-to-reference-ssh-identity-key/36253 "2022-01-27T14:08:50Z")

</div>

Right now I have in ansible.cfg: \[ssh\_connection\] ssh\_args = -F ssh\_config scp\_if\_ssh = True And in ssh\_config: Host sub.domain.com Hostname sub.domain.com User ubuntu IdentityFile ~/mykeyfile.pem Right now I’m …

---

## [Creating a string, containg a ':'](https://forum.ansible.com/t/creating-a-string-containg-a/36252)

<div class="topic-metadata">

**Author:** [@Axel\_Rau](https://forum.ansible.com/u/Axel_Rau)\
**Replies:** 2\
**Last updated:** [January 27, 2022, 10:35am UTC](https://forum.ansible.com/t/creating-a-string-containg-a/36252 "2022-01-27T10:35:27Z")

</div>

Hi all, seems to be an FAQ item but I can’t find the solution. (Try to create sorce args for rsync): set\_fact: the\_arg: ':{{ some\_var }}' Any help welcome, Axel

[Previous page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=51)

[Next page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=53)
