# Latest

**URL:** https://forum.ansible.com/latest.md?page=294

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

**Page:** 295

---

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

---

## [Unable to update/add credential field in Job Template using API in Ansible tower](https://forum.ansible.com/t/unable-to-update-add-credential-field-in-job-template-using-api-in-ansible-tower/35366)

<div class="topic-metadata">

**Author:** [@Kamlendu\_Shekhar](https://forum.ansible.com/u/Kamlendu_Shekhar)\
**Replies:** 0\
**Last updated:** [June 17, 2021, 6:50pm UTC](https://forum.ansible.com/t/unable-to-update-add-credential-field-in-job-template-using-api-in-ansible-tower/35366 "2021-06-17T18:50:22Z")

</div>

Hi, I am trying to create/update a Job template in Ansible tower using API, everything is working great, but it’s not including the credentials what was passed as payload. even the update is not working(I tried PATCH a…

---

## [Host in multiple inventories in ansible, but not in AWX?](https://forum.ansible.com/t/host-in-multiple-inventories-in-ansible-but-not-in-awx/35365)

<div class="topic-metadata">

**Author:** [@Neil\_Davis](https://forum.ansible.com/u/Neil_Davis)\
**Replies:** 1\
**Last updated:** [June 17, 2021, 4:36pm UTC](https://forum.ansible.com/t/host-in-multiple-inventories-in-ansible-but-not-in-awx/35365 "2021-06-17T16:36:52Z")

</div>

With “simple” ansible, a host can exist in multiple inventories, whereas in AWX this does not appear to be working. Is this how it is supposed to work? Cheers

---

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

---

## [Help in installing application on windows](https://forum.ansible.com/t/help-in-installing-application-on-windows/35358)

<div class="topic-metadata">

**Author:** [@Yerigeri1](https://forum.ansible.com/u/Yerigeri1)\
**Replies:** 1\
**Last updated:** [June 16, 2021, 4:53pm UTC](https://forum.ansible.com/t/help-in-installing-application-on-windows/35358 "2021-06-16T16:53:39Z")

</div>

Hi I need to install an application to many windows machines. The issue is it gets installed but not as expected. After analyzing, we figured our that if we need to automate the process we will have to do it using VNC. …

---

## [DNS Question](https://forum.ansible.com/t/dns-question/35361)

<div class="topic-metadata">

**Author:** [@Matthew\_Wimpelberg](https://forum.ansible.com/u/Matthew_Wimpelberg)\
**Replies:** 0\
**Last updated:** [June 16, 2021, 2:26pm UTC](https://forum.ansible.com/t/dns-question/35361 "2021-06-16T14:26:37Z")

</div>

Hi, I’m running AWX in AWS EKS and I’m not able to reach servers on my internal network by DNS name. How can I set nameservers for the containers?

---

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

---

## [New release candidates: ansible-core 2.11.2rc1, ansible-base 2.10.11rc1, ansible 2.9.23rc1](https://forum.ansible.com/t/new-release-candidates-ansible-core-2-11-2rc1-ansible-base-2-10-11rc1-ansible-2-9-23rc1/35352)

<div class="topic-metadata">

**Author:** [@relrod](https://forum.ansible.com/u/relrod)\
**Replies:** 0\
**Last updated:** [June 15, 2021, 3:34pm UTC](https://forum.ansible.com/t/new-release-candidates-ansible-core-2-11-2rc1-ansible-base-2-10-11rc1-ansible-2-9-23rc1/35352 "2021-06-15T15:34:23Z")

</div>

Hi all- we're happy to announce the release candidates of: - ansible-core 2.11.2rc1 - ansible-base 2.10.11rc1 - ansible 2.9.23rc1 These releases fix a templating security issue, CVE-2021-3583, in addition to several …

---

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

---

## [AWX RBAC Question](https://forum.ansible.com/t/awx-rbac-question/35347)

<div class="topic-metadata">

**Author:** [@Matt\_Lincoln](https://forum.ansible.com/u/Matt_Lincoln)\
**Replies:** 0\
**Last updated:** [June 14, 2021, 7:56pm UTC](https://forum.ansible.com/t/awx-rbac-question/35347 "2021-06-14T19:56:16Z")

</div>

I’m working on getting one of our AWX instances in a full RBAC model, but some users are reporting odd behavior around the “copy” permission specifically for projects. During my testing, it seems like the “copy” permissi…

---

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

---

## [data modeling - group\_vars and inventory with deeply nested subdirectories - example included](https://forum.ansible.com/t/data-modeling-group-vars-and-inventory-with-deeply-nested-subdirectories-example-included/35316)

<div class="topic-metadata">

**Author:** [@Joey\_Freeland](https://forum.ansible.com/u/Joey_Freeland)\
**Replies:** 2\
**Last updated:** [June 14, 2021, 6:11pm UTC](https://forum.ansible.com/t/data-modeling-group-vars-and-inventory-with-deeply-nested-subdirectories-example-included/35316 "2021-06-14T18:11:03Z")

</div>

I’m very new to using ansible; please forgive my ignorance. I need to manage groups of machines that all look identical in their “group.” For various reasons I cannot just use an instance template in my cloud providers …

---

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

---

## [Inventory file not accessible in "choose an inventory file"](https://forum.ansible.com/t/inventory-file-not-accessible-in-choose-an-inventory-file/35345)

<div class="topic-metadata">

**Author:** [@Thierry\_Milhau](https://forum.ansible.com/u/Thierry_Milhau)\
**Replies:** 0\
**Last updated:** [June 14, 2021, 3:16pm UTC](https://forum.ansible.com/t/inventory-file-not-accessible-in-choose-an-inventory-file/35345 "2021-06-14T15:16:21Z")

</div>

Hello, I use AWX 17.0.1 I want to create an inventory with a “source from a project”. When I add a file to a new directory I don’t see it in “choose an inventory file”. I checked on the awx-task pod and my file is pre…

---

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

---

## [Name of the "admin" account must be "admin"](https://forum.ansible.com/t/name-of-the-admin-account-must-be-admin/35342)

<div class="topic-metadata">

**Author:** [@Brandon\_Ellis](https://forum.ansible.com/u/Brandon_Ellis)\
**Replies:** 0\
**Last updated:** [June 13, 2021, 9:19pm UTC](https://forum.ansible.com/t/name-of-the-admin-account-must-be-admin/35342 "2021-06-13T21:19:42Z")

</div>

I’ve found that launching AWX with an admin account named “admin” is different from launching it with an admin account of a different name. For example, it seems like an admin account named “admin” can have as many logi…

---

## [To store registered output to from AWX to Centos host](https://forum.ansible.com/t/to-store-registered-output-to-from-awx-to-centos-host/35341)

<div class="topic-metadata">

**Author:** [@Elvin](https://forum.ansible.com/u/Elvin)\
**Replies:** 0\
**Last updated:** [June 13, 2021, 1:20pm UTC](https://forum.ansible.com/t/to-store-registered-output-to-from-awx-to-centos-host/35341 "2021-06-13T13:20:21Z")

</div>

Dear all, I have some output from cisco show command and will be store in the “show\_run” register. Using this copy content command to create file in “/var/lib/awx/projects/project” (this folder can be access by ee, tas…

[Previous page](https://forum.ansible.com/latest.md?page=293)

[Next page](https://forum.ansible.com/latest.md?page=295)
