# Ansible Project

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

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

**Page:** 92

---

## [Why does delegate\_to group with include\_role run command on local machine?](https://forum.ansible.com/t/why-does-delegate-to-group-with-include-role-run-command-on-local-machine/34423)

<div class="topic-metadata">

**Author:** [@Jordan\_C](https://forum.ansible.com/u/Jordan_C)\
**Replies:** 3\
**Last updated:** [January 12, 2021, 12:27am UTC](https://forum.ansible.com/t/why-does-delegate-to-group-with-include-role-run-command-on-local-machine/34423 "2021-01-12T00:27:39Z")

</div>

I am trying to debug a playbook I’ve written which uses a couple of roles to spin up and then configure an AWS instance. The basic structure is one playbook (new-server.yml) imports two roles – roles/ec2\_instance and ro…

---

## [ansible network community (help on aireos module)](https://forum.ansible.com/t/ansible-network-community-help-on-aireos-module/34405)

<div class="topic-metadata">

**Author:** [@v\_ba](https://forum.ansible.com/u/v_ba)\
**Replies:** 3\
**Last updated:** [January 11, 2021, 3:14pm UTC](https://forum.ansible.com/t/ansible-network-community-help-on-aireos-module/34405 "2021-01-11T15:14:15Z")

</div>

hello could you bring some help on this topic. thx BR Victor Baptista

---

## [reboot issues](https://forum.ansible.com/t/reboot-issues/34413)

<div class="topic-metadata">

**Author:** [@Rene\_Paquin](https://forum.ansible.com/u/Rene_Paquin)\
**Replies:** 3\
**Last updated:** [January 11, 2021, 3:01pm UTC](https://forum.ansible.com/t/reboot-issues/34413 "2021-01-11T15:01:45Z")

</div>

I am testing a playbook to deploy updates then force a reboot on an Oracle Linux ver 8.3 The DNF updates run fine but when the system reboots it hangs. The server is a vm running in a vmware 6.7 environment. In order to …

---

## [Ansible AWX and TEXTFSM](https://forum.ansible.com/t/ansible-awx-and-textfsm/34421)

<div class="topic-metadata">

**Author:** [@Richard\_Lucht](https://forum.ansible.com/u/Richard_Lucht)\
**Replies:** 0\
**Last updated:** [January 11, 2021, 3:00pm UTC](https://forum.ansible.com/t/ansible-awx-and-textfsm/34421 "2021-01-11T15:00:00Z")

</div>

Hello, I have been having some great success with TextFSM and Python. I am now trying to use it in Ansible. I have installed the ntc-templates onto my server running ansible awx and when I run this demo script I get th…

---

## [ansible tower upgrade path](https://forum.ansible.com/t/ansible-tower-upgrade-path/34419)

<div class="topic-metadata">

**Author:** [@Jordan\_Bauduin](https://forum.ansible.com/u/Jordan_Bauduin)\
**Replies:** 1\
**Last updated:** [January 11, 2021, 10:52am UTC](https://forum.ansible.com/t/ansible-tower-upgrade-path/34419 "2021-01-11T10:52:10Z")

</div>

Hi there, I am relatively new the the Ansible community , and would like to get some confirmation from more experienced people regarding upgrades . I have inherited an outdated ansible deployment ( 3.3.2 ) which I would…

---

## [loop\_var value not defined error](https://forum.ansible.com/t/loop-var-value-not-defined-error/34418)

<div class="topic-metadata">

**Author:** [@Mayank\_Goyal](https://forum.ansible.com/u/Mayank_Goyal)\
**Replies:** 1\
**Last updated:** [January 11, 2021, 6:47am UTC](https://forum.ansible.com/t/loop-var-value-not-defined-error/34418 "2021-01-11T06:47:44Z")

</div>

Hi All, I am trying to access the variable using loop, but it’s not working for me. playbook

---

## [Ansible Tower/AWX Credential Management](https://forum.ansible.com/t/ansible-tower-awx-credential-management/34416)

<div class="topic-metadata">

**Author:** [@Yantram\_Cloud](https://forum.ansible.com/u/Yantram_Cloud)\
**Replies:** 3\
**Last updated:** [January 10, 2021, 8:53am UTC](https://forum.ansible.com/t/ansible-tower-awx-credential-management/34416 "2021-01-10T08:53:54Z")

</div>

All, I am looking a way to access credentials that are setup in Ansible Tower credentials. The scenario I am testing is to clone a private git repo. the way I found to pass the username and password are as follows.

---

## [Generating Report After Executing Playbook Tasks](https://forum.ansible.com/t/generating-report-after-executing-playbook-tasks/34414)

<div class="topic-metadata">

**Author:** [@aksain\_bhati](https://forum.ansible.com/u/aksain_bhati)\
**Replies:** 11\
**Last updated:** [January 9, 2021, 5:22pm UTC](https://forum.ansible.com/t/generating-report-after-executing-playbook-tasks/34414 "2021-01-09T17:22:41Z")

</div>

Hello, can you please help me to generate a final report after running playbook I have different playbooks for execution and I want a single report file for all. So that non-technical team can review the output. Plea…

---

## [Inventory Setup for SSH](https://forum.ansible.com/t/inventory-setup-for-ssh/34409)

<div class="topic-metadata">

**Author:** [@Paul\_John\_Lim](https://forum.ansible.com/u/Paul_John_Lim)\
**Replies:** 2\
**Last updated:** [January 9, 2021, 5:12am UTC](https://forum.ansible.com/t/inventory-setup-for-ssh/34409 "2021-01-09T05:12:19Z")

</div>

Hi! I’m just new here as I am new with ansible. I am using Alpine Linux VM on VirtualBox and my remote host will be Ubuntu Server 20.04 VM on VirtualBox too. I would like to ask how to know the IP address of ubuntu serve…

---

## [JimokhjnoRe: \[ansible-project\] Re:](https://forum.ansible.com/t/jimokhjnore-ansible-project-re/34415)

<div class="topic-metadata">

**Author:** [@Arthur\_Sery](https://forum.ansible.com/u/Arthur_Sery)\
**Replies:** 0\
**Last updated:** [January 8, 2021, 8:48pm UTC](https://forum.ansible.com/t/jimokhjnore-ansible-project-re/34415 "2021-01-08T20:48:18Z")

</div>

Retrying gjvh (attachments)

---

## [How are group\_vars merged?](https://forum.ansible.com/t/how-are-group-vars-merged/34410)

<div class="topic-metadata">

**Author:** [@Axel\_Rau](https://forum.ansible.com/u/Axel_Rau)\
**Replies:** 2\
**Last updated:** [January 8, 2021, 12:59pm UTC](https://forum.ansible.com/t/how-are-group-vars-merged/34410 "2021-01-08T12:59:59Z")

</div>

Hi all, I try to understand how group\_vars are merged: all: children: ... dmz5\_jails: hosts: ... ns5: ... ... dmz5\_hosts: children: ... d…

---

## [Potential Issue with privilege escalation for ldap accounts](https://forum.ansible.com/t/potential-issue-with-privilege-escalation-for-ldap-accounts/34412)

<div class="topic-metadata">

**Author:** [@NARAYANA\_RAO](https://forum.ansible.com/u/NARAYANA_RAO)\
**Replies:** 0\
**Last updated:** [January 8, 2021, 10:33am UTC](https://forum.ansible.com/t/potential-issue-with-privilege-escalation-for-ldap-accounts/34412 "2021-01-08T10:33:06Z")

</div>

Hi There! On unix platform, ansible privilege escalation to “root” account from a ldap connected account seems to have an issue for password less “sudo su - root” setup. I get the following error when ldap account tries…

---

## [Maximum sessions reached - Cisco XML apis though ansible](https://forum.ansible.com/t/maximum-sessions-reached-cisco-xml-apis-though-ansible/34411)

<div class="topic-metadata">

**Author:** [@Ramesh\_AR](https://forum.ansible.com/u/Ramesh_AR)\
**Replies:** 0\
**Last updated:** [January 7, 2021, 6:40pm UTC](https://forum.ansible.com/t/maximum-sessions-reached-cisco-xml-apis-though-ansible/34411 "2021-01-07T18:40:21Z")

</div>

Folks, How to eliminate “Maximum sessions reached” error when I execute bulk nodes in ansible playbook ( using cisco XML APIs to retrieve outputs) Maximum I can get output for 7 nodes only , remaining nodes are getting…

---

## [calling handler if package has been updated](https://forum.ansible.com/t/calling-handler-if-package-has-been-updated/34407)

<div class="topic-metadata">

**Author:** [@Axel\_Rau](https://forum.ansible.com/u/Axel_Rau)\
**Replies:** 2\
**Last updated:** [January 7, 2021, 3:32pm UTC](https://forum.ansible.com/t/calling-handler-if-package-has-been-updated/34407 "2021-01-07T15:32:08Z")

</div>

Hi, in a role, I have: - name: Install packages, needed for named pkgng: name: "{{ lr\_bind9\_pkg }}" state: latest register: testresult I want to trigger a reload of named, if pkgng has changed someth…

---

## [Ansible - How to condition execution of the version of the Operating System.](https://forum.ansible.com/t/ansible-how-to-condition-execution-of-the-version-of-the-operating-system/34363)

<div class="topic-metadata">

**Author:** [@Thiago\_Boeira](https://forum.ansible.com/u/Thiago_Boeira)\
**Replies:** 4\
**Last updated:** [January 7, 2021, 3:02pm UTC](https://forum.ansible.com/t/ansible-how-to-condition-execution-of-the-version-of-the-operating-system/34363 "2021-01-07T15:02:26Z")

</div>

Friends, Good afternoon! Well, first of all, I didn’t know where to get help. Then, here at VOL I didn’t find a correct classification, so, if necessary, I reissue it to send it correctly. Well, as the title of the me…

---

## [Module not found when using collection](https://forum.ansible.com/t/module-not-found-when-using-collection/34408)

<div class="topic-metadata">

**Author:** [@Yanis\_Boucherit](https://forum.ansible.com/u/Yanis_Boucherit)\
**Replies:** 4\
**Last updated:** [January 7, 2021, 2:53pm UTC](https://forum.ansible.com/t/module-not-found-when-using-collection/34408 "2021-01-07T14:53:26Z")

</div>

I’m working with Ansible, I made a collection with some roles, all is working flawlessly, I can use my roles etc. until recently. I tried to use the hashivault\_write and hashivault\_read modules (https://pypi.org/project…

---

## [can anyone give me support for me in ansible scripts](https://forum.ansible.com/t/can-anyone-give-me-support-for-me-in-ansible-scripts/34406)

<div class="topic-metadata">

**Author:** [@prathyusha](https://forum.ansible.com/u/prathyusha)\
**Replies:** 1\
**Last updated:** [January 7, 2021, 7:51am UTC](https://forum.ansible.com/t/can-anyone-give-me-support-for-me-in-ansible-scripts/34406 "2021-01-07T07:51:54Z")

</div>

Hi all, Anyone can provide support in writing ansible scripts please its urgent if you want to give support call me or provide me your number. Thanks & Regards Prathyusha +91 8374375359

---

## [Playbook can't run](https://forum.ansible.com/t/playbook-cant-run/34399)

<div class="topic-metadata">

**Author:** [@Asong\_Gentle](https://forum.ansible.com/u/Asong_Gentle)\
**Replies:** 4\
**Last updated:** [January 6, 2021, 10:58pm UTC](https://forum.ansible.com/t/playbook-cant-run/34399 "2021-01-06T22:58:32Z")

</div>

Hello everyone. I have an issue reaching my ubuntu server. I am having this feedback each time I run my playbook: root@dev:/etc/ansible# ansible-playbook update.yml PLAY\[play\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Ansible Setup](https://forum.ansible.com/t/ansible-setup/34403)

<div class="topic-metadata">

**Author:** [@Deepak\_Gowda](https://forum.ansible.com/u/Deepak_Gowda)\
**Replies:** 2\
**Last updated:** [January 6, 2021, 4:23pm UTC](https://forum.ansible.com/t/ansible-setup/34403 "2021-01-06T16:23:55Z")

</div>

Hi All, Is there a document which can guide to setup connection between Linux and Windows machine on a AD-Domain account using Kerberos. I followed the Ansible document but it doesn’t give full details. Can anyone hel…

---

## [Getting sum of gathered facts](https://forum.ansible.com/t/getting-sum-of-gathered-facts/34404)

<div class="topic-metadata">

**Author:** [@harry\_devine](https://forum.ansible.com/u/harry_devine)\
**Replies:** 4\
**Last updated:** [January 6, 2021, 2:54pm UTC](https://forum.ansible.com/t/getting-sum-of-gathered-facts/34404 "2021-01-06T14:54:19Z")

</div>

A few weeks ago, you guys helped me get the sum of gluster healings occurring on our gluster volumes. So now I have 3 facts that have sums of each of our 3 volumes. I’d like to sum those now as its own fact, but its givi…

---

## [Executable vault password file doesnt work](https://forum.ansible.com/t/executable-vault-password-file-doesnt-work/34402)

<div class="topic-metadata">

**Author:** [@Ankur\_Porwal](https://forum.ansible.com/u/Ankur_Porwal)\
**Replies:** 5\
**Last updated:** [January 6, 2021, 1:50pm UTC](https://forum.ansible.com/t/executable-vault-password-file-doesnt-work/34402 "2021-01-06T13:50:51Z")

</div>

Hi All, I hope you all are doing good in these trying times !! I am working on a POC for using a executable file as my ansible vault password. So my ansible command to run playbook looks something like this ansible-p…

---

## [ubuntu problem](https://forum.ansible.com/t/ubuntu-problem/34401)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 0\
**Last updated:** [January 6, 2021, 10:03am UTC](https://forum.ansible.com/t/ubuntu-problem/34401 "2021-01-06T10:03:18Z")

</div>

Since the information you provide is very general, the answer can't be more specific either: read https://docs.ansible.com/ansible/latest/user\_guide/become.html

---

## [please anyone can explain and solve this issue](https://forum.ansible.com/t/please-anyone-can-explain-and-solve-this-issue/34400)

<div class="topic-metadata">

**Author:** [@prathyusha](https://forum.ansible.com/u/prathyusha)\
**Replies:** 1\
**Last updated:** [January 6, 2021, 8:39am UTC](https://forum.ansible.com/t/please-anyone-can-explain-and-solve-this-issue/34400 "2021-01-06T08:39:23Z")

</div>

Hi Everyone, this is the issue fatal: \[localhost\]: FAILED! =\> {“attempts”: 3, “changed”: false, “dest”: “/usr/local/src/jdk-12.0.1\_linux-x64\_bin.rpm”, “elapsed”: 0, “msg”: “Request failed”, “response”: “HTTP Error 403:…

---

## [Ansible-2.10.5 has been released](https://forum.ansible.com/t/ansible-2-10-5-has-been-released/34398)

<div class="topic-metadata">

**Author:** [@Deric\_Crago](https://forum.ansible.com/u/Deric_Crago)\
**Replies:** 0\
**Last updated:** [January 5, 2021, 10:00pm UTC](https://forum.ansible.com/t/ansible-2-10-5-has-been-released/34398 "2021-01-05T22:00:25Z")

</div>

Hi all, We're happy to announce that the ansible-2.10.5 package is now available! This update contains bugfixes and new, backwards compatible features in the contained collections. Ansible-2.10.x is a big change in h…

---

## [Exclude json object which doesn't have value in ansible](https://forum.ansible.com/t/exclude-json-object-which-doesnt-have-value-in-ansible/34384)

<div class="topic-metadata">

**Author:** [@Ramesh\_AR](https://forum.ansible.com/u/Ramesh_AR)\
**Replies:** 4\
**Last updated:** [January 5, 2021, 3:13pm UTC](https://forum.ansible.com/t/exclude-json-object-which-doesnt-have-value-in-ansible/34384 "2021-01-05T15:13:32Z")

</div>

how to exclude the below from json queries or is it possible to filter in debug . I tried but couldn’t sorted out .

---

## [Filter values](https://forum.ansible.com/t/filter-values/34394)

<div class="topic-metadata">

**Author:** [@Pravin\_V](https://forum.ansible.com/u/Pravin_V)\
**Replies:** 0\
**Last updated:** [January 5, 2021, 2:39pm UTC](https://forum.ansible.com/t/filter-values/34394 "2021-01-05T14:39:36Z")

</div>

Hello Everyone, I want to filter out the values after “:” so I can pass the RestAPI commands to add the devices. name: Split All - FIRST set\_fact: names\_list: “{{ get\_names.content.split(‘\\n’) | regex\_replace(‘( =)…

---

## [This topic needs a title](https://forum.ansible.com/t/this-topic-needs-a-title/34390)

<div class="topic-metadata">

**Author:** [@Deepak\_Gowda](https://forum.ansible.com/u/Deepak_Gowda)\
**Replies:** 7\
**Last updated:** [January 5, 2021, 11:38am UTC](https://forum.ansible.com/t/this-topic-needs-a-title/34390 "2021-01-05T11:38:52Z")

</div>

Hi All, I am trying to connect to windows server and getting the below error,can anyone please help me with this? my hosts file looks as below,

---

## [Filter a dict with a list in a loop](https://forum.ansible.com/t/filter-a-dict-with-a-list-in-a-loop/34392)

<div class="topic-metadata">

**Author:** [@Wilfried\_HUMBERT](https://forum.ansible.com/u/Wilfried_HUMBERT)\
**Replies:** 3\
**Last updated:** [January 4, 2021, 10:35pm UTC](https://forum.ansible.com/t/filter-a-dict-with-a-list-in-a-loop/34392 "2021-01-04T22:35:15Z")

</div>

Hi, I’m writing a playbook with the aim to search for IOC accross all managed hosts. I’ve got a dict that contains several file as key (like /home/user/foo) with a checksum as value. The dict have been filled by a prev…

---

## [Ansible error "The image service for envvars:nova exists but does not have any supported versions."](https://forum.ansible.com/t/ansible-error-the-image-service-for-envvars-nova-exists-but-does-not-have-any-supported-versions/34385)

<div class="topic-metadata">

**Author:** [@Thomas\_King](https://forum.ansible.com/u/Thomas_King)\
**Replies:** 0\
**Last updated:** [December 31, 2020, 11:27pm UTC](https://forum.ansible.com/t/ansible-error-the-image-service-for-envvars-nova-exists-but-does-not-have-any-supported-versions/34385 "2020-12-31T23:27:43Z")

</div>

We upgraded our OpenStack environment from Ocata to Train earlier this week. Now one user says her team’s Ansible pipeline is broken with this bit. Is there a version mismatch? =2.7,\<2.8 openstacksdk==0.41 \<127.0.0.…

---

## [Need help for json query syntax](https://forum.ansible.com/t/need-help-for-json-query-syntax/34381)

<div class="topic-metadata">

**Author:** [@Ramesh\_AR](https://forum.ansible.com/u/Ramesh_AR)\
**Replies:** 9\
**Last updated:** [December 31, 2020, 4:00pm UTC](https://forum.ansible.com/t/need-help-for-json-query-syntax/34381 "2020-12-31T16:00:15Z")

</div>

Folks, trying to get json query for the below data’s. Tried the below queries but didn’t get output as expected. can someone help me . Try 1:

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

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