# Archives

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

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

**Page:** 77

---

## ["Request failed: \<urlopen error \[Errno -2\] Name or service not known\>"](https://forum.ansible.com/t/request-failed-urlopen-error-errno-2-name-or-service-not-known/36668)

<div class="topic-metadata">

**Author:** [@Ricardo\_Gusi](https://forum.ansible.com/u/Ricardo_Gusi)\
**Replies:** 1\
**Last updated:** [May 29, 2022, 3:03pm UTC](https://forum.ansible.com/t/request-failed-urlopen-error-errno-2-name-or-service-not-known/36668 "2022-05-29T15:03:07Z")

</div>

Hi, I’m trying to download Maven but I get the following error: fatal: \[app01\]: FAILED! =\> {“changed”: false, “dest”: “/opt/apache-maven-3.1.0-bin.tar.gz”, “elapsed”: 10, “msg”: “Request failed: \<urlopen error \[Errno -2…

---

## [Molecule 3 test](https://forum.ansible.com/t/molecule-3-test/36667)

<div class="topic-metadata">

**Author:** [@Sudheer\_S](https://forum.ansible.com/u/Sudheer_S)\
**Replies:** 0\
**Last updated:** [May 29, 2022, 8:00am UTC](https://forum.ansible.com/t/molecule-3-test/36667 "2022-05-29T08:00:36Z")

</div>

Hello, I have initialized molecule and try to run a test: molecule --debug converge DEBUG Validating schema /home/sudheer/workspace/gavika/ansible-projects/easy\_rsa/molecule/default/molecule.yml. INFO default …

---

## [Ansible FAILED! =\> {"changed": false, "msg": "Failed to authenticate: Authentication failed."}](https://forum.ansible.com/t/ansible-failed-changed-false-msg-failed-to-authenticate-authentication-failed/36666)

<div class="topic-metadata">

**Author:** [@Abdellah\_Chadid](https://forum.ansible.com/u/Abdellah_Chadid)\
**Replies:** 0\
**Last updated:** [May 28, 2022, 4:17am UTC](https://forum.ansible.com/t/ansible-failed-changed-false-msg-failed-to-authenticate-authentication-failed/36666 "2022-05-28T04:17:18Z")

</div>

Hello everyone… please help… I’m trying to run an ansible playbook on my cisco ios router… but I ekkp getting this error… please anyone!!

---

## [Problem to connect cisco switches](https://forum.ansible.com/t/problem-to-connect-cisco-switches/36665)

<div class="topic-metadata">

**Author:** [@Vamberto\_Junior](https://forum.ansible.com/u/Vamberto_Junior)\
**Replies:** 0\
**Last updated:** [May 27, 2022, 5:33pm UTC](https://forum.ansible.com/t/problem-to-connect-cisco-switches/36665 "2022-05-27T17:33:43Z")

</div>

Hi guys, I have some problem to connect in cisco switches no make backup. My using these variables ansible\_connection: network\_cli ansible\_network\_os: ios ansible\_user: ansible ansible\_password: \*\*\*\*\*\*\*\*\*\*\* And I …

---

## [importing modules, module utils from external collection](https://forum.ansible.com/t/importing-modules-module-utils-from-external-collection/36663)

<div class="topic-metadata">

**Author:** [@BalaSubramanian\_Vetr](https://forum.ansible.com/u/BalaSubramanian_Vetr)\
**Replies:** 0\
**Last updated:** [May 27, 2022, 8:26am UTC](https://forum.ansible.com/t/importing-modules-module-utils-from-external-collection/36663 "2022-05-27T08:26:33Z")

</div>

Hi Team Greetings of the day! I want to logically divide my collection into many. Please help with following queries How to import modules, module utils from another collection ? I tried all the combination to import…

---

## [How can I execute one code block from local/master/control node?](https://forum.ansible.com/t/how-can-i-execute-one-code-block-from-local-master-control-node/36658)

<div class="topic-metadata">

**Author:** [@bentech4u](https://forum.ansible.com/u/bentech4u)\
**Replies:** 1\
**Last updated:** [May 26, 2022, 11:16am UTC](https://forum.ansible.com/t/how-can-i-execute-one-code-block-from-local-master-control-node/36658 "2022-05-26T11:16:56Z")

</div>

I would like to execute the below tasks which create a user on a remote host and trigger an SMS gateway call from master/control node. This is running from awx/(tower) where I get some of the parameters through an AWX s…

---

## [AWX EE poor performance](https://forum.ansible.com/t/awx-ee-poor-performance/36537)

<div class="topic-metadata">

**Author:** [@adpavlov](https://forum.ansible.com/u/adpavlov)\
**Replies:** 4\
**Last updated:** [May 25, 2022, 2:58pm UTC](https://forum.ansible.com/t/awx-ee-poor-performance/36537 "2022-05-25T14:58:26Z")

</div>

Hi everyone, Finally trying to migrate my docker based AWX 15 to kubernetes based AWX 20. I have to use custom EE to have ansible 2.9. In EE ideology each playbook execution means separate pod/container creation, whic…

---

## [Kindly advice for AnsibleAWX Performance](https://forum.ansible.com/t/kindly-advice-for-ansibleawx-performance/36596)

<div class="topic-metadata">

**Author:** [@arun\_soman](https://forum.ansible.com/u/arun_soman)\
**Replies:** 1\
**Last updated:** [May 25, 2022, 2:55pm UTC](https://forum.ansible.com/t/kindly-advice-for-ansibleawx-performance/36596 "2022-05-25T14:55:47Z")

</div>

Hi All, We install the open-source Ansible AWX using the document “https://github.com/ansible/awx-operator “ in AWS EKS. And we configured some workflow jobs in the Ansible AWX, But we are getting too slow to complete …

---

## [How to use copy with with\_items and a 'sub list' (not sure if that is the right terminology)](https://forum.ansible.com/t/how-to-use-copy-with-with-items-and-a-sub-list-not-sure-if-that-is-the-right-terminology/36657)

<div class="topic-metadata">

**Author:** [@morgan\_cox](https://forum.ansible.com/u/morgan_cox)\
**Replies:** 1\
**Last updated:** [May 25, 2022, 11:47am UTC](https://forum.ansible.com/t/how-to-use-copy-with-with-items-and-a-sub-list-not-sure-if-that-is-the-right-terminology/36657 "2022-05-25T11:47:42Z")

</div>

Hi. Having an issue with a seemingly simple task, I just cannot work this out, pretty sure there is a simple way of doing this … I have these example vars for a role

---

## [What should be done for the sorry state of the google.cloud collection?](https://forum.ansible.com/t/what-should-be-done-for-the-sorry-state-of-the-google-cloud-collection/36648)

<div class="topic-metadata">

**Author:** [@Nick\_Kakouros](https://forum.ansible.com/u/Nick_Kakouros)\
**Replies:** 3\
**Last updated:** [May 25, 2022, 11:10am UTC](https://forum.ansible.com/t/what-should-be-done-for-the-sorry-state-of-the-google-cloud-collection/36648 "2022-05-25T11:10:03Z")

</div>

Hello, The google.cloud collection: had only one commit the past 6 months no release for almost 1.5 years 90 open and completely unanswered issues 26 pull requests ignored does not support hundreds of APIs and operati…

---

## [Control node environment & plugins](https://forum.ansible.com/t/control-node-environment-plugins/36630)

<div class="topic-metadata">

**Author:** [@Gabriel\_Canton](https://forum.ansible.com/u/Gabriel_Canton)\
**Replies:** 4\
**Last updated:** [May 24, 2022, 10:09pm UTC](https://forum.ansible.com/t/control-node-environment-plugins/36630 "2022-05-24T22:09:08Z")

</div>

Hi community! I have a simple, newbie question related to setting the environment for plugins. This playbook illustrates my problem:

---

## [Issues with {{ ansible\_hostname }} in task name within a role](https://forum.ansible.com/t/issues-with-ansible-hostname-in-task-name-within-a-role/36656)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [May 24, 2022, 2:01pm UTC](https://forum.ansible.com/t/issues-with-ansible-hostname-in-task-name-within-a-role/36656 "2022-05-24T14:01:42Z")

</div>

task names need to be the same across all hosts they are run on, so 'host scoped variables' are not valid for templating in the task names. https://github.com/ansible/ansible/issues/3103#issuecomment-18835432

---

## [multiple loops in single TASK](https://forum.ansible.com/t/multiple-loops-in-single-task/36652)

<div class="topic-metadata">

**Author:** [@dulhaver](https://forum.ansible.com/u/dulhaver)\
**Replies:** 3\
**Last updated:** [May 24, 2022, 1:59pm UTC](https://forum.ansible.com/t/multiple-loops-in-single-task/36652 "2022-05-24T13:59:26Z")

</div>

I want to to install some packages to several almalinux hosts name: “docker=install” delegate\_to: “{{ item }}” dnf: name: ‘https://download.docker.com/linux/rhel/8/source/stable/Packages/docker-ce-20.10.15-3.el8.src…

---

## [ios\_command by ansible](https://forum.ansible.com/t/ios-command-by-ansible/36618)

<div class="topic-metadata">

**Author:** [@Ramesh\_AR](https://forum.ansible.com/u/Ramesh_AR)\
**Replies:** 1\
**Last updated:** [May 24, 2022, 6:51am UTC](https://forum.ansible.com/t/ios-command-by-ansible/36618 "2022-05-24T06:51:21Z")

</div>

Hey Folks, Trying to get sh int des | i by ansible. my ansible play is adding the special character which didn’t work on the switch. debug: sample output “commands”: \[ “sh int des |i "host161|host162"” I would lik…

---

## [New releases: ansible-core 2.12.6, ansible-core 2.11.12](https://forum.ansible.com/t/new-releases-ansible-core-2-12-6-ansible-core-2-11-12/36653)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 1\
**Last updated:** [May 24, 2022, 1:55am UTC](https://forum.ansible.com/t/new-releases-ansible-core-2-12-6-ansible-core-2-11-12/36653 "2022-05-24T01:55:26Z")

</div>

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

---

## [Question on Configuring multiple ldap user search using  awx.awx.tower\_settings](https://forum.ansible.com/t/question-on-configuring-multiple-ldap-user-search-using-awx-awx-tower-settings/36651)

<div class="topic-metadata">

**Author:** [@rake](https://forum.ansible.com/u/rake)\
**Replies:** 0\
**Last updated:** [May 23, 2022, 12:21pm UTC](https://forum.ansible.com/t/question-on-configuring-multiple-ldap-user-search-using-awx-awx-tower-settings/36651 "2022-05-23T12:21:58Z")

</div>

Hello Team, I have ansible playbook that uses module awx.awx.tower\_settings to do AUTH\_LDAP\_USER\_SEARCH.I’m trying to configure two ldap\_user\_search some thing like this OU=employees,OU=users,OU=,DC=,DC=,DC=com and OU…

---

## [Issue in with\_nested loop having single Iteration](https://forum.ansible.com/t/issue-in-with-nested-loop-having-single-iteration/36650)

<div class="topic-metadata">

**Author:** [@Anirudh\_Gupta](https://forum.ansible.com/u/Anirudh_Gupta)\
**Replies:** 0\
**Last updated:** [May 23, 2022, 10:51am UTC](https://forum.ansible.com/t/issue-in-with-nested-loop-having-single-iteration/36650 "2022-05-23T10:51:51Z")

</div>

Hi Team I am calling a simple function name: Setting vm key value set\_fact: vm\_key: “{{ item.1.key }}” when: item.0.key == item.1.value.name with\_nested: “{{ ia\_hosts\_copy }}” “{{ vm\_copy }}” where nam…

---

## [Error register variable "The task includes an option with an undefined variable"](https://forum.ansible.com/t/error-register-variable-the-task-includes-an-option-with-an-undefined-variable/36647)

<div class="topic-metadata">

**Author:** [@Emanuel\_Gonzalez](https://forum.ansible.com/u/Emanuel_Gonzalez)\
**Replies:** 3\
**Last updated:** [May 20, 2022, 3:04pm UTC](https://forum.ansible.com/t/error-register-variable-the-task-includes-an-option-with-an-undefined-variable/36647 "2022-05-20T15:04:58Z")

</div>

Hello, 30 minutes ago I am reviewing my playbook and I do not find the error, I am going crazy, i see this error: I run the playbook this way /usr/bin/ansible-playbook -i hosts --extra-vars “CARRIER=xx” tasks/create\_ec…

---

## [community.docker.docker\_container\_exec error handling](https://forum.ansible.com/t/community-docker-docker-container-exec-error-handling/36646)

<div class="topic-metadata">

**Author:** [@Tony1](https://forum.ansible.com/u/Tony1)\
**Replies:** 1\
**Last updated:** [May 19, 2022, 6:31pm UTC](https://forum.ansible.com/t/community-docker-docker-container-exec-error-handling/36646 "2022-05-19T18:31:53Z")

</div>

Hi all, Provision docker instance \> Get application code \> Run some tests I am currently creating a CICD pipeline for an application. Before we build the application, we run some scala tests using sbt. Some of the tes…

---

## ["ERROR! Expecting requirements file to be a dict with the key 'collections' that contains a list of collections to install"](https://forum.ansible.com/t/error-expecting-requirements-file-to-be-a-dict-with-the-key-collections-that-contains-a-list-of-collections-to-install/36621)

<div class="topic-metadata">

**Author:** [@Jagruti\_Belani](https://forum.ansible.com/u/Jagruti_Belani)\
**Replies:** 1\
**Last updated:** [May 18, 2022, 8:22pm UTC](https://forum.ansible.com/t/error-expecting-requirements-file-to-be-a-dict-with-the-key-collections-that-contains-a-list-of-collections-to-install/36621 "2022-05-18T20:22:01Z")

</div>

Getting this error when I try to sync the git repository in latest AWX version. AWX Operator Version: 0.21.0 Kubernetes : v1.20.0 AWX. version: 21.0.0 TASK \[fetch galaxy collections from collections/requirements.(yml…

---

## [External Postgres Database ?](https://forum.ansible.com/t/external-postgres-database/36624)

<div class="topic-metadata">

**Author:** [@Dane\_DeValcourt](https://forum.ansible.com/u/Dane_DeValcourt)\
**Replies:** 1\
**Last updated:** [May 18, 2022, 8:12pm UTC](https://forum.ansible.com/t/external-postgres-database/36624 "2022-05-18T20:12:45Z")

</div>

Trying to install the latest operator on Kubernetes and we wanted to use an external postgres database. I am trying to follow along with these directions to connect it: https://github.com/ansible/awx-operator#external-…

---

## [Setting limits on postgres?](https://forum.ansible.com/t/setting-limits-on-postgres/36625)

<div class="topic-metadata">

**Author:** [@Dane\_DeValcourt](https://forum.ansible.com/u/Dane_DeValcourt)\
**Replies:** 2\
**Last updated:** [May 18, 2022, 8:09pm UTC](https://forum.ansible.com/t/setting-limits-on-postgres/36625 "2022-05-18T20:09:15Z")

</div>

Any advice on overcoming this: create Pod awx-prod-postgres-0 in StatefulSet awx-prod-postgres failed error: pods “awx-prod-postgres-0” is forbidden: failed quota: default-2mp2v: must specify limits.cpu,limits.memory I…

---

## [Jobs getting Canceled](https://forum.ansible.com/t/jobs-getting-canceled/36632)

<div class="topic-metadata">

**Author:** [@Ankur\_Porwal](https://forum.ansible.com/u/Ankur_Porwal)\
**Replies:** 1\
**Last updated:** [May 18, 2022, 7:46pm UTC](https://forum.ansible.com/t/jobs-getting-canceled/36632 "2022-05-18T19:46:59Z")

</div>

Hi All, Hope you all are doing good. Am working on AWX 21.0.0 and found out that jobs are getting canceled with no errors. So complete playbook didnt get executed and it get failed in between. Also there are no error…

---

## [Compose custom vmware\_vm\_inventory that filters on guestinfo.appInfo](https://forum.ansible.com/t/compose-custom-vmware-vm-inventory-that-filters-on-guestinfo-appinfo/36641)

<div class="topic-metadata">

**Author:** [@AutoKTee](https://forum.ansible.com/u/AutoKTee)\
**Replies:** 1\
**Last updated:** [May 18, 2022, 7:20pm UTC](https://forum.ansible.com/t/compose-custom-vmware-vm-inventory-that-filters-on-guestinfo-appinfo/36641 "2022-05-18T19:20:07Z")

</div>

Would like to create a list of servers that have and do not have an application installed. Basically a compose a value that says true if application is installed and false if not based on the guestinfo.appInfo list. Exa…

---

## [Performing tests versus appliance devices](https://forum.ansible.com/t/performing-tests-versus-appliance-devices/36640)

<div class="topic-metadata">

**Author:** [@Idont\_Haveaname](https://forum.ansible.com/u/Idont_Haveaname)\
**Replies:** 1\
**Last updated:** [May 18, 2022, 7:14pm UTC](https://forum.ansible.com/t/performing-tests-versus-appliance-devices/36640 "2022-05-18T19:14:46Z")

</div>

Hello, I’m trying to develop a collection for an appliance (similar way of working as a network device), you can do RAPI calls to it or SSH to a very narrowed shell. Therefore, I thought that using the httpapi connecti…

---

## [Ansible 5.8.0 has been released](https://forum.ansible.com/t/ansible-5-8-0-has-been-released/36643)

<div class="topic-metadata">

**Author:** [@David\_Moreau\_Simard2](https://forum.ansible.com/u/David_Moreau_Simard2)\
**Replies:** 0\
**Last updated:** [May 18, 2022, 5:05pm UTC](https://forum.ansible.com/t/ansible-5-8-0-has-been-released/36643 "2022-05-18T17:05:08Z")

</div>

Hi all, We're happy to announce that the Ansible 5.8.0 package has been released ! Ansible 5.8.0 includes ansible-core 2.12 as well as a curated set of Ansible collections to provide a vast number of modules and plugi…

---

## [Ansible 6.0.0a3 (including ansible-core 2.13.0) available for testing](https://forum.ansible.com/t/ansible-6-0-0a3-including-ansible-core-2-13-0-available-for-testing/36642)

<div class="topic-metadata">

**Author:** [@David\_Moreau\_Simard2](https://forum.ansible.com/u/David_Moreau_Simard2)\
**Replies:** 0\
**Last updated:** [May 18, 2022, 4:03pm UTC](https://forum.ansible.com/t/ansible-6-0-0a3-including-ansible-core-2-13-0-available-for-testing/36642 "2022-05-18T16:03:20Z")

</div>

Hi all, We're happy to announce that the third alpha release of Ansible 6.0 is now available for testing ! Ansible 6.0.0 will include ansible-core 2.13 as well as a curated set of Ansible collections to provide a vas…

---

## [Deployment failed in Kubernete V1.24](https://forum.ansible.com/t/deployment-failed-in-kubernete-v1-24/36615)

<div class="topic-metadata">

**Author:** [@Ahilan\_Swaminathan](https://forum.ansible.com/u/Ahilan_Swaminathan)\
**Replies:** 2\
**Last updated:** [May 17, 2022, 11:05am UTC](https://forum.ansible.com/t/deployment-failed-in-kubernete-v1-24/36615 "2022-05-17T11:05:13Z")

</div>

Hi Team When I deployed the AWX instance using Kubernetes v1.24, I faced issues in postgres database migrations. Kubernetes v1.24 dockershim is deprecated and containerd as container runtime. How we deploy the awx in ku…

---

## [New Deployment on Kubernetes (Error regarding secret\_key)](https://forum.ansible.com/t/new-deployment-on-kubernetes-error-regarding-secret-key/36637)

<div class="topic-metadata">

**Author:** [@Dane\_DeValcourt](https://forum.ansible.com/u/Dane_DeValcourt)\
**Replies:** 0\
**Last updated:** [May 17, 2022, 10:55am UTC](https://forum.ansible.com/t/new-deployment-on-kubernetes-error-regarding-secret-key/36637 "2022-05-17T10:55:14Z")

</div>

I was doing a fresh install of AWX 21 operator on Kubernetes with external postgres DB and had it working on Friday night. I then went to try fixing LDAP yesterday, redeployed and starting getting errors related to the …

---

## [Update docker images and re-run docker compose up](https://forum.ansible.com/t/update-docker-images-and-re-run-docker-compose-up/36636)

<div class="topic-metadata">

**Author:** [@Thibaut\_Perrin1](https://forum.ansible.com/u/Thibaut_Perrin1)\
**Replies:** 0\
**Last updated:** [May 17, 2022, 8:33am UTC](https://forum.ansible.com/t/update-docker-images-and-re-run-docker-compose-up/36636 "2022-05-17T08:33:59Z")

</div>

Hello, I am working on automating my docker images updates. For that I get a notification from DIUN, and so far I’m running the update with a simple bash scripts that goes through my docker stack folders, running a doc…

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

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