# Ansible Project

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

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

**Page:** 67

---

## [windows host automation](https://forum.ansible.com/t/windows-host-automation/35638)

<div class="topic-metadata">

**Author:** [@Sakshi\_Jain](https://forum.ansible.com/u/Sakshi_Jain)\
**Replies:** 0\
**Last updated:** [August 19, 2021, 9:34am UTC](https://forum.ansible.com/t/windows-host-automation/35638 "2021-08-19T09:34:06Z")

</div>

For windows host How to write tasks in ansible : Login into RDP machine Login into other machines from RDP machine Read email before starting the patching in the scheduled time Run any commands in rdp machine , like b…

---

## [need assistance to gather access list rules associated with public ip's only using ansible](https://forum.ansible.com/t/need-assistance-to-gather-access-list-rules-associated-with-public-ips-only-using-ansible/35635)

<div class="topic-metadata">

**Author:** [@Pushparaj\_Gothandam](https://forum.ansible.com/u/Pushparaj_Gothandam)\
**Replies:** 1\
**Last updated:** [August 19, 2021, 6:24am UTC](https://forum.ansible.com/t/need-assistance-to-gather-access-list-rules-associated-with-public-ips-only-using-ansible/35635 "2021-08-19T06:24:41Z")

</div>

You have to use regex patterns to match the desired ACL’s

---

## [New releases: ansible-core 2.11.4, ansible-base 2.10.13, ansible 2.9.25](https://forum.ansible.com/t/new-releases-ansible-core-2-11-4-ansible-base-2-10-13-ansible-2-9-25/35636)

<div class="topic-metadata">

**Author:** [@relrod](https://forum.ansible.com/u/relrod)\
**Replies:** 0\
**Last updated:** [August 18, 2021, 6:13pm UTC](https://forum.ansible.com/t/new-releases-ansible-core-2-11-4-ansible-base-2-10-13-ansible-2-9-25/35636 "2021-08-18T18:13:14Z")

</div>

Hi all- we're happy to announce that the general release of ansible-core 2.11.4, ansible-base 2.10.13, and ansible 2.9.25 are now available. How to get it

---

## [need assistance to gather access list rules associated with public ip's only using ansible](https://forum.ansible.com/t/need-assistance-to-gather-access-list-rules-associated-with-public-ips-only-using-ansible/35634)

<div class="topic-metadata">

**Author:** [@Vikram\_S](https://forum.ansible.com/u/Vikram_S)\
**Replies:** 0\
**Last updated:** [August 18, 2021, 2:24pm UTC](https://forum.ansible.com/t/need-assistance-to-gather-access-list-rules-associated-with-public-ips-only-using-ansible/35634 "2021-08-18T14:24:25Z")

</div>

i need to gather firewall rules (ACL) in which source ip is a public ip or public subnet and destination is an internal server and port is tcp/3389. I am wondering how to write a script that will excluded all ACL in whic…

---

## [vmware issue](https://forum.ansible.com/t/vmware-issue/35633)

<div class="topic-metadata">

**Author:** [@Rene\_Paquin](https://forum.ansible.com/u/Rene_Paquin)\
**Replies:** 1\
**Last updated:** [August 18, 2021, 2:12am UTC](https://forum.ansible.com/t/vmware-issue/35633 "2021-08-18T02:12:49Z")

</div>

I am having an issue deploying servers from templates using ansible with the vmware\_guest module. Below is the playbook. I get the following error regardless of what I configure for datastores, esxi host etc. I am curren…

---

## [Ansible ssh error - Make sure this host can be reached over ssh: Connection timed out during banner exchange](https://forum.ansible.com/t/ansible-ssh-error-make-sure-this-host-can-be-reached-over-ssh-connection-timed-out-during-banner-exchange/35623)

<div class="topic-metadata">

**Author:** [@Easy\_King](https://forum.ansible.com/u/Easy_King)\
**Replies:** 3\
**Last updated:** [August 17, 2021, 4:07pm UTC](https://forum.ansible.com/t/ansible-ssh-error-make-sure-this-host-can-be-reached-over-ssh-connection-timed-out-during-banner-exchange/35623 "2021-08-17T16:07:13Z")

</div>

Below is the command to run Ansible Playbook: ANSIBLE\_SCP\_IF\_SSH=y ansible-playbook -v -i /web/aes/admin/playbooks/PB\_BAU/ccc\_vel.hosts /web/aes/admin/playbooks/PB\_BAU/cccvel\_restart.yml -e ENV=$SH\_ENV -e ACTION=$SH\_ACT…

---

## [looping over users?](https://forum.ansible.com/t/looping-over-users/35630)

<div class="topic-metadata">

**Author:** [@Mike\_Eggleston](https://forum.ansible.com/u/Mike_Eggleston)\
**Replies:** 1\
**Last updated:** [August 17, 2021, 3:56pm UTC](https://forum.ansible.com/t/looping-over-users/35630 "2021-08-17T15:56:16Z")

</div>

Does someone have a playbook already that loops over users? I have to generate a report (I’ll give them a CSV file) of users, a description if I can and if the account has access to root (though sudo?) TIA Mike

---

## [Is there an Ansible Windows module to configure certificates similar to MMC.exe service?](https://forum.ansible.com/t/is-there-an-ansible-windows-module-to-configure-certificates-similar-to-mmc-exe-service/35617)

<div class="topic-metadata">

**Author:** [@ZillaYT](https://forum.ansible.com/u/ZillaYT)\
**Replies:** 4\
**Last updated:** [August 17, 2021, 2:44am UTC](https://forum.ansible.com/t/is-there-an-ansible-windows-module-to-configure-certificates-similar-to-mmc-exe-service/35617 "2021-08-17T02:44:59Z")

</div>

I want to put add a manual procedure were we add a certificate in our system via the “MMC.exe” console Add/remove snap-in etc I looked a win\_certificates\_store but it didn’t add the snap-in like I expected it to http…

---

## [installing ansible 2.11 on debian 11](https://forum.ansible.com/t/installing-ansible-2-11-on-debian-11/35599)

<div class="topic-metadata">

**Author:** [@Alex\_Cernat](https://forum.ansible.com/u/Alex_Cernat)\
**Replies:** 9\
**Last updated:** [August 16, 2021, 3:20pm UTC](https://forum.ansible.com/t/installing-ansible-2-11-on-debian-11/35599 "2021-08-16T15:20:29Z")

</div>

Hello The official documentation seems to be really outdated (ubuntu trusty is veeeeeery old, should be at least focal as repository). I could not find any 2.11 deb package (latest is 2.10.x), but also I couldn’t find a…

---

## [Python interpreter error](https://forum.ansible.com/t/python-interpreter-error/35627)

<div class="topic-metadata">

**Author:** [@unai\_abrisketa\_sanch](https://forum.ansible.com/u/unai_abrisketa_sanch)\
**Replies:** 0\
**Last updated:** [August 16, 2021, 9:19am UTC](https://forum.ansible.com/t/python-interpreter-error/35627 "2021-08-16T09:19:00Z")

</div>

Hi team! I am using ansible to run playbooks in a Fortigate firewall and I am getting a recursive error shows below: \[WARNING\]: Unhandled error in Python interpreter discovery for host FW\_SALINILLAS: unexpected output…

---

## [hostname as a variable in a playbook based on inventory vars](https://forum.ansible.com/t/hostname-as-a-variable-in-a-playbook-based-on-inventory-vars/35626)

<div class="topic-metadata">

**Author:** [@Saranya\_N](https://forum.ansible.com/u/Saranya_N)\
**Replies:** 5\
**Last updated:** [August 16, 2021, 6:30am UTC](https://forum.ansible.com/t/hostname-as-a-variable-in-a-playbook-based-on-inventory-vars/35626 "2021-08-16T06:30:17Z")

</div>

I need to get the hostname as a variable in my playbook I have the inventory defined the inventory like below \[group1\] host1.vs.com type=secondary servertype=vm host2.vs.com type=primary servertype=vm \[group2\] host…

---

## [Test PostgreSQL user access in Windows?](https://forum.ansible.com/t/test-postgresql-user-access-in-windows/35624)

<div class="topic-metadata">

**Author:** [@ZillaYT](https://forum.ansible.com/u/ZillaYT)\
**Replies:** 0\
**Last updated:** [August 15, 2021, 6:51pm UTC](https://forum.ansible.com/t/test-postgresql-user-access-in-windows/35624 "2021-08-15T18:51:14Z")

</div>

Ansible v2.11.x I did all the following via Ansible. Sadly I don’t think there are Windows-equivalent postgres modules. So for windows, I’ve installed the PostgreSQL binaries from https://www.enterprisedb.com/download-…

---

## [managing software via ansible](https://forum.ansible.com/t/managing-software-via-ansible/35622)

<div class="topic-metadata">

**Author:** [@Sakshi\_Jain](https://forum.ansible.com/u/Sakshi_Jain)\
**Replies:** 4\
**Last updated:** [August 14, 2021, 7:36pm UTC](https://forum.ansible.com/t/managing-software-via-ansible/35622 "2021-08-14T19:36:43Z")

</div>

\------------------------------------ Please help to resolve this error

---

## [Job Vs Unified Job](https://forum.ansible.com/t/job-vs-unified-job/35616)

<div class="topic-metadata">

**Author:** [@Erik\_Mackey](https://forum.ansible.com/u/Erik_Mackey)\
**Replies:** 2\
**Last updated:** [August 13, 2021, 5:56pm UTC](https://forum.ansible.com/t/job-vs-unified-job/35616 "2021-08-13T17:56:19Z")

</div>

What is the distinction between a job and a Unified Job? In the documentation there is a section on Unified Job Templates but it doesn’t seem to define what a Unified job is: https://docs.ansible.com/ansible-tower/2.3.0/…

---

## [Issue with jinja2 template](https://forum.ansible.com/t/issue-with-jinja2-template/35615)

<div class="topic-metadata">

**Author:** [@harry\_devine](https://forum.ansible.com/u/harry_devine)\
**Replies:** 1\
**Last updated:** [August 12, 2021, 3:47pm UTC](https://forum.ansible.com/t/issue-with-jinja2-template/35615 "2021-08-12T15:47:30Z")

</div>

I’m trying to create a report when we do our updates via yum (rhel 7) and dnf (rhel 8). I register the output in variables called yum\_rhel7 and yum \_rhel8. Here’s my j2 file: Yum/DNF Update Report {{ now(false, ‘%m/%d/…

---

## [How to connect to azure key vault using service principal and .pem file](https://forum.ansible.com/t/how-to-connect-to-azure-key-vault-using-service-principal-and-pem-file/35612)

<div class="topic-metadata">

**Author:** [@Teja](https://forum.ansible.com/u/Teja)\
**Replies:** 0\
**Last updated:** [August 11, 2021, 4:49pm UTC](https://forum.ansible.com/t/how-to-connect-to-azure-key-vault-using-service-principal-and-pem-file/35612 "2021-08-11T16:49:41Z")

</div>

Hi All, I was trying to use ansible to get/set secrets in azure key vault. in azure\_rm\_keyvaultsecret module we have only secret argument to provide credentials for the service principal. but our requirement is to use .…

---

## [ansible template vars for command line invocation](https://forum.ansible.com/t/ansible-template-vars-for-command-line-invocation/35611)

<div class="topic-metadata">

**Author:** [@Ed\_Greenberg](https://forum.ansible.com/u/Ed_Greenberg)\
**Replies:** 1\
**Last updated:** [August 11, 2021, 2:14pm UTC](https://forum.ansible.com/t/ansible-template-vars-for-command-line-invocation/35611 "2021-08-11T14:14:06Z")

</div>

Hi, I have a bash command of: ansible beta -m template -a 'src=…/templates/www.conf.j2 dest=/root/www.conf ’ I need to specify a variable on the command line. I tried specifying it in the -a string, but got an error t…

---

## [Why am I getting this ODBC Connectors Error on this Playbook?](https://forum.ansible.com/t/why-am-i-getting-this-odbc-connectors-error-on-this-playbook/35609)

<div class="topic-metadata">

**Author:** [@Prabhakaran\_Karuppai](https://forum.ansible.com/u/Prabhakaran_Karuppai)\
**Replies:** 1\
**Last updated:** [August 11, 2021, 1:02pm UTC](https://forum.ansible.com/t/why-am-i-getting-this-odbc-connectors-error-on-this-playbook/35609 "2021-08-11T13:02:36Z")

</div>

Hi Members, Please find attached herewith the Ansible Playbook along with an error screenshot attached. Please consider and Kindly do the needful at the earliest. With Hope, Thanks and Regards, Prabhakaran (attach…

---

## [Issue with Storing passwords in third-party tools with vault password client scripts](https://forum.ansible.com/t/issue-with-storing-passwords-in-third-party-tools-with-vault-password-client-scripts/35608)

<div class="topic-metadata">

**Author:** [@satya\_Addala](https://forum.ansible.com/u/satya_Addala)\
**Replies:** 0\
**Last updated:** [August 11, 2021, 8:40am UTC](https://forum.ansible.com/t/issue-with-storing-passwords-in-third-party-tools-with-vault-password-client-scripts/35608 "2021-08-11T08:40:42Z")

</div>

Hii All, I am not able to find the token handler for storedsafe which used client script to encrypt vault password file,Could you please help me with this issue. The actual url link is : Protecting sensitive data with …

---

## [Vmware Site Recovery Manager](https://forum.ansible.com/t/vmware-site-recovery-manager/35607)

<div class="topic-metadata">

**Author:** [@senguler](https://forum.ansible.com/u/senguler)\
**Replies:** 0\
**Last updated:** [August 11, 2021, 6:51am UTC](https://forum.ansible.com/t/vmware-site-recovery-manager/35607 "2021-08-11T06:51:12Z")

</div>

Hi all, I have a case to manage Vmware SRM with ansible but I could not find any documents for ansible. SRM has a SDK for c# ,java and any web services. I need your advice, can i do it with ansible or not? Thanks for a…

---

## [Ansible managed Windows Hosts and GCP Buckets](https://forum.ansible.com/t/ansible-managed-windows-hosts-and-gcp-buckets/35606)

<div class="topic-metadata">

**Author:** [@Craig\_Franz](https://forum.ansible.com/u/Craig_Franz)\
**Replies:** 0\
**Last updated:** [August 11, 2021, 5:39am UTC](https://forum.ansible.com/t/ansible-managed-windows-hosts-and-gcp-buckets/35606 "2021-08-11T05:39:39Z")

</div>

Hi All, I have need to pull source files down from a non public GCP Cloud Buckets and I was wondering if there is any Ansible Modules for windows that support this I was looking into gsutil cmd that can be run from goog…

---

## [Ansible-4.4.0 released](https://forum.ansible.com/t/ansible-4-4-0-released/35605)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [August 10, 2021, 8:59pm UTC](https://forum.ansible.com/t/ansible-4-4-0-released/35605 "2021-08-10T20:59:48Z")

</div>

Hi all, We're happy to announce that the ansible-4.4.0 package has been released! The update contains bugfixes and new, backwards compatible features in the contained collections. How to get it

---

## [jinja2 warning](https://forum.ansible.com/t/jinja2-warning/35603)

<div class="topic-metadata">

**Author:** [@Mahesh\_Nalavade](https://forum.ansible.com/u/Mahesh_Nalavade)\
**Replies:** 4\
**Last updated:** [August 10, 2021, 8:47am UTC](https://forum.ansible.com/t/jinja2-warning/35603 "2021-08-10T08:47:08Z")

</div>

Hi , While running the ansible task in azure pipeline we are getting the below warning message. Please let us know if we can ignore/suppress the warning. \[WARNING\]: conditional statements should not include jinja2 temp…

---

## [vault\_password\_file how to create?](https://forum.ansible.com/t/vault-password-file-how-to-create/35602)

<div class="topic-metadata">

**Author:** [@Jiri\_Sachl](https://forum.ansible.com/u/Jiri_Sachl)\
**Replies:** 1\
**Last updated:** [August 9, 2021, 4:47pm UTC](https://forum.ansible.com/t/vault-password-file-how-to-create/35602 "2021-08-09T16:47:54Z")

</div>

Hello. Sorry for my english. I have Ubuntu server 20.04, ansible core 2.11.3. my hosts file has only ip address in ansible.cfg is: remote\_user = spravce private\_key\_file = /home/spravce/.ssh/spravce\_id\_rsa.ppk vaul…

---

## [Get Process ID of ansible-playbook within the playbook](https://forum.ansible.com/t/get-process-id-of-ansible-playbook-within-the-playbook/21778)

<div class="topic-metadata">

**Author:** [@Rajas\_Pimpalwadkar](https://forum.ansible.com/u/Rajas_Pimpalwadkar)\
**Replies:** 8\
**Last updated:** [August 9, 2021, 3:27pm UTC](https://forum.ansible.com/t/get-process-id-of-ansible-playbook-within-the-playbook/21778 "2021-08-09T15:27:15Z")

</div>

I want to add locking around some part of a playbook. For this I need to get the process id of ansible-playbook that has started the task that I am currently running. How do I get process id of ansible-playbook that the…

---

## [How to execute nifi-toolkit cli commands using ansible](https://forum.ansible.com/t/how-to-execute-nifi-toolkit-cli-commands-using-ansible/35601)

<div class="topic-metadata">

**Author:** [@shweta\_julur](https://forum.ansible.com/u/shweta_julur)\
**Replies:** 1\
**Last updated:** [August 9, 2021, 10:18am UTC](https://forum.ansible.com/t/how-to-execute-nifi-toolkit-cli-commands-using-ansible/35601 "2021-08-09T10:18:36Z")

</div>

Hi, I am trying to automate the deployment of flows in nifi UI, to do that I will be using nifi-toolkit cli commands. is there any way that I can execute these commands through ansible (.yml file). Thanks Shweta

---

## [need assisatnce in writing script for active-standby ASA firewall](https://forum.ansible.com/t/need-assisatnce-in-writing-script-for-active-standby-asa-firewall/35600)

<div class="topic-metadata">

**Author:** [@Vikram\_S](https://forum.ansible.com/u/Vikram_S)\
**Replies:** 4\
**Last updated:** [August 8, 2021, 7:47pm UTC](https://forum.ansible.com/t/need-assisatnce-in-writing-script-for-active-standby-asa-firewall/35600 "2021-08-08T19:47:17Z")

</div>

I am trying to write a script for IOS upgrade of active-standby ASA firewall (failover pair). 2 firewalls are configured as Active-standby firewall for failover purpose. Which means if the active firewall goes down, sta…

---

## [Infrastructure as Code vs Self-Service](https://forum.ansible.com/t/infrastructure-as-code-vs-self-service/35589)

<div class="topic-metadata">

**Author:** [@Andreas\_Hubert](https://forum.ansible.com/u/Andreas_Hubert)\
**Replies:** 4\
**Last updated:** [August 8, 2021, 11:49am UTC](https://forum.ansible.com/t/infrastructure-as-code-vs-self-service/35589 "2021-08-08T11:49:31Z")

</div>

Dear Ansible Community, having your Infrastructure in Code, means you manage the code with a version control system (e.g. git). I have a case where I also configure the application we deploy with Ansible with various XM…

---

## [How To Implement Module Defaults Groups For Custom Group Or Collection](https://forum.ansible.com/t/how-to-implement-module-defaults-groups-for-custom-group-or-collection/35598)

<div class="topic-metadata">

**Author:** [@Dhiwakar\_Ravikumar](https://forum.ansible.com/u/Dhiwakar_Ravikumar)\
**Replies:** 1\
**Last updated:** [August 8, 2021, 5:30am UTC](https://forum.ansible.com/t/how-to-implement-module-defaults-groups-for-custom-group-or-collection/35598 "2021-08-08T05:30:46Z")

</div>

This link https://docs.ansible.com/ansible/latest/user\_guide/playbooks\_module\_defaults.html mentions a way to define a default for a group of modules such as aws, azure etc. I have a namespace.collection of modules th…

---

## [Getting A ID Value Unique To An Instance Of An Ansible Playbook](https://forum.ansible.com/t/getting-a-id-value-unique-to-an-instance-of-an-ansible-playbook/35593)

<div class="topic-metadata">

**Author:** [@Dhiwakar\_Ravikumar](https://forum.ansible.com/u/Dhiwakar_Ravikumar)\
**Replies:** 2\
**Last updated:** [August 8, 2021, 1:44am UTC](https://forum.ansible.com/t/getting-a-id-value-unique-to-an-instance-of-an-ansible-playbook/35593 "2021-08-08T01:44:15Z")

</div>

I’m trying to create an external file that every single task (Python modules for which I’ve implemented) in the playbook should read from and write into some information. I wanted to use the process ID for the playbook …

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

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