# Ansible Project

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

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

**Page:** 68

---

## [k8s module - operator install - wait\_condition does not wait for readiness of operator](https://forum.ansible.com/t/k8s-module-operator-install-wait-condition-does-not-wait-for-readiness-of-operator/35595)

<div class="topic-metadata">

**Author:** [@Martin\_Evans](https://forum.ansible.com/u/Martin_Evans)\
**Replies:** 1\
**Last updated:** [August 6, 2021, 10:49am UTC](https://forum.ansible.com/t/k8s-module-operator-install-wait-condition-does-not-wait-for-readiness-of-operator/35595 "2021-08-06T10:49:15Z")

</div>

Hi, When I am installing an Operator with a wait condition such as: wait\_condition: type: “CatalogSourcesUnhealthy” status: “False” reason: “AllCatalogSourcesHealthy” The role continues to the next task even when th…

---

## [LXD inventory from a different host](https://forum.ansible.com/t/lxd-inventory-from-a-different-host/35591)

<div class="topic-metadata">

**Author:** [@David\_Hodgson](https://forum.ansible.com/u/David_Hodgson)\
**Replies:** 1\
**Last updated:** [August 6, 2021, 9:23am UTC](https://forum.ansible.com/t/lxd-inventory-from-a-different-host/35591 "2021-08-06T09:23:16Z")

</div>

Hi I have ansible on one host, and a cluster of LXD hosts, accessible via ssh. I think I’m missing something, but how do I tell the LXD inventory module to: run on (one of) the LXD hosts return inventory entries that …

---

## [Interactive prompt for one or more commands in a playbook](https://forum.ansible.com/t/interactive-prompt-for-one-or-more-commands-in-a-playbook/35584)

<div class="topic-metadata">

**Author:** [@Josh\_Karki](https://forum.ansible.com/u/Josh_Karki)\
**Replies:** 2\
**Last updated:** [August 5, 2021, 9:47pm UTC](https://forum.ansible.com/t/interactive-prompt-for-one-or-more-commands-in-a-playbook/35584 "2021-08-05T21:47:11Z")

</div>

For example, show interface status show version show ip route how can a module be written in Ansible to prompt user for the show command to type in when running a playbook. If entered one command (show interface stat…

---

## [Convert path string to list of all paths](https://forum.ansible.com/t/convert-path-string-to-list-of-all-paths/35585)

<div class="topic-metadata">

**Author:** [@William\_McKenzie](https://forum.ansible.com/u/William_McKenzie)\
**Replies:** 1\
**Last updated:** [August 5, 2021, 7:39pm UTC](https://forum.ansible.com/t/convert-path-string-to-list-of-all-paths/35585 "2021-08-05T19:39:21Z")

</div>

Is there any simple expression/filter magic that would allow me to convert a path string to a list of all the contained paths. So: “a/b/c/d” would become: \[ “a”, “a/b” , “a/b/c” , “a/b/c/d” \]

---

## [How to change the default Shell or Terminal Type](https://forum.ansible.com/t/how-to-change-the-default-shell-or-terminal-type/35586)

<div class="topic-metadata">

**Author:** [@Nagaraju\_chappa](https://forum.ansible.com/u/Nagaraju_chappa)\
**Replies:** 2\
**Last updated:** [August 5, 2021, 2:55pm UTC](https://forum.ansible.com/t/how-to-change-the-default-shell-or-terminal-type/35586 "2021-08-05T14:55:09Z")

</div>

Hi Team , When I am running an Ansible Playbook on an host it works fine with the root user , but when I tried with different user it is timing out . It seems the ksh shell profile is looking for terminal type for that …

---

## [New Ansible Collection aka Missing Collection](https://forum.ansible.com/t/new-ansible-collection-aka-missing-collection/35590)

<div class="topic-metadata">

**Author:** [@Davinder\_Pal](https://forum.ansible.com/u/Davinder_Pal)\
**Replies:** 0\
**Last updated:** [August 5, 2021, 12:41pm UTC](https://forum.ansible.com/t/new-ansible-collection-aka-missing-collection/35590 "2021-08-05T12:41:11Z")

</div>

Hi Everyone, I have created the collection “community.missing\_collection” it hosts around 210 modules, which doesn’t exist anywhere else. Link: https://github.com/116davinder/ansible.missing\_collection I haven’t publi…

---

## [ESTABLISH SSH CONNECTION FOR USER: ubuntu](https://forum.ansible.com/t/establish-ssh-connection-for-user-ubuntu/35587)

<div class="topic-metadata">

**Author:** [@Fhf\_a](https://forum.ansible.com/u/Fhf_a)\
**Replies:** 1\
**Last updated:** [August 5, 2021, 6:43am UTC](https://forum.ansible.com/t/establish-ssh-connection-for-user-ubuntu/35587 "2021-08-05T06:43:05Z")

</div>

HELLO ALL I have problem with ansible ping from jenkins pipeline I try using ansible -i hosts prod -m ping but I receive error this is log from jenkins pipeline : \[Pipeline\] sh + ansible -i hosts prod -m ping -vvv …

---

## [File dependency between multiple hosts](https://forum.ansible.com/t/file-dependency-between-multiple-hosts/35583)

<div class="topic-metadata">

**Author:** [@Luc\_Lemieux](https://forum.ansible.com/u/Luc_Lemieux)\
**Replies:** 1\
**Last updated:** [August 5, 2021, 4:33am UTC](https://forum.ansible.com/t/file-dependency-between-multiple-hosts/35583 "2021-08-05T04:33:35Z")

</div>

Hi I have a very specific deployment case and am not sure how to plan it using Ansible or even if it’s something doable with Ansible. Deploying a MongoDB swarm on 3 servers, I have to deploy on 1 server first which gene…

---

## [Ansible and AWS](https://forum.ansible.com/t/ansible-and-aws/35581)

<div class="topic-metadata">

**Author:** [@Eric\_Herberholz](https://forum.ansible.com/u/Eric_Herberholz)\
**Replies:** 0\
**Last updated:** [August 4, 2021, 2:49pm UTC](https://forum.ansible.com/t/ansible-and-aws/35581 "2021-08-04T14:49:06Z")

</div>

Who has implemented Ansible for AWS Linux/Redhat instances? Outside of SSM? If so, please describe from a high level the outline of the implementation. Using SSM? If so, please describe from a high level the outline …

---

## [Provider usage in custom module](https://forum.ansible.com/t/provider-usage-in-custom-module/35579)

<div class="topic-metadata">

**Author:** [@nitesh\_shet](https://forum.ansible.com/u/nitesh_shet)\
**Replies:** 0\
**Last updated:** [August 4, 2021, 11:40am UTC](https://forum.ansible.com/t/provider-usage-in-custom-module/35579 "2021-08-04T11:40:46Z")

</div>

Hi, I have developed a custom ntp module for our orgnisation network device and appended provider options in to the argument spec of the module. Need to understand, do i need to perform any extra operations on those …

---

## [ansible module to read log file](https://forum.ansible.com/t/ansible-module-to-read-log-file/35576)

<div class="topic-metadata">

**Author:** [@amitchettri](https://forum.ansible.com/u/amitchettri)\
**Replies:** 4\
**Last updated:** [August 4, 2021, 8:36am UTC](https://forum.ansible.com/t/ansible-module-to-read-log-file/35576 "2021-08-04T08:36:00Z")

</div>

Hello All, I am looking for a ansible module which can read /var/log/messages I was using slurp but when the content of the /var/log/messages is quite long its not able to read the full content hence I made use of shel…

---

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

---

## [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\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

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

---

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

---

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

---

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

---

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

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

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