# Ansible Project

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

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

**Page:** 23

---

## [rEgarding command module issue](https://forum.ansible.com/t/regarding-command-module-issue/37930)

<div class="topic-metadata">

**Author:** [@Ashok-2017](https://forum.ansible.com/u/Ashok-2017)\
**Replies:** 3\
**Last updated:** [April 27, 2023, 4:52am UTC](https://forum.ansible.com/t/regarding-command-module-issue/37930 "2023-04-27T04:52:52Z")

</div>

Hi All, The ansible playbook is name: “Stop {{ app\_name }}” ansible.builtin.command: “sudo pm2 stop API && sudo pm2 delete API” failed\_when: false name: Flush pm2 logs ansible.builtin.command: “sudo pm2 flush” f…

---

## [Inventory Existing Configuration](https://forum.ansible.com/t/inventory-existing-configuration/37926)

<div class="topic-metadata">

**Author:** [@Levan\_Medoshvili](https://forum.ansible.com/u/Levan_Medoshvili)\
**Replies:** 1\
**Last updated:** [April 27, 2023, 4:37am UTC](https://forum.ansible.com/t/inventory-existing-configuration/37926 "2023-04-27T04:37:17Z")

</div>

Hello Is it possible to inventory existing configuration of device in yaml file? For example I have RouterOS that is already configured and I want to create yaml file for this configuration. I have tried to search but…

---

## [Release Announcement of Ansible Community Package 8.0.0a2 : for Pre Release versions](https://forum.ansible.com/t/release-announcement-of-ansible-community-package-8-0-0a2-for-pre-release-versions/37934)

<div class="topic-metadata">

**Author:** [@Anwesha\_Das](https://forum.ansible.com/u/Anwesha_Das)\
**Replies:** 0\
**Last updated:** [April 26, 2023, 2:37pm UTC](https://forum.ansible.com/t/release-announcement-of-ansible-community-package-8-0-0a2-for-pre-release-versions/37934 "2023-04-26T14:37:06Z")

</div>

Hello everyone, We're happy to announce the release of the Ansible 8.0.0a2 package! Ansible 8.0.0a2 includes ansible-core 2.15.0rc1 as well as a curated set of Ansible collections that provide a vast number of modules…

---

## [Release announcement : Ansible Community Package 7.5.0](https://forum.ansible.com/t/release-announcement-ansible-community-package-7-5-0/37931)

<div class="topic-metadata">

**Author:** [@Anwesha\_Das](https://forum.ansible.com/u/Anwesha_Das)\
**Replies:** 0\
**Last updated:** [April 26, 2023, 8:56am UTC](https://forum.ansible.com/t/release-announcement-ansible-community-package-7-5-0/37931 "2023-04-26T08:56:16Z")

</div>

Hello everyone, We're happy to announce the release of the Ansible 7.5.0 package! Ansible 7.5.0 includes ansible-core 2.14.5 as well as a curated set of Ansible collections that provide a vast number of modules and pl…

---

## [gather\_timeout in ansible.cfg DEPRECATED](https://forum.ansible.com/t/gather-timeout-in-ansible-cfg-deprecated/37920)

<div class="topic-metadata">

**Author:** [@dnmvisser](https://forum.ansible.com/u/dnmvisser)\
**Replies:** 1\
**Last updated:** [April 24, 2023, 5:30pm UTC](https://forum.ansible.com/t/gather-timeout-in-ansible-cfg-deprecated/37920 "2023-04-24T17:30:43Z")

</div>

Hi, I have this in our ansible.cfg: \[defaults\] gather\_timeout = 60 With ansible 7, I get: \[DEPRECATION WARNING\]: DEFAULT\_GATHER\_TIMEOUT option, the module\_defaults keyword is a more generic version and can apply to …

---

## [New release: ansible-core 2.13.9](https://forum.ansible.com/t/new-release-ansible-core-2-13-9/37923)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 0\
**Last updated:** [April 24, 2023, 4:01pm UTC](https://forum.ansible.com/t/new-release-ansible-core-2-13-9/37923 "2023-04-24T16:01:10Z")

</div>

Hi all- we’re happy to announce the general release of: ansible-core 2.13.9 How to get it

---

## [New release: ansible-core 2.14.5](https://forum.ansible.com/t/new-release-ansible-core-2-14-5/37922)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 0\
**Last updated:** [April 24, 2023, 4:01pm UTC](https://forum.ansible.com/t/new-release-ansible-core-2-14-5/37922 "2023-04-24T16:01:08Z")

</div>

Hi all- we’re happy to announce the general release of: ansible-core 2.14.5 How to get it

---

## [Module URI unable to get local issuer](https://forum.ansible.com/t/module-uri-unable-to-get-local-issuer/37917)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 4\
**Last updated:** [April 23, 2023, 11:15am UTC](https://forum.ansible.com/t/module-uri-unable-to-get-local-issuer/37917 "2023-04-23T11:15:35Z")

</div>

Hi, I try to create an playbook look like to this command:

---

## [Failed message for async-status module](https://forum.ansible.com/t/failed-message-for-async-status-module/37912)

<div class="topic-metadata">

**Author:** [@neha0021997](https://forum.ansible.com/u/neha0021997)\
**Replies:** 3\
**Last updated:** [April 21, 2023, 2:20pm UTC](https://forum.ansible.com/t/failed-message-for-async-status-module/37912 "2023-04-21T14:20:11Z")

</div>

Hi Team I am using async\_status module in ansible task, which is performing patching on several hosts and till the time that got completed, I will get waiting message stream on the command line: name: Wait to complete…

---

## [Upgrading Ansible Tower (3.8) to Ansible Automation Platform](https://forum.ansible.com/t/upgrading-ansible-tower-3-8-to-ansible-automation-platform/37915)

<div class="topic-metadata">

**Author:** [@rameume](https://forum.ansible.com/u/rameume)\
**Replies:** 1\
**Last updated:** [April 21, 2023, 2:17pm UTC](https://forum.ansible.com/t/upgrading-ansible-tower-3-8-to-ansible-automation-platform/37915 "2023-04-21T14:17:35Z")

</div>

Currently we have Ansible Tower 3.8 (RHEL 7) having Highly Available PostgeSql DB. We are planning to upgrade Tower to AAP which doesn’t support PostgreSql HA. We wanted to upgrade tower without loosing existing data and…

---

## [VMWARE rest colleciton](https://forum.ansible.com/t/vmware-rest-colleciton/37908)

<div class="topic-metadata">

**Author:** [@shanec40](https://forum.ansible.com/u/shanec40)\
**Replies:** 2\
**Last updated:** [April 20, 2023, 12:10pm UTC](https://forum.ansible.com/t/vmware-rest-colleciton/37908 "2023-04-20T12:10:02Z")

</div>

Hi all after recently changing over from AWX to AAP and changing from the community.VMware collection to VMware.rest collection. I am running into some issues when deploying I am using the module, VMware.vmware\_rest.co…

---

## [Windows Batch File via Ansible - ERROR: Input redirection is not supported](https://forum.ansible.com/t/windows-batch-file-via-ansible-error-input-redirection-is-not-supported/37881)

<div class="topic-metadata">

**Author:** [@Huskers79](https://forum.ansible.com/u/Huskers79)\
**Replies:** 4\
**Last updated:** [April 19, 2023, 7:43pm UTC](https://forum.ansible.com/t/windows-batch-file-via-ansible-error-input-redirection-is-not-supported/37881 "2023-04-19T19:43:31Z")

</div>

Good day, Struggling to find a way to run the below vendor-provided batch file via Ansible. The script works fine when run manually, but I receive dozens of the below error when executing via Ansible win\_command or win\_…

---

## [ansible.builtin.cron](https://forum.ansible.com/t/ansible-builtin-cron/37903)

<div class="topic-metadata">

**Author:** [@John\_Welby](https://forum.ansible.com/u/John_Welby)\
**Replies:** 9\
**Last updated:** [April 19, 2023, 5:59pm UTC](https://forum.ansible.com/t/ansible-builtin-cron/37903 "2023-04-19T17:59:24Z")

</div>

All, Can a playbook be run by ‘job’, i.e. instead of a script. I created a playbook that creates an entry in crontab, which it does successfully, but it does not execute the playbook I specified in job: Thanks! John

---

## [How to generate and store passwords securely with lookup?](https://forum.ansible.com/t/how-to-generate-and-store-passwords-securely-with-lookup/37901)

<div class="topic-metadata">

**Author:** [@Melodie\_O](https://forum.ansible.com/u/Melodie_O)\
**Replies:** 1\
**Last updated:** [April 19, 2023, 10:54am UTC](https://forum.ansible.com/t/how-to-generate-and-store-passwords-securely-with-lookup/37901 "2023-04-19T10:54:38Z")

</div>

Hello, I am generating random passwords using the lookup plugin. My issue is that I would like these passwords to be stored securely. I have searched everywhere but haven’t found a solution to my problem. Therefore, I …

---

## [create ansible download archive (zip or gz)  which is installable locally without internet](https://forum.ansible.com/t/create-ansible-download-archive-zip-or-gz-which-is-installable-locally-without-internet/37900)

<div class="topic-metadata">

**Author:** [@for\_tan](https://forum.ansible.com/u/for_tan)\
**Replies:** 4\
**Last updated:** [April 19, 2023, 4:18am UTC](https://forum.ansible.com/t/create-ansible-download-archive-zip-or-gz-which-is-installable-locally-without-internet/37900 "2023-04-19T04:18:24Z")

</div>

how can we download ( not install - at least for now) all files for ansible to a zip ? and then - later on ( not immediately) use this downloaded archive to install ansible to create new or existing ansible or non ansib…

---

## [copy files based on descending precedence](https://forum.ansible.com/t/copy-files-based-on-descending-precedence/37899)

<div class="topic-metadata">

**Author:** [@mdidomenico](https://forum.ansible.com/u/mdidomenico)\
**Replies:** 4\
**Last updated:** [April 18, 2023, 5:14pm UTC](https://forum.ansible.com/t/copy-files-based-on-descending-precedence/37899 "2023-04-18T17:14:24Z")

</div>

the below block is an example block i use in a few places to copy in config files and select a host specific file if it exists. not sure if it's the best way, but it works for now. what i'd like to do is add in grou…

---

## [merging lists](https://forum.ansible.com/t/merging-lists/37896)

<div class="topic-metadata">

**Author:** [@mdidomenico](https://forum.ansible.com/u/mdidomenico)\
**Replies:** 14\
**Last updated:** [April 18, 2023, 5:12pm UTC](https://forum.ansible.com/t/merging-lists/37896 "2023-04-18T17:12:11Z")

</div>

i want to do this, but i'm not getting exactly what i want lista: - { one: 'str1', two: 'str2' } listb: - "{{ lookup('vars','lista') }}" - { one: 'str1', two: 'str2' } the output i want is listb: { one: 'str1', t…

---

## [random length password](https://forum.ansible.com/t/random-length-password/37898)

<div class="topic-metadata">

**Author:** [@Kathy\_L](https://forum.ansible.com/u/Kathy_L)\
**Replies:** 3\
**Last updated:** [April 18, 2023, 5:00pm UTC](https://forum.ansible.com/t/random-length-password/37898 "2023-04-18T17:00:33Z")

</div>

Currently we are using pwgen to generate our random length passwords, but we would like to use an Ansible module to make things easier. What I have is not working - set\_fact: user\_password: “{{ lookup(‘ansible.builtin.…

---

## [random grub password](https://forum.ansible.com/t/random-grub-password/37829)

<div class="topic-metadata">

**Author:** [@Kathy\_L](https://forum.ansible.com/u/Kathy_L)\
**Replies:** 5\
**Last updated:** [April 18, 2023, 2:42pm UTC](https://forum.ansible.com/t/random-grub-password/37829 "2023-04-18T14:42:19Z")

</div>

I currently have a task that adds a grub password so if the user wants to change anything in grub they have to enter the proper user and password. The problem is that I have it working only when I generate the password …

---

## [slim vs fat ansible](https://forum.ansible.com/t/slim-vs-fat-ansible/37897)

<div class="topic-metadata">

**Author:** [@dnmvisser](https://forum.ansible.com/u/dnmvisser)\
**Replies:** 0\
**Last updated:** [April 18, 2023, 8:55am UTC](https://forum.ansible.com/t/slim-vs-fat-ansible/37897 "2023-04-18T08:55:14Z")

</div>

Hii We use ansible in a few dozen separate virtualenvs, which causes quite a lot of disk space to be used because of the large number of included collections. Rather than starting another discussion about that, I wante…

---

## [Need to automate task via bastion host](https://forum.ansible.com/t/need-to-automate-task-via-bastion-host/37841)

<div class="topic-metadata">

**Author:** [@Monica](https://forum.ansible.com/u/Monica)\
**Replies:** 12\
**Last updated:** [April 16, 2023, 11:27am UTC](https://forum.ansible.com/t/need-to-automate-task-via-bastion-host/37841 "2023-04-16T11:27:43Z")

</div>

Hi All, I have requirement to automate some tasks via ansible playbook, the problem is I cannot go to the serves directly I need to go to remote nodes via bastion node. Could anyone pls help how can I write the same ins…

---

## [arubaoss/network\_cli/paramiko - public key auth](https://forum.ansible.com/t/arubaoss-network-cli-paramiko-public-key-auth/37889)

<div class="topic-metadata">

**Author:** [@Florian\_Lohoff](https://forum.ansible.com/u/Florian_Lohoff)\
**Replies:** 0\
**Last updated:** [April 15, 2023, 8:54am UTC](https://forum.ansible.com/t/arubaoss-network-cli-paramiko-public-key-auth/37889 "2023-04-15T08:54:57Z")

</div>

Hi, i try to get arubaoss\_switch going and i am having trouble using ssh with public key auth. Typically i have the ssh-agent running and i need to do nothing log into switches. So i thought this would be sufficient: …

---

## [expect module does not answer questions on remote and it hangs](https://forum.ansible.com/t/expect-module-does-not-answer-questions-on-remote-and-it-hangs/37886)

<div class="topic-metadata">

**Author:** [@Lavanya\_VJ](https://forum.ansible.com/u/Lavanya_VJ)\
**Replies:** 3\
**Last updated:** [April 15, 2023, 4:09am UTC](https://forum.ansible.com/t/expect-module-does-not-answer-questions-on-remote-and-it-hangs/37886 "2023-04-15T04:09:17Z")

</div>

Hi all, i am facing the issues with expect module though the timeout: 600 is mentioned, i always get “msg”: “command exceeded timeout” or it hangs , i have around 25 reponses to answer after the command has been execute…

---

## [Parsing csv file and running shell command](https://forum.ansible.com/t/parsing-csv-file-and-running-shell-command/37885)

<div class="topic-metadata">

**Author:** [@Andrew\_Morgan](https://forum.ansible.com/u/Andrew_Morgan)\
**Replies:** 2\
**Last updated:** [April 14, 2023, 8:02pm UTC](https://forum.ansible.com/t/parsing-csv-file-and-running-shell-command/37885 "2023-04-14T20:02:37Z")

</div>

Hello All, I am trying to use ansible to read values from a csv file (source and destination) and then run commands using the shell module, but I am having no success. Please assist . The playbook:

---

## [Expect module throwing up an error while passing responses](https://forum.ansible.com/t/expect-module-throwing-up-an-error-while-passing-responses/22282)

<div class="topic-metadata">

**Author:** [@challa.tek](https://forum.ansible.com/u/challa.tek)\
**Replies:** 14\
**Last updated:** [April 13, 2023, 2:01pm UTC](https://forum.ansible.com/t/expect-module-throwing-up-an-error-while-passing-responses/22282 "2023-04-13T14:01:10Z")

</div>

My play is like: name: configuring pdf harmony expect: command: ./install.sh responses: ‘This will install pdfharmony on your system. Do you want to continue\[y/N\]?’: y ‘Do you agree with this copyright? \[y/N\]’: y …

---

## [Release announcement : Ansible Community Package 8.0.0a1](https://forum.ansible.com/t/release-announcement-ansible-community-package-8-0-0a1/37877)

<div class="topic-metadata">

**Author:** [@Anwesha\_Das](https://forum.ansible.com/u/Anwesha_Das)\
**Replies:** 1\
**Last updated:** [April 12, 2023, 8:52pm UTC](https://forum.ansible.com/t/release-announcement-ansible-community-package-8-0-0a1/37877 "2023-04-12T20:52:51Z")

</div>

Hello everyone, We're happy to announce the release of the Ansible 8.0.0a1 package! Ansible 8.0.0a1 includes ansible-core 2.15.0b2 as well as a curated set of Ansible collections that provide a vast number of modules …

---

## [Export project, template list with last run date, time](https://forum.ansible.com/t/export-project-template-list-with-last-run-date-time/37849)

<div class="topic-metadata">

**Author:** [@amvj](https://forum.ansible.com/u/amvj)\
**Replies:** 1\
**Last updated:** [April 12, 2023, 4:46am UTC](https://forum.ansible.com/t/export-project-template-list-with-last-run-date-time/37849 "2023-04-12T04:46:36Z")

</div>

Hi, Please let me know how to export project, template list with last run date and time in AWX. From the GUI, I am able to see the project last run date but I am unable to export it. The following command lists the pr…

---

## [Not able to create postgresql user on Ubuntu20](https://forum.ansible.com/t/not-able-to-create-postgresql-user-on-ubuntu20/37874)

<div class="topic-metadata">

**Author:** [@Chihiro\_Watanabe](https://forum.ansible.com/u/Chihiro_Watanabe)\
**Replies:** 0\
**Last updated:** [April 12, 2023, 1:14am UTC](https://forum.ansible.com/t/not-able-to-create-postgresql-user-on-ubuntu20/37874 "2023-04-12T01:14:23Z")

</div>

Hi ansible version: 2.6.7 python version: 3.8.10 OS: Ubuntu 20 I want to add postgres user with ansible. So I installed required package, psycopg2(python3-psycopg2) name: Add role of postgres become\_user: postgre…

---

## [Execution of python script](https://forum.ansible.com/t/execution-of-python-script/37869)

<div class="topic-metadata">

**Author:** [@Anusha\_Dhuthapathi](https://forum.ansible.com/u/Anusha_Dhuthapathi)\
**Replies:** 0\
**Last updated:** [April 10, 2023, 6:06pm UTC](https://forum.ansible.com/t/execution-of-python-script/37869 "2023-04-10T18:06:28Z")

</div>

Hello all, Can someone let me know if is it possible to execute the Python script with our own module? not using any built-in modules. Kindly let me know if anyone knows it. Thank you, Anusha

---

## [Erreur\_ansible\_nokia](https://forum.ansible.com/t/erreur-ansible-nokia/37867)

<div class="topic-metadata">

**Author:** [@Youssef\_Elahmadi](https://forum.ansible.com/u/Youssef_Elahmadi)\
**Replies:** 1\
**Last updated:** [April 10, 2023, 1:08pm UTC](https://forum.ansible.com/t/erreur-ansible-nokia/37867 "2023-04-10T13:08:11Z")

</div>

Dear \[Group Members\], I hope this email finds you well. I am reaching out to ask for your assistance with an issue I am facing in my project involving Ansible for a Nokia equipment. I have encountered some difficulties…

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

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