# Ansible Project

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

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

**Page:** 65

---

## [Adding a nested xml element using ansible xml module fails](https://forum.ansible.com/t/adding-a-nested-xml-element-using-ansible-xml-module-fails/27138)

<div class="topic-metadata">

**Author:** [@Uvindra\_Dias\_Jayasin](https://forum.ansible.com/u/Uvindra_Dias_Jayasin)\
**Replies:** 5\
**Last updated:** [September 16, 2021, 1:12pm UTC](https://forum.ansible.com/t/adding-a-nested-xml-element-using-ansible-xml-module-fails/27138 "2021-09-16T13:12:52Z")

</div>

Im using Ansible 2.5 on Ubuntu 17.10 Given the following xml file Trying to add nested elements so that the file is changed to the following output fails. Old Rasputin 2000 Here is the playbook I used - nam…

---

## ["10" compares as older than "10.0" with version()](https://forum.ansible.com/t/10-compares-as-older-than-10-0-with-version/35740)

<div class="topic-metadata">

**Author:** [@Andy\_Smith](https://forum.ansible.com/u/Andy_Smith)\
**Replies:** 6\
**Last updated:** [September 15, 2021, 8:10pm UTC](https://forum.ansible.com/t/10-compares-as-older-than-10-0-with-version/35740 "2021-09-15T20:10:29Z")

</div>

Hi, My ansible\_distribution\_version returns "10". This debug fires: - name: version 10 \< 10.0 ansible.builtin.debug: msg: - "I think 10 is older than 10.0" when: {{ ansible\_distribution\_version }} is …

---

## [Not able to create Ansible tower template job through an API call](https://forum.ansible.com/t/not-able-to-create-ansible-tower-template-job-through-an-api-call/35743)

<div class="topic-metadata">

**Author:** [@vivek\_kumar](https://forum.ansible.com/u/vivek_kumar)\
**Replies:** 2\
**Last updated:** [September 15, 2021, 6:53pm UTC](https://forum.ansible.com/t/not-able-to-create-ansible-tower-template-job-through-an-api-call/35743 "2021-09-15T18:53:58Z")

</div>

Hi, I am trying to make an API call using curl command from my unix box to create template job in Ansible tower with my login credentials. I am getting error “You do not have permission to perform this action”. However…

---

## [Ansible playbook not running in GitHub Actions](https://forum.ansible.com/t/ansible-playbook-not-running-in-github-actions/35730)

<div class="topic-metadata">

**Author:** [@Amedee\_Van\_Gasse](https://forum.ansible.com/u/Amedee_Van_Gasse)\
**Replies:** 1\
**Last updated:** [September 15, 2021, 1:04pm UTC](https://forum.ansible.com/t/ansible-playbook-not-running-in-github-actions/35730 "2021-09-15T13:04:11Z")

</div>

I am writing an Ansible playbook to quickly install and configure a local laptop. I have tested it on my local machine with ansible-playbook local.yml --ask-become-pass and in a Vagrant box with vagrant provision, and th…

---

## [Call Same Role multiple times dynamically with different values](https://forum.ansible.com/t/call-same-role-multiple-times-dynamically-with-different-values/35737)

<div class="topic-metadata">

**Author:** [@Markus\_Falb](https://forum.ansible.com/u/Markus_Falb)\
**Replies:** 0\
**Last updated:** [September 14, 2021, 2:45pm UTC](https://forum.ansible.com/t/call-same-role-multiple-times-dynamically-with-different-values/35737 "2021-09-14T14:45:18Z")

</div>

hi,

---

## [Reformatting playbooks, roles, tasks, etc to "canonical" form](https://forum.ansible.com/t/reformatting-playbooks-roles-tasks-etc-to-canonical-form/35734)

<div class="topic-metadata">

**Author:** [@Ch\_Ho](https://forum.ansible.com/u/Ch_Ho)\
**Replies:** 2\
**Last updated:** [September 13, 2021, 10:25pm UTC](https://forum.ansible.com/t/reformatting-playbooks-roles-tasks-etc-to-canonical-form/35734 "2021-09-13T22:25:22Z")

</div>

Hi all; Our company has 150+ files in an ansible repository, written by many authors over years. I’d like to reformat them into a canonical format, so that we can write utilities to update them without having to handle…

---

## [New releases: ansible-core 2.11.5, ansible-base 2.10.14, ansible 2.9.26](https://forum.ansible.com/t/new-releases-ansible-core-2-11-5-ansible-base-2-10-14-ansible-2-9-26/35733)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 0\
**Last updated:** [September 13, 2021, 7:08pm UTC](https://forum.ansible.com/t/new-releases-ansible-core-2-11-5-ansible-base-2-10-14-ansible-2-9-26/35733 "2021-09-13T19:08:26Z")

</div>

Hi all- we’re happy to announce the general release of: ansible-core 2.11.5 ansible-base 2.10.14 ansible 2.9.26 How to get it

---

## [Call Same Role multiple times dynamically with different values](https://forum.ansible.com/t/call-same-role-multiple-times-dynamically-with-different-values/35731)

<div class="topic-metadata">

**Author:** [@Stephane\_Cremel](https://forum.ansible.com/u/Stephane_Cremel)\
**Replies:** 0\
**Last updated:** [September 13, 2021, 2:12pm UTC](https://forum.ansible.com/t/call-same-role-multiple-times-dynamically-with-different-values/35731 "2021-09-13T14:12:38Z")

</div>

Hi, try --extra-vars “key=value” on your ansible-playbook command. regards

---

## [EC2 comparing dates](https://forum.ansible.com/t/ec2-comparing-dates/35723)

<div class="topic-metadata">

**Author:** [@Tony1](https://forum.ansible.com/u/Tony1)\
**Replies:** 12\
**Last updated:** [September 13, 2021, 12:48pm UTC](https://forum.ansible.com/t/ec2-comparing-dates/35723 "2021-09-13T12:48:06Z")

</div>

Hi, would really appreciate some help if possible. I am using ec2\_ami\_info to capture the creation date. I register the output as ami\_creation\_date. Output is: 2021-09-09 I would like to delete the AMI if it is 2 day…

---

## [Self Sign certificate – Generate and OpenSSL certificates based on existing Root ca](https://forum.ansible.com/t/self-sign-certificate-generate-and-openssl-certificates-based-on-existing-root-ca/35725)

<div class="topic-metadata">

**Author:** [@Adir](https://forum.ansible.com/u/Adir)\
**Replies:** 3\
**Last updated:** [September 13, 2021, 12:29pm UTC](https://forum.ansible.com/t/self-sign-certificate-generate-and-openssl-certificates-based-on-existing-root-ca/35725 "2021-09-13T12:29:33Z")

</div>

Hi, I need to generate self sign certificate based on existing Root CA. How can i do this? i noticed below module → x509\_certificate – Generate and/or check OpenSSL certificates But i didn’t understand how can i gene…

---

## [AWX projects update error](https://forum.ansible.com/t/awx-projects-update-error/35729)

<div class="topic-metadata">

**Author:** [@room\_rabosan](https://forum.ansible.com/u/room_rabosan)\
**Replies:** 1\
**Last updated:** [September 13, 2021, 12:26pm UTC](https://forum.ansible.com/t/awx-projects-update-error/35729 "2021-09-13T12:26:50Z")

</div>

Hello! After updating the version of Ansible An error occurs when updating Project with AWX. Please cooperate in the solution. If you know the solution, please let me know. 〇Environment ・「awx\_task」 container ・Cent…

---

## [Assign aws ec2 tag keys dynamically while creating ec2 instance using ansible](https://forum.ansible.com/t/assign-aws-ec2-tag-keys-dynamically-while-creating-ec2-instance-using-ansible/35722)

<div class="topic-metadata">

**Author:** [@shrutika\_mehta](https://forum.ansible.com/u/shrutika_mehta)\
**Replies:** 1\
**Last updated:** [September 13, 2021, 11:54am UTC](https://forum.ansible.com/t/assign-aws-ec2-tag-keys-dynamically-while-creating-ec2-instance-using-ansible/35722 "2021-09-13T11:54:48Z")

</div>

tasks: name: Launch instance ec2: key\_name: “{{ keypair }}” group: “{{ security\_group }}” instance\_type: “{{ instance\_type }}” instance\_tags: Name : “{{ tagname2 }}” image: “{{ image }}” wait: true region: “{{…

---

## [Custom facts written using resource module builder](https://forum.ansible.com/t/custom-facts-written-using-resource-module-builder/35709)

<div class="topic-metadata">

**Author:** [@nitesh\_shet](https://forum.ansible.com/u/nitesh_shet)\
**Replies:** 2\
**Last updated:** [September 13, 2021, 6:39am UTC](https://forum.ansible.com/t/custom-facts-written-using-resource-module-builder/35709 "2021-09-13T06:39:43Z")

</div>

Hi, I had written a custom facts for NTP server but it is acting weirdly everytime i run the facts module using playbook , sometimes values will come and sometimes not. Can you please help me with this, is this the pro…

---

## [xml module don't keep the xml nested child structure in the result](https://forum.ansible.com/t/xml-module-dont-keep-the-xml-nested-child-structure-in-the-result/35727)

<div class="topic-metadata">

**Author:** [@Bruno1](https://forum.ansible.com/u/Bruno1)\
**Replies:** 2\
**Last updated:** [September 12, 2021, 3:15pm UTC](https://forum.ansible.com/t/xml-module-dont-keep-the-xml-nested-child-structure-in-the-result/35727 "2021-09-12T15:15:33Z")

</div>

Hi, I’m trying to use the xml module to find a xml block. The xpath find the block, but all nested child structure is removed, I.E all data is at same level after. Has anyone any ideas what is missing? Wrong module t…

---

## [AWX dependency on machine's Ansible](https://forum.ansible.com/t/awx-dependency-on-machines-ansible/35724)

<div class="topic-metadata">

**Author:** [@Jatin\_Garg](https://forum.ansible.com/u/Jatin_Garg)\
**Replies:** 1\
**Last updated:** [September 11, 2021, 5:19pm UTC](https://forum.ansible.com/t/awx-dependency-on-machines-ansible/35724 "2021-09-11T17:19:20Z")

</div>

Hi Team, I have AWX setup on minikube cluster on Ubuntu machine. I have also got Ansible installed (Version2.5.1 with python2.7) on this ubuntu machine. Using this ansible, I am running some playbooks through CLI. Now,…

---

## [\[WARNING\]: Failed to load inventory plugin, skipping vmware\_vm\_inventory](https://forum.ansible.com/t/warning-failed-to-load-inventory-plugin-skipping-vmware-vm-inventory/35372)

<div class="topic-metadata">

**Author:** [@Sofian\_El-Kadouri](https://forum.ansible.com/u/Sofian_El-Kadouri)\
**Replies:** 15\
**Last updated:** [September 10, 2021, 8:04am UTC](https://forum.ansible.com/t/warning-failed-to-load-inventory-plugin-skipping-vmware-vm-inventory/35372 "2021-09-10T08:04:56Z")

</div>

Hello, I want to set up a dynamic inventory but I have a problem with the plugin. I have followed the ansible documentation : https://docs.ansible.com/ansible/latest/scenario\_guides/vmware\_scenarios/vmware\_inventory.htm…

---

## [Abridged summary of ansible-project@googlegroups.com - 5 updates in 3 topics](https://forum.ansible.com/t/abridged-summary-of-ansible-project-googlegroups-com-5-updates-in-3-topics/35716)

<div class="topic-metadata">

**Author:** [@rahul1](https://forum.ansible.com/u/rahul1)\
**Replies:** 0\
**Last updated:** [September 8, 2021, 4:44pm UTC](https://forum.ansible.com/t/abridged-summary-of-ansible-project-googlegroups-com-5-updates-in-3-topics/35716 "2021-09-08T16:44:34Z")

</div>

---

## [Shell command not working](https://forum.ansible.com/t/shell-command-not-working/35715)

<div class="topic-metadata">

**Author:** [@aman\_kumar\_chagti](https://forum.ansible.com/u/aman_kumar_chagti)\
**Replies:** 2\
**Last updated:** [September 8, 2021, 1:18pm UTC](https://forum.ansible.com/t/shell-command-not-working/35715 "2021-09-08T13:18:20Z")

</div>

I’m using the below playbook but it’s giving me an error the playbook is

---

## [Permission Denied error](https://forum.ansible.com/t/permission-denied-error/35701)

<div class="topic-metadata">

**Author:** [@aman\_kumar\_chagti](https://forum.ansible.com/u/aman_kumar_chagti)\
**Replies:** 26\
**Last updated:** [September 3, 2021, 6:47pm UTC](https://forum.ansible.com/t/permission-denied-error/35701 "2021-09-03T18:47:08Z")

</div>

when I try to run the playbook on a remote VM using password-based authentication, I’m getting the following error: fatal: \[X.X.X.X\]: UNREACHABLE! =\> {“changed”: false, “msg”: “Failed to connect to the host via ssh: x…@…

---

## [ansible loop through command for multiple hosts](https://forum.ansible.com/t/ansible-loop-through-command-for-multiple-hosts/35708)

<div class="topic-metadata">

**Author:** [@Hanumantha\_Reddy\_Bas](https://forum.ansible.com/u/Hanumantha_Reddy_Bas)\
**Replies:** 0\
**Last updated:** [September 3, 2021, 6:23pm UTC](https://forum.ansible.com/t/ansible-loop-through-command-for-multiple-hosts/35708 "2021-09-03T18:23:11Z")

</div>

Hi,

---

## [A generic Handler ?](https://forum.ansible.com/t/a-generic-handler/35707)

<div class="topic-metadata">

**Author:** [@Fred\_B](https://forum.ansible.com/u/Fred_B)\
**Replies:** 0\
**Last updated:** [September 3, 2021, 2:24pm UTC](https://forum.ansible.com/t/a-generic-handler/35707 "2021-09-03T14:24:54Z")

</div>

Hello All, I’m using ansible with a lot of managed docker images, and I’m searching a way to have a single handler for all my tasks, at least reduce my list of handlers … Something like this (pseudo code) Handler - n…

---

## [make webdocs for Custom Modules](https://forum.ansible.com/t/make-webdocs-for-custom-modules/35706)

<div class="topic-metadata">

**Author:** [@Dhiwakar\_Ravikumar](https://forum.ansible.com/u/Dhiwakar_Ravikumar)\
**Replies:** 0\
**Last updated:** [September 3, 2021, 12:06pm UTC](https://forum.ansible.com/t/make-webdocs-for-custom-modules/35706 "2021-09-03T12:06:04Z")

</div>

Hi I have developed a collection of modules on my local setup. Now, I’ve already verified that the CLI docstrings for the modules are printing correctly by running ansible-doc Next, I wanted to generate the HTML web…

---

## [How to perform bitwise operation inside ansible playbook](https://forum.ansible.com/t/how-to-perform-bitwise-operation-inside-ansible-playbook/35613)

<div class="topic-metadata">

**Author:** [@Reshma\_Pattan](https://forum.ansible.com/u/Reshma_Pattan)\
**Replies:** 2\
**Last updated:** [September 3, 2021, 9:38am UTC](https://forum.ansible.com/t/how-to-perform-bitwise-operation-inside-ansible-playbook/35613 "2021-09-03T09:38:50Z")

</div>

Hi, I am looking to perform “bitwise OR” operation like below inside the Ansible playbook. 0x102030 or 0x908060 I understood from the internet that there is no direct way to do this. So, as sugegsted in this post (How…

---

## [Linux integration with Windows AD using Thycotic Secret Server](https://forum.ansible.com/t/linux-integration-with-windows-ad-using-thycotic-secret-server/35646)

<div class="topic-metadata">

**Author:** [@Vinod\_P](https://forum.ansible.com/u/Vinod_P)\
**Replies:** 2\
**Last updated:** [September 2, 2021, 8:53pm UTC](https://forum.ansible.com/t/linux-integration-with-windows-ad-using-thycotic-secret-server/35646 "2021-09-02T20:53:50Z")

</div>

Hello All, Hope you all doing OK. Did any one tried integrating Thycotic Secret Server with Ansible. Description - I Have a project to add all LINUX server to Windows Active directory. I was able to add the servers m…

---

## [Failed Task Summary In Play Recap](https://forum.ansible.com/t/failed-task-summary-in-play-recap/35700)

<div class="topic-metadata">

**Author:** [@Jitender\_J](https://forum.ansible.com/u/Jitender_J)\
**Replies:** 4\
**Last updated:** [September 2, 2021, 6:37am UTC](https://forum.ansible.com/t/failed-task-summary-in-play-recap/35700 "2021-09-02T06:37:56Z")

</div>

Hi Team, Is there anyway/module to print each failed task error summary in play recap

---

## [how to seprate key vale from debug output](https://forum.ansible.com/t/how-to-seprate-key-vale-from-debug-output/35685)

<div class="topic-metadata">

**Author:** [@Gaurav\_Dhyani](https://forum.ansible.com/u/Gaurav_Dhyani)\
**Replies:** 1\
**Last updated:** [September 1, 2021, 6:40pm UTC](https://forum.ansible.com/t/how-to-seprate-key-vale-from-debug-output/35685 "2021-09-01T18:40:31Z")

</div>

I have debug info like below, i want this in excel as key in the header and value below that. “msg”: { “HPE Ethernet 1Gb 4-port 331T Adapter #3”: “20.12.41”, “HPE Ethernet 1Gb 4-port 331i Adapter - NIC”: “20.12.41”, …

---

## [error when trying to transform a string in ansible](https://forum.ansible.com/t/error-when-trying-to-transform-a-string-in-ansible/35699)

<div class="topic-metadata">

**Author:** [@omoeko](https://forum.ansible.com/u/omoeko)\
**Replies:** 0\
**Last updated:** [September 1, 2021, 6:00pm UTC](https://forum.ansible.com/t/error-when-trying-to-transform-a-string-in-ansible/35699 "2021-09-01T18:00:20Z")

</div>

I have started to write a playbook that will simply take a comma separated list, form a path with it, and then transform it into a comma separated list.

---

## [uri module not honoring src path](https://forum.ansible.com/t/uri-module-not-honoring-src-path/35698)

<div class="topic-metadata">

**Author:** [@Jeffrey\_Nelson](https://forum.ansible.com/u/Jeffrey_Nelson)\
**Replies:** 0\
**Last updated:** [September 1, 2021, 4:23pm UTC](https://forum.ansible.com/t/uri-module-not-honoring-src-path/35698 "2021-09-01T16:23:52Z")

</div>

Hello all, I am trying to upload a file using the uri module as follows. It appears as if the src path is being modified before the file is uploaded. NOTE: I have changed host names and user names in this message. Examp…

---

## [Dell Force10 OS](https://forum.ansible.com/t/dell-force10-os/35694)

<div class="topic-metadata">

**Author:** [@spider](https://forum.ansible.com/u/spider)\
**Replies:** 0\
**Last updated:** [August 31, 2021, 11:47pm UTC](https://forum.ansible.com/t/dell-force10-os/35694 "2021-08-31T23:47:21Z")

</div>

Hey guys, maybe someone can help me. We have dell os6 , os9 and os10. I’m able to run a playbook and backup the config successfully. We also have old Dell Force10 8.4.2.7 and the same logic i’ve used for the other os i…

---

## [the global ansible\_command\_timeout seems to override TASK level ansible\_command\_timeout](https://forum.ansible.com/t/the-global-ansible-command-timeout-seems-to-override-task-level-ansible-command-timeout/35692)

<div class="topic-metadata">

**Author:** [@Vikram\_S](https://forum.ansible.com/u/Vikram_S)\
**Replies:** 3\
**Last updated:** [August 31, 2021, 10:53pm UTC](https://forum.ansible.com/t/the-global-ansible-command-timeout-seems-to-override-task-level-ansible-command-timeout/35692 "2021-08-31T22:53:43Z")

</div>

Hi, Iam using Ansible 2.10 with python 3 in WSL linux. In ansible.cfg file, i set global timeout value as 180. i also set much higher ansible\_command\_timeout value for certain tasks. However these tasks end in error as…

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

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