# Latest

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

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

**Page:** 288

---

## [Deploying multiple VMs on a KVM Host](https://forum.ansible.com/t/deploying-multiple-vms-on-a-kvm-host/35574)

<div class="topic-metadata">

**Author:** [@Shiva\_Ranjini](https://forum.ansible.com/u/Shiva_Ranjini)\
**Replies:** 1\
**Last updated:** [August 3, 2021, 10:34am UTC](https://forum.ansible.com/t/deploying-multiple-vms-on-a-kvm-host/35574 "2021-08-03T10:34:33Z")

</div>

Hi Team, I have a qcow2 image which is developed on the DEB 10 base. I am able to deploy one VM using libvirt and also by using template. I have read some blogs on this and checked videos which shows creating it by clou…

---

## [notify on file existence?](https://forum.ansible.com/t/notify-on-file-existence/35575)

<div class="topic-metadata">

**Author:** [@oloryn](https://forum.ansible.com/u/oloryn)\
**Replies:** 2\
**Last updated:** [August 2, 2021, 3:30pm UTC](https://forum.ansible.com/t/notify-on-file-existence/35575 "2021-08-02T15:30:57Z")

</div>

I've got a playbook where a couple of tasks are notifying a 'Reboot server' handler when a lineinfile generates a change. I \*also\* want to notify the same handler when the reboot-required file exists (this is on Ubuntu)…

---

## [Failed escalation timeout on first inventory hosts on pwsh](https://forum.ansible.com/t/failed-escalation-timeout-on-first-inventory-hosts-on-pwsh/35573)

<div class="topic-metadata">

**Author:** [@Gernel\_Rodavia](https://forum.ansible.com/u/Gernel_Rodavia)\
**Replies:** 0\
**Last updated:** [August 2, 2021, 6:13am UTC](https://forum.ansible.com/t/failed-escalation-timeout-on-first-inventory-hosts-on-pwsh/35573 "2021-08-02T06:13:16Z")

</div>

Hi, Does anyone encounter this type of error whenever try to use the powercli. it only fails on the first inventory hosts and after that the next inventory hosts will success. name: Create a new Snapshot shell: | Co…

---

## [jinja2 template](https://forum.ansible.com/t/jinja2-template/35571)

<div class="topic-metadata">

**Author:** [@Sakshi\_Jain](https://forum.ansible.com/u/Sakshi_Jain)\
**Replies:** 1\
**Last updated:** [August 2, 2021, 5:16am UTC](https://forum.ansible.com/t/jinja2-template/35571 "2021-08-02T05:16:43Z")

</div>

Please help to resolve this error ansible-playbook: error: unrecognized arguments: --snyntax-check \[ec2-user@ansible-engine jinja2\]$ ansible-playbook lab27.yaml PLAY \[install vsftpd\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Regular expression to match output that doesn't contain a word](https://forum.ansible.com/t/regular-expression-to-match-output-that-doesnt-contain-a-word/35572)

<div class="topic-metadata">

**Author:** [@chr00ted](https://forum.ansible.com/u/chr00ted)\
**Replies:** 1\
**Last updated:** [August 2, 2021, 3:28am UTC](https://forum.ansible.com/t/regular-expression-to-match-output-that-doesnt-contain-a-word/35572 "2021-08-02T03:28:39Z")

</div>

I have a play that runs against several switches and returns the output of: name: show int desc ios\_command: commands: “sh interfaces description | inc {{ mac\_addr }}” register: printout Is there a way to exclude r…

---

## [Ansible and VMware 7.0 Compatibility](https://forum.ansible.com/t/ansible-and-vmware-7-0-compatibility/35568)

<div class="topic-metadata">

**Author:** [@Nelson\_Neves](https://forum.ansible.com/u/Nelson_Neves)\
**Replies:** 2\
**Last updated:** [August 1, 2021, 9:02am UTC](https://forum.ansible.com/t/ansible-and-vmware-7-0-compatibility/35568 "2021-08-01T09:02:31Z")

</div>

Hi! We intend to upgrade VMware 6.7 to VMware 7.0 Update 2 and we’re wondering if Ansible is 100% compatible with this new version. I’ve tried to find an answer without any success. Also, is there a link that clearly …

---

## [jinja 2 template](https://forum.ansible.com/t/jinja-2-template/35570)

<div class="topic-metadata">

**Author:** [@Sakshi\_Jain](https://forum.ansible.com/u/Sakshi_Jain)\
**Replies:** 2\
**Last updated:** [July 31, 2021, 8:31pm UTC](https://forum.ansible.com/t/jinja-2-template/35570 "2021-07-31T20:31:25Z")

</div>

Please help to resolve this error ansible-playbook: error: unrecognized arguments: --snyntax-check \[ec2-user@ansible-engine jinja2\]$ ansible-playbook lab27.yaml PLAY \[install vsftpd\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Azure AD oauth and groups](https://forum.ansible.com/t/azure-ad-oauth-and-groups/35561)

<div class="topic-metadata">

**Author:** [@daemenseth](https://forum.ansible.com/u/daemenseth)\
**Replies:** 2\
**Last updated:** [July 31, 2021, 7:57am UTC](https://forum.ansible.com/t/azure-ad-oauth-and-groups/35561 "2021-07-31T07:57:36Z")

</div>

I want to use azure ad authentication for my awx instance. The logins are working, but does some have some examples how to do team mapping based on azure ad groups. Or do I need to use saml?

---

## [Read only role issue in Awx](https://forum.ansible.com/t/read-only-role-issue-in-awx/35560)

<div class="topic-metadata">

**Author:** [@pabbisetty.hm](https://forum.ansible.com/u/pabbisetty.hm)\
**Replies:** 1\
**Last updated:** [July 30, 2021, 1:03pm UTC](https://forum.ansible.com/t/read-only-role-issue-in-awx/35560 "2021-07-30T13:03:56Z")

</div>

Hello, In Awx, we have created a team and assigned READ ONLY role. However, members of the read-only team are able to create a credential and user. Can you suggest onhow to fix this ? //Venkata

---

## [jinja 2 template](https://forum.ansible.com/t/jinja-2-template/35569)

<div class="topic-metadata">

**Author:** [@Sakshi\_Jain](https://forum.ansible.com/u/Sakshi_Jain)\
**Replies:** 0\
**Last updated:** [July 30, 2021, 12:24pm UTC](https://forum.ansible.com/t/jinja-2-template/35569 "2021-07-30T12:24:37Z")

</div>

Please help to resolve this error ansible-playbook: error: unrecognized arguments: --snyntax-check \[ec2-user@ansible-engine jinja2\]$ ansible-playbook lab27.yaml PLAY \[install vsftpd\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Identifying IOS and NXOS](https://forum.ansible.com/t/identifying-ios-and-nxos/35447)

<div class="topic-metadata">

**Author:** [@Pushparaj\_Gothandam](https://forum.ansible.com/u/Pushparaj_Gothandam)\
**Replies:** 7\
**Last updated:** [July 30, 2021, 6:28am UTC](https://forum.ansible.com/t/identifying-ios-and-nxos/35447 "2021-07-30T06:28:35Z")

</div>

Hi Team, I have 100 devices in host file, both IOS and NXOS mixed. I am trying pull OS details and hostname as report. Since IOS and NXOS devices are mixed in inventory, How can IOS\_facts and NXOS\_facts work in single p…

---

## [find module to scan sub directories need help](https://forum.ansible.com/t/find-module-to-scan-sub-directories-need-help/35567)

<div class="topic-metadata">

**Author:** [@Raj](https://forum.ansible.com/u/Raj)\
**Replies:** 1\
**Last updated:** [July 29, 2021, 7:20pm UTC](https://forum.ansible.com/t/find-module-to-scan-sub-directories-need-help/35567 "2021-07-29T19:20:27Z")

</div>

Hi All, I am trying to find files in sub directory like the first server path: /opt/test/x/y/z/file.txt each server has different paths. I am using find module it checking for current directory as mention /opt/test\* c…

---

## [Ansible network\_cli plugin development for custom network device](https://forum.ansible.com/t/ansible-network-cli-plugin-development-for-custom-network-device/35555)

<div class="topic-metadata">

**Author:** [@nitesh\_shet](https://forum.ansible.com/u/nitesh_shet)\
**Replies:** 1\
**Last updated:** [July 29, 2021, 3:23pm UTC](https://forum.ansible.com/t/ansible-network-cli-plugin-development-for-custom-network-device/35555 "2021-07-29T15:23:35Z")

</div>

Hi, I have written code for cliconf and terminal for new network device to support network\_cli but i am unable to load the cliconf when i am running the command for the device. the cliconf and terminal both are in resp…

---

## [cli\_command | help](https://forum.ansible.com/t/cli-command-help/35565)

<div class="topic-metadata">

**Author:** [@Pushparaj\_Gothandam](https://forum.ansible.com/u/Pushparaj_Gothandam)\
**Replies:** 2\
**Last updated:** [July 29, 2021, 2:12pm UTC](https://forum.ansible.com/t/cli-command-help/35565 "2021-07-29T14:12:25Z")

</div>

I am logging to Radware Alteon device, When I tried logging in I get below prompt It logins to the device once after inputting ‘y’ or hitting ‘enter’ key manually.

---

## [How To Filter Ansible Facts In Template And Playbook](https://forum.ansible.com/t/how-to-filter-ansible-facts-in-template-and-playbook/35562)

<div class="topic-metadata">

**Author:** [@Isaiah\_Banks](https://forum.ansible.com/u/Isaiah_Banks)\
**Replies:** 2\
**Last updated:** [July 29, 2021, 1:19pm UTC](https://forum.ansible.com/t/how-to-filter-ansible-facts-in-template-and-playbook/35562 "2021-07-29T13:19:49Z")

</div>

Hello. I am new to Ansible. I am trying to figure out how I can filter a list of ansible\_facts in a template and playbook and get the information I directly need. I am trying to do this with json\_query() plugin. However…

---

## [My hostvars is not capturing some attributes](https://forum.ansible.com/t/my-hostvars-is-not-capturing-some-attributes/35564)

<div class="topic-metadata">

**Author:** [@mukti\_misra](https://forum.ansible.com/u/mukti_misra)\
**Replies:** 1\
**Last updated:** [July 29, 2021, 8:54am UTC](https://forum.ansible.com/t/my-hostvars-is-not-capturing-some-attributes/35564 "2021-07-29T08:54:32Z")

</div>

Hi , I have 3 attributes in 1 play which i am calling in another play , but only 2 of them is getting called in 2nd play. Can someone help me find why? Thanks, Mukti

---

## [ansible win\_ping fails with 'transport\_message': 'Bad HTTP](https://forum.ansible.com/t/ansible-win-ping-fails-with-transport-message-bad-http/35563)

<div class="topic-metadata">

**Author:** [@Nick\_Bhanji](https://forum.ansible.com/u/Nick_Bhanji)\
**Replies:** 0\
**Last updated:** [July 28, 2021, 7:38pm UTC](https://forum.ansible.com/t/ansible-win-ping-fails-with-transport-message-bad-http/35563 "2021-07-28T19:38:13Z")

</div>

I am trying to execute: ansible testing -m win\_ping -vvvv Output: -fog:~/ansible-playbooks/testing$ ansible testing -m win\_ping -vvvvv \[DEPRECATION WARNING\]: Ansible will require Python 3.8 or newer on the controller …

---

## [Ansible Tower Complex Scheduling](https://forum.ansible.com/t/ansible-tower-complex-scheduling/35558)

<div class="topic-metadata">

**Author:** [@Donnie\_Larson](https://forum.ansible.com/u/Donnie_Larson)\
**Replies:** 2\
**Last updated:** [July 28, 2021, 3:47pm UTC](https://forum.ansible.com/t/ansible-tower-complex-scheduling/35558 "2021-07-28T15:47:14Z")

</div>

Does anyone know how to deal with schedules that are fairly complex? for example 2nd Saturday after 1st Tuesday? Or we even have one that is 9 days after 1st Tuesday. Thanks

---

## [Tower complex job scheduling](https://forum.ansible.com/t/tower-complex-job-scheduling/35559)

<div class="topic-metadata">

**Author:** [@Donnie\_Larson](https://forum.ansible.com/u/Donnie_Larson)\
**Replies:** 0\
**Last updated:** [July 28, 2021, 3:46pm UTC](https://forum.ansible.com/t/tower-complex-job-scheduling/35559 "2021-07-28T15:46:03Z")

</div>

Does anyone know how to deal with schedules that are fairly complex? for example 2nd Saturday after 1st Tuesday? Or we even have one that is 9 days after 1st Tuesday. Thanks

---

## [Unexpected behavior with cron](https://forum.ansible.com/t/unexpected-behavior-with-cron/35557)

<div class="topic-metadata">

**Author:** [@Michael\_van\_Santen](https://forum.ansible.com/u/Michael_van_Santen)\
**Replies:** 1\
**Last updated:** [July 28, 2021, 1:57pm UTC](https://forum.ansible.com/t/unexpected-behavior-with-cron/35557 "2021-07-28T13:57:11Z")

</div>

Hey folks, we recently performed an Upgrade of Ansible, or to be more specific an upgrade of AWX. We went from AWX 17 to AWX 19.2.0 which also updated the Ansible version After the Upgrade we get the following fatal e…

---

## [Stop execution on hosts with errors, keep running on hosts where it's fine?](https://forum.ansible.com/t/stop-execution-on-hosts-with-errors-keep-running-on-hosts-where-its-fine/35556)

<div class="topic-metadata">

**Author:** [@Mihail\_T](https://forum.ansible.com/u/Mihail_T)\
**Replies:** 1\
**Last updated:** [July 28, 2021, 10:43am UTC](https://forum.ansible.com/t/stop-execution-on-hosts-with-errors-keep-running-on-hosts-where-its-fine/35556 "2021-07-28T10:43:34Z")

</div>

Hi. How do I make it so Ansible runs on multiple hosts simultaneously, without waiting for all hosts’ play finish, but allow them to also keep running plays if a task failed on one or several hosts? The idea is to stop p…

---

## [ansible-playbook command run with shell module hangs for long time.](https://forum.ansible.com/t/ansible-playbook-command-run-with-shell-module-hangs-for-long-time/35554)

<div class="topic-metadata">

**Author:** [@Gaurav\_Swami](https://forum.ansible.com/u/Gaurav_Swami)\
**Replies:** 0\
**Last updated:** [July 28, 2021, 6:17am UTC](https://forum.ansible.com/t/ansible-playbook-command-run-with-shell-module-hangs-for-long-time/35554 "2021-07-28T06:17:12Z")

</div>

Hello, I have below setup Docker → System1 —\> System2 From docker image I spawn two systems using simple shell script , In System1 cloned automation repo , update/install the necessary packages, update hosts file( Sys…

---

## [implement checks on every iteration using with\_items](https://forum.ansible.com/t/implement-checks-on-every-iteration-using-with-items/35553)

<div class="topic-metadata">

**Author:** [@Som\_Das](https://forum.ansible.com/u/Som_Das)\
**Replies:** 0\
**Last updated:** [July 28, 2021, 4:51am UTC](https://forum.ansible.com/t/implement-checks-on-every-iteration-using-with-items/35553 "2021-07-28T04:51:10Z")

</div>

Hi All, I have the following code: name: execute all commands in the file cisco.asa.aa\_command: commands: “{{ item }}” with\_lines: cat ./role1/files/commands.txt register: output Now I want to implement a check o…

---

## [Installed AWX 19 though Docker Compose for Development. but unable to connect AWX GUI](https://forum.ansible.com/t/installed-awx-19-though-docker-compose-for-development-but-unable-to-connect-awx-gui/35036)

<div class="topic-metadata">

**Author:** [@sivas](https://forum.ansible.com/u/sivas)\
**Replies:** 14\
**Last updated:** [July 28, 2021, 12:34am UTC](https://forum.ansible.com/t/installed-awx-19-though-docker-compose-for-development-but-unable-to-connect-awx-gui/35036 "2021-07-28T00:34:34Z")

</div>

Dear All, Installed AWX 19 though Docker Compose for Development. but unable to connect AWX GUI I have used ports mentioned in the compose file (using http and https) Could you please assist here docker ps CONTAINER …

---

## [fact caching no longer works after upgrading to Ansible 2.11](https://forum.ansible.com/t/fact-caching-no-longer-works-after-upgrading-to-ansible-2-11/35545)

<div class="topic-metadata">

**Author:** [@Vikram\_S](https://forum.ansible.com/u/Vikram_S)\
**Replies:** 5\
**Last updated:** [July 27, 2021, 8:04pm UTC](https://forum.ansible.com/t/fact-caching-no-longer-works-after-upgrading-to-ansible-2-11/35545 "2021-07-27T20:04:12Z")

</div>

Hi, I had enabled fact caching using below commands when i was earlier using ansible 2.9 with python 2.7 (not sure about minor version though i know major version was python 2.xx) in WSL linux. ASA facts module didn’t …

---

## [AWX Settings page with normal user is showing dashboard](https://forum.ansible.com/t/awx-settings-page-with-normal-user-is-showing-dashboard/35538)

<div class="topic-metadata">

**Author:** [@prakash\_reddy](https://forum.ansible.com/u/prakash_reddy)\
**Replies:** 1\
**Last updated:** [July 27, 2021, 2:37pm UTC](https://forum.ansible.com/t/awx-settings-page-with-normal-user-is-showing-dashboard/35538 "2021-07-27T14:37:23Z")

</div>

Hi, In AWX, when login with normal user it takes me to dashboard but not giving any option to view the settings. If the user do not have access to Settings, I would expect that permission denied error would be display. …

---

## [Working with registered results](https://forum.ansible.com/t/working-with-registered-results/35548)

<div class="topic-metadata">

**Author:** [@chr00ted](https://forum.ansible.com/u/chr00ted)\
**Replies:** 5\
**Last updated:** [July 27, 2021, 2:12pm UTC](https://forum.ansible.com/t/working-with-registered-results/35548 "2021-07-27T14:12:35Z")

</div>

Hello all, I have a group of switches that users keep asking me to locate mac address for in order to trace down the exact port and edit that port to a new vlan. Rather than logging into each switch and tracking down the…

---

## [selectattr : multiples attributes "defined" ?](https://forum.ansible.com/t/selectattr-multiples-attributes-defined/35552)

<div class="topic-metadata">

**Author:** [@Gaetan\_QUENTIN](https://forum.ansible.com/u/Gaetan_QUENTIN)\
**Replies:** 0\
**Last updated:** [July 27, 2021, 2:04pm UTC](https://forum.ansible.com/t/selectattr-multiples-attributes-defined/35552 "2021-07-27T14:04:57Z")

</div>

Hi, i am trying to filter a list containg items with differents attributes which may exist or not. I know to to do it with one attrobute, but how to select multiple attributes which may not exist? exemple below can fil…

---

## [How to pass a long list a variables to a script, comma seperated in double quotes ?](https://forum.ansible.com/t/how-to-pass-a-long-list-a-variables-to-a-script-comma-seperated-in-double-quotes/35551)

<div class="topic-metadata">

**Author:** [@omoeko](https://forum.ansible.com/u/omoeko)\
**Replies:** 0\
**Last updated:** [July 27, 2021, 12:43pm UTC](https://forum.ansible.com/t/how-to-pass-a-long-list-a-variables-to-a-script-comma-seperated-in-double-quotes/35551 "2021-07-27T12:43:55Z")

</div>

Hi All. I currently pass a comma seperated list of variables to my ansible tower template in this matter param1: xxxxx server\_port\_list: “‘server1,4455’,‘server2,7777’,‘server3,5588’” I have a file which has the cont…

---

## [Error "Failed to connect to the host via ssh: PLEASE HELP](https://forum.ansible.com/t/error-failed-to-connect-to-the-host-via-ssh-please-help/35550)

<div class="topic-metadata">

**Author:** [@user98](https://forum.ansible.com/u/user98)\
**Replies:** 0\
**Last updated:** [July 27, 2021, 12:41pm UTC](https://forum.ansible.com/t/error-failed-to-connect-to-the-host-via-ssh-please-help/35550 "2021-07-27T12:41:12Z")

</div>

Good afternoon, colleagues. I’m trying to run the software version check playbook on the switch. But when I try to connect via ssh, I get the error "Failed to connect to the host via ssh: sh-4.4# ansible-playbook show\_v…

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

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