# Archives

**URL:** https://forum.ansible.com/c/archives/31.md?page=112

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

**Page:** 113

---

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

---

## [Confgure LDAP1, LDAP2, LDAP3....](https://forum.ansible.com/t/confgure-ldap1-ldap2-ldap3/35588)

<div class="topic-metadata">

**Author:** [@hieronymus](https://forum.ansible.com/u/hieronymus)\
**Replies:** 0\
**Last updated:** [August 5, 2021, 6:55am UTC](https://forum.ansible.com/t/confgure-ldap1-ldap2-ldap3/35588 "2021-08-05T06:55:03Z")

</div>

Hi Teams, Is the WebUI configuration structure the same in ansible/awx and ansible/awx-operator? I’m trouble to configure multiple LDAP, like (LDAP1, LDAP2, LDAP3, etc…) and I’m interesting to see the code. Can perhap…

---

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

---

## [Job was not working after migration postgres data from 17.1.0 to 19.0.0](https://forum.ansible.com/t/job-was-not-working-after-migration-postgres-data-from-17-1-0-to-19-0-0/35234)

<div class="topic-metadata">

**Author:** [@Niko\_Wang](https://forum.ansible.com/u/Niko_Wang)\
**Replies:** 5\
**Last updated:** [August 4, 2021, 8:30pm UTC](https://forum.ansible.com/t/job-was-not-working-after-migration-postgres-data-from-17-1-0-to-19-0-0/35234 "2021-08-04T20:30:27Z")

</div>

Hello AWX, I was trying to migrate the postgres dump file from 17.1.0 to 19.0.0, restore was successful but the sync and scheduled jobs like project and template are not working, it’s always running without any output. …

---

## [LDAP Configuration](https://forum.ansible.com/t/ldap-configuration/35582)

<div class="topic-metadata">

**Author:** [@hieronymus](https://forum.ansible.com/u/hieronymus)\
**Replies:** 0\
**Last updated:** [August 4, 2021, 4:38pm UTC](https://forum.ansible.com/t/ldap-configuration/35582 "2021-08-04T16:38:28Z")

</div>

Hi everyone, Has someone experienced with multiple LDAP Server configurations? Like LDAP1, LDAP2, LDAP3, etc… I didn’t find documentation about that and I really need them. Or any idea to join developper team? Thank …

---

## [Upgrade AWX from 17.1.0 to 19.2.2](https://forum.ansible.com/t/upgrade-awx-from-17-1-0-to-19-2-2/35437)

<div class="topic-metadata">

**Author:** [@Sai\_krishna\_Chinna](https://forum.ansible.com/u/Sai_krishna_Chinna)\
**Replies:** 3\
**Last updated:** [August 4, 2021, 3:31pm UTC](https://forum.ansible.com/t/upgrade-awx-from-17-1-0-to-19-2-2/35437 "2021-08-04T15:31:58Z")

</div>

Hello, Can anyone tell me the steps to upgrade AWX 17.1.0 to 19.2.2 and use data from external postgres?

---

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

---

## [Machine readable duration](https://forum.ansible.com/t/machine-readable-duration/35577)

<div class="topic-metadata">

**Author:** [@Matthew\_Kenigsberg](https://forum.ansible.com/u/Matthew_Kenigsberg)\
**Replies:** 3\
**Last updated:** [August 3, 2021, 5:38pm UTC](https://forum.ansible.com/t/machine-readable-duration/35577 "2021-08-03T17:38:50Z")

</div>

Following up on https://github.com/ansible/ansible/pull/75370 I would like a machine readable duration for how long a command runs. I was told I could use existing filters. How would I accomplish that? strftime does not…

---

## [Newbie Question - Ansible Engine required](https://forum.ansible.com/t/newbie-question-ansible-engine-required/35578)

<div class="topic-metadata">

**Author:** [@dimndskier](https://forum.ansible.com/u/dimndskier)\
**Replies:** 0\
**Last updated:** [August 3, 2021, 5:15pm UTC](https://forum.ansible.com/t/newbie-question-ansible-engine-required/35578 "2021-08-03T17:15:25Z")

</div>

I have not yet written any ansible plays, playbooks - code in general. If I write some ansible code, do I necessarily require an Ansible Engine, or Ansible Tower, or can I simply copy the playbooks (those are the files …

---

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

[Previous page](https://forum.ansible.com/c/archives/31.md?page=111)

[Next page](https://forum.ansible.com/c/archives/31.md?page=113)
