# Ansible Project

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

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

**Page:** 73

---

## [failed to create directory in windows remote machine](https://forum.ansible.com/t/failed-to-create-directory-in-windows-remote-machine/33663)

<div class="topic-metadata">

**Author:** [@P\_R\_Music\_video\_s](https://forum.ansible.com/u/P_R_Music_video_s)\
**Replies:** 7\
**Last updated:** [June 18, 2021, 8:43pm UTC](https://forum.ansible.com/t/failed-to-create-directory-in-windows-remote-machine/33663 "2021-06-18T20:43:12Z")

</div>

hi all please tell the solution for this problem “changed”: false, “msg”: "Failed to create temporary directory.In some cases, you may have been able to authenticate and did not have permissions on the target director…

---

## [Idempotency in amazon..aws.ec2\_instance](https://forum.ansible.com/t/idempotency-in-amazon-aws-ec2-instance/35374)

<div class="topic-metadata">

**Author:** [@Tim\_Diggins](https://forum.ansible.com/u/Tim_Diggins)\
**Replies:** 1\
**Last updated:** [June 18, 2021, 6:24pm UTC](https://forum.ansible.com/t/idempotency-in-amazon-aws-ec2-instance/35374 "2021-06-18T18:24:51Z")

</div>

Hi when you run use “ec2” module to create an ec2 instance you can specify an id parameter to provide the client token for idempotency. I can’t see an equivalent in ec2\_instance - there’s instance\_ids, but this seems t…

---

## [increase serial value of bind zone](https://forum.ansible.com/t/increase-serial-value-of-bind-zone/35373)

<div class="topic-metadata">

**Author:** [@cava\_cavamagie](https://forum.ansible.com/u/cava_cavamagie)\
**Replies:** 3\
**Last updated:** [June 18, 2021, 6:04pm UTC](https://forum.ansible.com/t/increase-serial-value-of-bind-zone/35373 "2021-06-18T18:04:49Z")

</div>

Hello to everyone i have to change a value inside bind zone the problem is how i can increase the serial of the zone? example file attached

---

## [Test connectivity onto windows hosts](https://forum.ansible.com/t/test-connectivity-onto-windows-hosts/35369)

<div class="topic-metadata">

**Author:** [@omoeko](https://forum.ansible.com/u/omoeko)\
**Replies:** 1\
**Last updated:** [June 18, 2021, 2:00pm UTC](https://forum.ansible.com/t/test-connectivity-onto-windows-hosts/35369 "2021-06-18T14:00:23Z")

</div>

Hi All, I have got an ansible tower setup, I am trying to test out which servers my saved credential has access to. To this effect, I am wondering what is the best way to achive this task ? Create a dynamic inventory a…

---

## [Ping Host from Ansible Server](https://forum.ansible.com/t/ping-host-from-ansible-server/35362)

<div class="topic-metadata">

**Author:** [@R.B\_Kumar](https://forum.ansible.com/u/R.B_Kumar)\
**Replies:** 8\
**Last updated:** [June 17, 2021, 7:53pm UTC](https://forum.ansible.com/t/ping-host-from-ansible-server/35362 "2021-06-17T19:53:07Z")

</div>

Hello All - I am trying to do a ping test of all the hosts in /etc/ansible/hosts, from the Ansible server. So the requirement is, the ansible server should do a ping test to all the host and return the output. regards,…

---

## [Calling rest API from Ansible](https://forum.ansible.com/t/calling-rest-api-from-ansible/35367)

<div class="topic-metadata">

**Author:** [@Rodrigues](https://forum.ansible.com/u/Rodrigues)\
**Replies:** 0\
**Last updated:** [June 17, 2021, 6:57pm UTC](https://forum.ansible.com/t/calling-rest-api-from-ansible/35367 "2021-06-17T18:57:08Z")

</div>

Hi all, I have the below task which requires to call a rest API in order to call another API. Basically i have a dict of portgroups which i will need to call an API to get the ID from. {{ portgroupID }} Then run the b…

---

## [Based on vendor have to execute playbook](https://forum.ansible.com/t/based-on-vendor-have-to-execute-playbook/35364)

<div class="topic-metadata">

**Author:** [@NAVEEN](https://forum.ansible.com/u/NAVEEN)\
**Replies:** 3\
**Last updated:** [June 17, 2021, 1:55am UTC](https://forum.ansible.com/t/based-on-vendor-have-to-execute-playbook/35364 "2021-06-17T01:55:11Z")

</div>

Hello Team , I am having 3 vendors Ex :HP ,DELL ,Lenovo i have 3 separate playbooks Now i want to execute those based on vendor .If it is HP it should call Hp Playbook Likewise…Can some one please help.

---

## [Nested Collection](https://forum.ansible.com/t/nested-collection/35348)

<div class="topic-metadata">

**Author:** [@Dhiwakar\_Ravikumar](https://forum.ansible.com/u/Dhiwakar_Ravikumar)\
**Replies:** 1\
**Last updated:** [June 16, 2021, 8:55pm UTC](https://forum.ansible.com/t/nested-collection/35348 "2021-06-16T20:55:37Z")

</div>

Hi Can someone please comment on whether or or it is possible, whether or not it is recommended to nest collections inside of other collections ? I would like to develop a collection of custom modules, which are again …

---

## [Multiple choice question? Ansible](https://forum.ansible.com/t/multiple-choice-question-ansible/35363)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 0\
**Last updated:** [June 16, 2021, 6:22pm UTC](https://forum.ansible.com/t/multiple-choice-question-ansible/35363 "2021-06-16T18:22:10Z")

</div>

Does this come from https://vceguide.com/which-of-the-following-are-valid-parameters-of-the-template-module/ ?

---

## [Failed to import the required Python library](https://forum.ansible.com/t/failed-to-import-the-required-python-library/35360)

<div class="topic-metadata">

**Author:** [@Anjali\_Adhikari](https://forum.ansible.com/u/Anjali_Adhikari)\
**Replies:** 0\
**Last updated:** [June 16, 2021, 2:09pm UTC](https://forum.ansible.com/t/failed-to-import-the-required-python-library/35360 "2021-06-16T14:09:01Z")

</div>

Hi , Can anyone help me to install pysnow module frm ansible play in Ansible tower. I am getting error . Failed to import the required Python library (pysnow) on ansible-tower-6f8dccc96f-ppvr2’s Python /usr/bin/python2…

---

## [How to change password](https://forum.ansible.com/t/how-to-change-password/35359)

<div class="topic-metadata">

**Author:** [@Komal\_Suthar](https://forum.ansible.com/u/Komal_Suthar)\
**Replies:** 2\
**Last updated:** [June 16, 2021, 1:57pm UTC](https://forum.ansible.com/t/how-to-change-password/35359 "2021-06-16T13:57:06Z")

</div>

Hello, Any approach to change the existing users password on 200 plus machines in a safe way.

---

## [Need a help to perform start and stop of tomcat service](https://forum.ansible.com/t/need-a-help-to-perform-start-and-stop-of-tomcat-service/35355)

<div class="topic-metadata">

**Author:** [@Amit\_Kulkarni](https://forum.ansible.com/u/Amit_Kulkarni)\
**Replies:** 1\
**Last updated:** [June 15, 2021, 9:39pm UTC](https://forum.ansible.com/t/need-a-help-to-perform-start-and-stop-of-tomcat-service/35355 "2021-06-15T21:39:33Z")

</div>

Hello Experts, If anyone has has implemented tomcat start and stop on multiple hosts, please .let me know. Regards Amit

---

## [Reference collection root in role](https://forum.ansible.com/t/reference-collection-root-in-role/35356)

<div class="topic-metadata">

**Author:** [@Mark\_Faine](https://forum.ansible.com/u/Mark_Faine)\
**Replies:** 3\
**Last updated:** [June 15, 2021, 9:37pm UTC](https://forum.ansible.com/t/reference-collection-root-in-role/35356 "2021-06-15T21:37:04Z")

</div>

How can I do something like this from within a ROLE: handlers: import\_tasks: {{ collection\_dir}}/handlers/apache.yaml I see that doing this in a playbook that references the collection does work however there are two…

---

## [Ansible for Windows](https://forum.ansible.com/t/ansible-for-windows/35357)

<div class="topic-metadata">

**Author:** [@Gabriel\_Viegas](https://forum.ansible.com/u/Gabriel_Viegas)\
**Replies:** 3\
**Last updated:** [June 15, 2021, 9:20pm UTC](https://forum.ansible.com/t/ansible-for-windows/35357 "2021-06-15T21:20:22Z")

</div>

I have one question about using Ansible with Windows How to enable Administrator user with Ansible for Windows?

---

## [Failed to import the required Python library (psycopg2)](https://forum.ansible.com/t/failed-to-import-the-required-python-library-psycopg2/35351)

<div class="topic-metadata">

**Author:** [@ZillaYT](https://forum.ansible.com/u/ZillaYT)\
**Replies:** 6\
**Last updated:** [June 15, 2021, 9:12pm UTC](https://forum.ansible.com/t/failed-to-import-the-required-python-library-psycopg2/35351 "2021-06-15T21:12:25Z")

</div>

On Ubuntu Linux node $ ansible --version ansible \[core 2.11.1\] config file = /home/jenkins/.ansible.cfg configured module search path = \[‘/home/jenkins/.ansible/plugins/modules’, ‘/usr/share/ansible/plugins/modules’\] …

---

## [Help Reading through nested output](https://forum.ansible.com/t/help-reading-through-nested-output/35354)

<div class="topic-metadata">

**Author:** [@Nathan\_Kellyman](https://forum.ansible.com/u/Nathan_Kellyman)\
**Replies:** 2\
**Last updated:** [June 15, 2021, 7:48pm UTC](https://forum.ansible.com/t/help-reading-through-nested-output/35354 "2021-06-15T19:48:31Z")

</div>

Hi, I’m new to ansible, and i’m seeking some help. i’m writing a playbook that should iterate through a group, gather facts, then check the relevant variables against a defined condition, then perform an action depending…

---

## [How to change the Primary DNS Suffix of this computer](https://forum.ansible.com/t/how-to-change-the-primary-dns-suffix-of-this-computer/35353)

<div class="topic-metadata">

**Author:** [@Gabriel\_Viegas](https://forum.ansible.com/u/Gabriel_Viegas)\
**Replies:** 0\
**Last updated:** [June 15, 2021, 5:14pm UTC](https://forum.ansible.com/t/how-to-change-the-primary-dns-suffix-of-this-computer/35353 "2021-06-15T17:14:31Z")

</div>

How to change the primary DNS suffix of this computer using Ansible for Windows?

---

## [dict object has no attribute](https://forum.ansible.com/t/dict-object-has-no-attribute/35350)

<div class="topic-metadata">

**Author:** [@Kishore\_Ponniah](https://forum.ansible.com/u/Kishore_Ponniah)\
**Replies:** 4\
**Last updated:** [June 15, 2021, 2:27pm UTC](https://forum.ansible.com/t/dict-object-has-no-attribute/35350 "2021-06-15T14:27:42Z")

</div>

Hi All, I am trying to re-create the AWS Core infrastructure using ansible in another region. I am getting the following error The task includes an option with an undefined variable. The error was: ‘dict object’ has no…

---

## [postgresql\_db for Windows?](https://forum.ansible.com/t/postgresql-db-for-windows/35349)

<div class="topic-metadata">

**Author:** [@ZillaYT](https://forum.ansible.com/u/ZillaYT)\
**Replies:** 5\
**Last updated:** [June 15, 2021, 1:23pm UTC](https://forum.ansible.com/t/postgresql-db-for-windows/35349 "2021-06-15T13:23:40Z")

</div>

Is there an equivalent Windows module for postgresql\_db in Windows that I can use to dump/restore a PostgreSQL DB? Thanks, Chris

---

## [Massive network infra management](https://forum.ansible.com/t/massive-network-infra-management/35346)

<div class="topic-metadata">

**Author:** [@Parth\_Patel](https://forum.ansible.com/u/Parth_Patel)\
**Replies:** 9\
**Last updated:** [June 15, 2021, 12:23pm UTC](https://forum.ansible.com/t/massive-network-infra-management/35346 "2021-06-15T12:23:50Z")

</div>

Hi All, Let’s say we have 500 network devices and we use ansible or nornir. If we deploy it from let’s say single configuration management server that single would be single point of failure or let’s say single point o…

---

## [Getting Error](https://forum.ansible.com/t/getting-error/35294)

<div class="topic-metadata">

**Author:** [@Dipun\_Dwibedy](https://forum.ansible.com/u/Dipun_Dwibedy)\
**Replies:** 1\
**Last updated:** [June 15, 2021, 4:18am UTC](https://forum.ansible.com/t/getting-error/35294 "2021-06-15T04:18:51Z")

</div>

ansible-playbook switch.yml -v Using /home/sidwi/ansible/ansible.cfg as config file ERROR! failed to combine variables, expected dicts but got a ‘dict’ and a ‘AnsibleSequence’: {} \[{“hostname”: “switch1”, “dev\_vlan”:…

---

## [Error in block declaration](https://forum.ansible.com/t/error-in-block-declaration/35344)

<div class="topic-metadata">

**Author:** [@harry\_devine](https://forum.ansible.com/u/harry_devine)\
**Replies:** 1\
**Last updated:** [June 14, 2021, 6:35pm UTC](https://forum.ansible.com/t/error-in-block-declaration/35344 "2021-06-14T18:35:43Z")

</div>

I have a playbook that is being included in a role I’m creating: name: Set up permissions include\_tasks: sitepermissions.yml loop: “{{ folders }}” In sitepermissions.yml, I’m trying to define a block: name: Creat…

---

## [How to get updates on Patches](https://forum.ansible.com/t/how-to-get-updates-on-patches/35323)

<div class="topic-metadata">

**Author:** [@pabbisetty.hm](https://forum.ansible.com/u/pabbisetty.hm)\
**Replies:** 3\
**Last updated:** [June 14, 2021, 4:56pm UTC](https://forum.ansible.com/t/how-to-get-updates-on-patches/35323 "2021-06-14T16:56:59Z")

</div>

Hello, I am new to AWX. Just wondering how we sign up to be notified by of patches or other issues with AWX. Venkata

---

## [Version of collections included in Ansible distro?](https://forum.ansible.com/t/version-of-collections-included-in-ansible-distro/35343)

<div class="topic-metadata">

**Author:** [@Erik\_Godding\_Boye](https://forum.ansible.com/u/Erik_Godding_Boye)\
**Replies:** 4\
**Last updated:** [June 14, 2021, 8:19am UTC](https://forum.ansible.com/t/version-of-collections-included-in-ansible-distro/35343 "2021-06-14T08:19:38Z")

</div>

Greetings, I am trying to understand how (and when) the versions of collections included in the Ansible distro are decided? We are building our own container image for ansible stuff, and the image is rebuilt nightly. A…

---

## [Relative paths in Ansible](https://forum.ansible.com/t/relative-paths-in-ansible/35340)

<div class="topic-metadata">

**Author:** [@K\_de\_Jong](https://forum.ansible.com/u/K_de_Jong)\
**Replies:** 0\
**Last updated:** [June 13, 2021, 11:01am UTC](https://forum.ansible.com/t/relative-paths-in-ansible/35340 "2021-06-13T11:01:57Z")

</div>

I want to create the following. A relative path in a certain directory. For example in /home/user there is a file called hi.txt, I want to symlink it to bye.txt. With the command line that would then be cd /home/user; ln…

---

## [How do i save output of 2 TASKS to same file?](https://forum.ansible.com/t/how-do-i-save-output-of-2-tasks-to-same-file/35338)

<div class="topic-metadata">

**Author:** [@Vikram\_S](https://forum.ansible.com/u/Vikram_S)\
**Replies:** 0\
**Last updated:** [June 12, 2021, 5:53pm UTC](https://forum.ansible.com/t/how-do-i-save-output-of-2-tasks-to-same-file/35338 "2021-06-12T17:53:51Z")

</div>

Hi, In below script, i am saving backup of several router commands into a file using ‘copy’ module. Then i have written the script in such a way that EIGRP Neigbour backup should be taken only if EIGRP protcol is runnin…

---

## [changing a password with ansible](https://forum.ansible.com/t/changing-a-password-with-ansible/35336)

<div class="topic-metadata">

**Author:** [@Joost\_Ringoot](https://forum.ansible.com/u/Joost_Ringoot)\
**Replies:** 2\
**Last updated:** [June 12, 2021, 1:53am UTC](https://forum.ansible.com/t/changing-a-password-with-ansible/35336 "2021-06-12T01:53:17Z")

</div>

Hello, I am trying to change a password with ansible but it doesn’t work. I don’t see why it is not working. Do you see what is going wrong? see screenshot or cli below \[pipo@install-me ~\]$ ansible all -i localhost,…

---

## [\*\*Urgent Need ur suggestion expect module](https://forum.ansible.com/t/urgent-need-ur-suggestion-expect-module/35332)

<div class="topic-metadata">

**Author:** [@Abdulrazzaq\_shaik](https://forum.ansible.com/u/Abdulrazzaq_shaik)\
**Replies:** 1\
**Last updated:** [June 11, 2021, 7:45pm UTC](https://forum.ansible.com/t/urgent-need-ur-suggestion-expect-module/35332 "2021-06-11T19:45:08Z")

</div>

Hi All Am trying to use expect module in the ansible, where am getting error to have pexpect 3.3 version As I have tried to install am able to get pexpect 2.3 version, how to install 3.3 as per ansible docs it must be …

---

## [Can we integrate ansible with any of RPA tool](https://forum.ansible.com/t/can-we-integrate-ansible-with-any-of-rpa-tool/35334)

<div class="topic-metadata">

**Author:** [@Anjali\_Adhikari](https://forum.ansible.com/u/Anjali_Adhikari)\
**Replies:** 2\
**Last updated:** [June 11, 2021, 3:00pm UTC](https://forum.ansible.com/t/can-we-integrate-ansible-with-any-of-rpa-tool/35334 "2021-06-11T15:00:11Z")

</div>

Can we integrate ansible with any of RPA tool

---

## [How to add a ldap user to a local group ?](https://forum.ansible.com/t/how-to-add-a-ldap-user-to-a-local-group/35335)

<div class="topic-metadata">

**Author:** [@Olivier](https://forum.ansible.com/u/Olivier)\
**Replies:** 0\
**Last updated:** [June 11, 2021, 2:24pm UTC](https://forum.ansible.com/t/how-to-add-a-ldap-user-to-a-local-group/35335 "2021-06-11T14:24:49Z")

</div>

Hi, What I want is to add members to a local group on centos, but this members are not local but from an ldap (the access work fine with my ldap account on my linux system). I tried ansible.builtin.user but this module…

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

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