# Get Help

**URL:** https://forum.ansible.com/c/help/6.md?page=63

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

**Page:** 64

---

## [Install ansible4.10.0 on custom python3.12.5 on redhat8](https://forum.ansible.com/t/install-ansible4-10-0-on-custom-python3-12-5-on-redhat8/8089)

<div class="topic-metadata">

**Author:** [@Okieh](https://forum.ansible.com/u/Okieh)\
**Replies:** 2\
**Last updated:** [August 26, 2024, 1:33pm UTC](https://forum.ansible.com/t/install-ansible4-10-0-on-custom-python3-12-5-on-redhat8/8089 "2024-08-26T13:33:28Z")

</div>

I did build a python3.12.5 underneath a custom location on a server without direct internet access. So i downloaded several modules and transferred them onto the server. But it complains about setuptools not being availa…

---

## [Q&A Best way to test Playbooks, roles using awx](https://forum.ansible.com/t/q-a-best-way-to-test-playbooks-roles-using-awx/8079)

<div class="topic-metadata">

**Author:** [@alainseys](https://forum.ansible.com/u/alainseys)\
**Replies:** 0\
**Last updated:** [August 24, 2024, 12:59pm UTC](https://forum.ansible.com/t/q-a-best-way-to-test-playbooks-roles-using-awx/8079 "2024-08-24T12:59:14Z")

</div>

Hello, i have created this thread because i have some ideas how you guys are developing playbooks, roles, modules against awx this is how i currently run my code. I have created a devcontainer in visual studio with all…

---

## [SCM inventory vars not importing into AWX/AAP](https://forum.ansible.com/t/scm-inventory-vars-not-importing-into-awx-aap/8072)

<div class="topic-metadata">

**Author:** [@nsavich](https://forum.ansible.com/u/nsavich)\
**Replies:** 0\
**Last updated:** [August 23, 2024, 6:44pm UTC](https://forum.ansible.com/t/scm-inventory-vars-not-importing-into-awx-aap/8072 "2024-08-23T18:44:26Z")

</div>

Had anyone had issues importing SCM inventory file vars into AAP/AWX? Our inventory has about 3k lines that look similar to the following. hostname.example.com ansible\_host=“10.10.10.10” \_awx\_description=“10.10.10.10 – …

---

## [Fetch data from list of list in ansible](https://forum.ansible.com/t/fetch-data-from-list-of-list-in-ansible/8066)

<div class="topic-metadata">

**Author:** [@Neha001](https://forum.ansible.com/u/Neha001)\
**Replies:** 0\
**Last updated:** [August 23, 2024, 2:52am UTC](https://forum.ansible.com/t/fetch-data-from-list-of-list-in-ansible/8066 "2024-08-23T02:52:04Z")

</div>

Hi I wanted to parse the below sample data which is list of list in ansible. Can you please help .Sample data with sample output is given. Please let me know if any information required Input\_data data = \[ \[ “Inte…

---

## [AWX EC2 Dynamic Inventory Issue](https://forum.ansible.com/t/awx-ec2-dynamic-inventory-issue/8065)

<div class="topic-metadata">

**Author:** [@ku1918](https://forum.ansible.com/u/ku1918)\
**Replies:** 0\
**Last updated:** [August 23, 2024, 1:32am UTC](https://forum.ansible.com/t/awx-ec2-dynamic-inventory-issue/8065 "2024-08-23T01:32:55Z")

</div>

ansible-inventory \[core 2.15.12\] config file = None configured module search path = \['/runner/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'\] ansible python module location = /usr/local/lib/python3…

---

## [Issue with creating .ssh directory to pass ssh key](https://forum.ansible.com/t/issue-with-creating-ssh-directory-to-pass-ssh-key/8025)

<div class="topic-metadata">

**Author:** [@alainseys](https://forum.ansible.com/u/alainseys)\
**Replies:** 5\
**Last updated:** [August 22, 2024, 9:19pm UTC](https://forum.ansible.com/t/issue-with-creating-ssh-directory-to-pass-ssh-key/8025 "2024-08-22T21:19:22Z")

</div>

Hy i am using ansible with AWX on a K3S cluster and i have some issues, when creating the .ssh directory. Gives me evrythime the error that access is denied or that it cant write to it. i have tried with privilege acces…

---

## [Missing python 'requests' package in AWX EE (latest)](https://forum.ansible.com/t/missing-python-requests-package-in-awx-ee-latest/8049)

<div class="topic-metadata">

**Author:** [@dkoci](https://forum.ansible.com/u/dkoci)\
**Replies:** 1\
**Last updated:** [August 22, 2024, 2:07pm UTC](https://forum.ansible.com/t/missing-python-requests-package-in-awx-ee-latest/8049 "2024-08-22T14:07:52Z")

</div>

Hi. I was using AWX EE (latest) and everything was ok. But when I ran the playbook today, I received the errorFAILED! =\> {"ansible\_facts": {"discovered\_interpreter\_python": "/usr/bin/python3"}, "changed": false, "msg": …

---

## [Protecting the AWX SECRET\_KEY](https://forum.ansible.com/t/protecting-the-awx-secret-key/8007)

<div class="topic-metadata">

**Author:** [@BrianO](https://forum.ansible.com/u/BrianO)\
**Replies:** 1\
**Last updated:** [August 22, 2024, 5:50am UTC](https://forum.ansible.com/t/protecting-the-awx-secret-key/8007 "2024-08-22T05:50:33Z")

</div>

Hello All, I’m curious how others are safeguarding the “SECRET\_KEY”, either in AWX or AAP beyond the default of having it in a permissions-restricted plaintext file. The docs mention that the file can be replaced with …

---

## [Ansible AWX 17.0.1 installation issue - instance name](https://forum.ansible.com/t/ansible-awx-17-0-1-installation-issue-instance-name/8038)

<div class="topic-metadata">

**Author:** [@meg](https://forum.ansible.com/u/meg)\
**Replies:** 0\
**Last updated:** [August 22, 2024, 12:51am UTC](https://forum.ansible.com/t/ansible-awx-17-0-1-installation-issue-instance-name/8038 "2024-08-22T00:51:13Z")

</div>

Hello, I would like to know (or confirm) if the Clustering documentation in version 17.0.1 is relevant for a container based installation of AWX or if (as the title in that document states) its only relevant to Tower. …

---

## [Cannot create file on all hosts](https://forum.ansible.com/t/cannot-create-file-on-all-hosts/7995)

<div class="topic-metadata">

**Author:** [@gothsome](https://forum.ansible.com/u/gothsome)\
**Replies:** 3\
**Last updated:** [August 21, 2024, 6:45am UTC](https://forum.ansible.com/t/cannot-create-file-on-all-hosts/7995 "2024-08-21T06:45:26Z")

</div>

Hello! I had to change my playbook where i change the pw of a user and put the data in a csv in /tmp Somehow anlong the way the clients doesnt create/add data in theyr files, but one host: I use the hostname for the f…

---

## [Parsing XML where attribute has period in it](https://forum.ansible.com/t/parsing-xml-where-attribute-has-period-in-it/7911)

<div class="topic-metadata">

**Author:** [@jrglynn2](https://forum.ansible.com/u/jrglynn2)\
**Replies:** 12\
**Last updated:** [August 20, 2024, 7:24pm UTC](https://forum.ansible.com/t/parsing-xml-where-attribute-has-period-in-it/7911 "2024-08-20T19:24:19Z")

</div>

Hi all…I am trying to parse an XML file. The piece I need to grab is slightly different between versions of the XML. Old Version that works: XML: \<dataSource \<properties serverName="RDS-NAME"/\> \</dataSource\> …

---

## [Molecule EC2 non functioning](https://forum.ansible.com/t/molecule-ec2-non-functioning/8000)

<div class="topic-metadata">

**Author:** [@dwinngs](https://forum.ansible.com/u/dwinngs)\
**Replies:** 1\
**Last updated:** [August 20, 2024, 7:16pm UTC](https://forum.ansible.com/t/molecule-ec2-non-functioning/8000 "2024-08-20T19:16:14Z")

</div>

Hi, Just like to ask around if there are any molecule users here using the ec2 driver? I’m generally using the docker driver with basic configuration and it works fine even without an explicit create.yml file in the sc…

---

## [Ansible Builder installing collections and components with no access to galaxy](https://forum.ansible.com/t/ansible-builder-installing-collections-and-components-with-no-access-to-galaxy/7974)

<div class="topic-metadata">

**Author:** [@Wei-Yen\_Tan](https://forum.ansible.com/u/Wei-Yen_Tan)\
**Replies:** 2\
**Last updated:** [August 20, 2024, 7:56am UTC](https://forum.ansible.com/t/ansible-builder-installing-collections-and-components-with-no-access-to-galaxy/7974 "2024-08-20T07:56:14Z")

</div>

This is more of a discovery question. I am wanting to use ansible builder in an environment where we have access to a proxied pypi and containter registry (proxied to dockerhub and quay.io but not to ansible-galaxy. Wha…

---

## [Awx.inventory adding variables issue](https://forum.ansible.com/t/awx-inventory-adding-variables-issue/7945)

<div class="topic-metadata">

**Author:** [@richf](https://forum.ansible.com/u/richf)\
**Replies:** 8\
**Last updated:** [August 20, 2024, 7:47am UTC](https://forum.ansible.com/t/awx-inventory-adding-variables-issue/7945 "2024-08-20T07:47:15Z")

</div>

Hi, I am struggling with a playbook to interact with my inventory using the awx.awx collection: When I specify a variable that relates to a previous one it fails as the variable is not defined (i.e. in the context of t…

---

## [Ansible Automation Platform not Syncing with Gitlab project](https://forum.ansible.com/t/ansible-automation-platform-not-syncing-with-gitlab-project/7967)

<div class="topic-metadata">

**Author:** [@asmagana](https://forum.ansible.com/u/asmagana)\
**Replies:** 1\
**Last updated:** [August 20, 2024, 6:55am UTC](https://forum.ansible.com/t/ansible-automation-platform-not-syncing-with-gitlab-project/7967 "2024-08-20T06:55:33Z")

</div>

AAP 2.4 Project not syncing GitLab using PAT and my error is SSL certificate problem: self signed certificate in certificate chain. I really don’t want to disable https and not sure if I download the .pem from the bro…

---

## [Unable to find file with docker\_container exec module](https://forum.ansible.com/t/unable-to-find-file-with-docker-container-exec-module/7953)

<div class="topic-metadata">

**Author:** [@Fred](https://forum.ansible.com/u/Fred)\
**Replies:** 2\
**Last updated:** [August 20, 2024, 6:21am UTC](https://forum.ansible.com/t/unable-to-find-file-with-docker-container-exec-module/7953 "2024-08-20T06:21:49Z")

</div>

Bonjour :wave: My task: - name: "MongoDB Operate | Create user - {{ mongo\_metrics\_exporter\_user }}" community.docker.docker\_container\_exec: container: "{{ app\_name }}-{{ allocation\_id.stdout }}" command: "mon…

---

## [AWX on Kubernetes Automatically Assigning Default Execution Environment Causing Task Failures](https://forum.ansible.com/t/awx-on-kubernetes-automatically-assigning-default-execution-environment-causing-task-failures/7969)

<div class="topic-metadata">

**Author:** [@James](https://forum.ansible.com/u/James)\
**Replies:** 0\
**Last updated:** [August 19, 2024, 11:26pm UTC](https://forum.ansible.com/t/awx-on-kubernetes-automatically-assigning-default-execution-environment-causing-task-failures/7969 "2024-08-19T23:26:29Z")

</div>

HI, I am experiencing an issue with AWX deployed on Kubernetes where new job templates automatically get assigned a default Execution Environment (EE), even when I explicitly do not select any EE during the configuration…

---

## ["AnsiballZ\_setup.py: No such file or directory"](https://forum.ansible.com/t/ansiballz-setup-py-no-such-file-or-directory/7957)

<div class="topic-metadata">

**Author:** [@ggordon-salucro](https://forum.ansible.com/u/ggordon-salucro)\
**Replies:** 0\
**Last updated:** [August 19, 2024, 7:30pm UTC](https://forum.ansible.com/t/ansiballz-setup-py-no-such-file-or-directory/7957 "2024-08-19T19:30:15Z")

</div>

Hey there! I’m upgrading my build agents from Amazon Linux 2 to Amazon Linux 2023. This includes an upgrade from ansible 2.9.23/python 2.7.18 (!!) to ansible 2.15.3/python 3.9.16. I’m getting an error when running the …

---

## [Recursively Copy DIrectories with files that contain variables](https://forum.ansible.com/t/recursively-copy-directories-with-files-that-contain-variables/7303)

<div class="topic-metadata">

**Author:** [@ekim1975](https://forum.ansible.com/u/ekim1975)\
**Replies:** 2\
**Last updated:** [August 19, 2024, 2:34pm UTC](https://forum.ansible.com/t/recursively-copy-directories-with-files-that-contain-variables/7303 "2024-08-19T14:34:07Z")

</div>

So I have under my local “files” ansible folder, directories and files that are the same structure that I want on my target Linux host. ansible.builtin.copy nicely recursively creates all sub directories and files under…

---

## [Os\_client\_config module does not set facts](https://forum.ansible.com/t/os-client-config-module-does-not-set-facts/7922)

<div class="topic-metadata">

**Author:** [@Salvatore\_Mazzarino](https://forum.ansible.com/u/Salvatore_Mazzarino)\
**Replies:** 2\
**Last updated:** [August 19, 2024, 6:42am UTC](https://forum.ansible.com/t/os-client-config-module-does-not-set-facts/7922 "2024-08-19T06:42:56Z")

</div>

I’m using the os\_client\_config openstack module. this is the piece of code where I’m using which comes from OpenStack tenks. - name: Set ironic\_url for os\_ironic module when: lookup('env', 'OS\_CLOUD') | length \> 0 b…

---

## [Tracebacks attempting to collect facts from Juniper ACX-7100-32C device with the juniper.device collection](https://forum.ansible.com/t/tracebacks-attempting-to-collect-facts-from-juniper-acx-7100-32c-device-with-the-juniper-device-collection/7920)

<div class="topic-metadata">

**Author:** [@Ansible\_Ed](https://forum.ansible.com/u/Ansible_Ed)\
**Replies:** 0\
**Last updated:** [August 18, 2024, 4:44pm UTC](https://forum.ansible.com/t/tracebacks-attempting-to-collect-facts-from-juniper-acx-7100-32c-device-with-the-juniper-device-collection/7920 "2024-08-18T16:44:35Z")

</div>

I believe I’ve done most the initial troubleshooting including things like making sure the junos.device collection is installed as well as the pre-requisites like junos-eznc, ncclient, lxml. I am using netconf as the co…

---

## [Nested vs. Flat variables in roles / collections](https://forum.ansible.com/t/nested-vs-flat-variables-in-roles-collections/7897)

<div class="topic-metadata">

**Author:** [@ptoal](https://forum.ansible.com/u/ptoal)\
**Replies:** 2\
**Last updated:** [August 17, 2024, 8:07pm UTC](https://forum.ansible.com/t/nested-vs-flat-variables-in-roles-collections/7897 "2024-08-17T20:07:54Z")

</div>

I’m looking for guidance, pros, cons, etc. around the topic of using nested vs. flat variables for a collection / roles. The example use case will be for a collection of vmware related roles that do operational tasks li…

---

## [Strategy for repeated complex logic between hosts](https://forum.ansible.com/t/strategy-for-repeated-complex-logic-between-hosts/7858)

<div class="topic-metadata">

**Author:** [@LoftyGoals](https://forum.ansible.com/u/LoftyGoals)\
**Replies:** 9\
**Last updated:** [August 16, 2024, 7:14pm UTC](https://forum.ansible.com/t/strategy-for-repeated-complex-logic-between-hosts/7858 "2024-08-16T19:14:49Z")

</div>

I’ve found my “when” clauses are getting too complicated. They involve multiple filters and data from multiple hosts. In any other language I would declare intermediate variables but I can’t get that to work in Ansible. …

---

## [AWX Issue reporting results](https://forum.ansible.com/t/awx-issue-reporting-results/7875)

<div class="topic-metadata">

**Author:** [@beda392](https://forum.ansible.com/u/beda392)\
**Replies:** 6\
**Last updated:** [August 16, 2024, 6:41pm UTC](https://forum.ansible.com/t/awx-issue-reporting-results/7875 "2024-08-16T18:41:31Z")

</div>

Running the AWX operator in AWX and we’ve noticed some times when a job targets a lot of hosts the results of the automation job will not get posted to the webUI or will show pending or running for a very long time when …

---

## [Error: current system boot ID differs from cached boot ID](https://forum.ansible.com/t/error-current-system-boot-id-differs-from-cached-boot-id/7898)

<div class="topic-metadata">

**Author:** [@fs3000](https://forum.ansible.com/u/fs3000)\
**Replies:** 0\
**Last updated:** [August 16, 2024, 4:13pm UTC](https://forum.ansible.com/t/error-current-system-boot-id-differs-from-cached-boot-id/7898 "2024-08-16T16:13:21Z")

</div>

I have tried many versions of AWX. But except on the last versions(1), which fail with another error, i am always getting this error when syncing a project: Error: current system boot ID differs from cached boot ID; a…

---

## [Simulators of network equipment for existing Ansible network modules?](https://forum.ansible.com/t/simulators-of-network-equipment-for-existing-ansible-network-modules/7872)

<div class="topic-metadata">

**Author:** [@jpmens](https://forum.ansible.com/u/jpmens)\
**Replies:** 4\
**Last updated:** [August 16, 2024, 3:09pm UTC](https://forum.ansible.com/t/simulators-of-network-equipment-for-existing-ansible-network-modules/7872 "2024-08-16T15:09:46Z")

</div>

Is there such a thing as a free to use, preferably packaged for Debian, simulator of a, say, Cisco or Juniper router I could use for demonstrations purposes for corresponding and existing Ansible modules? I teach Ansibl…

---

## [1 password item creation](https://forum.ansible.com/t/1-password-item-creation/7871)

<div class="topic-metadata">

**Author:** [@kou](https://forum.ansible.com/u/kou)\
**Replies:** 5\
**Last updated:** [August 16, 2024, 11:35am UTC](https://forum.ansible.com/t/1-password-item-creation/7871 "2024-08-16T11:35:28Z")

</div>

Hello, I’m working on an Ansible script to create items in 1Password using the CLI (op command), but I’m encountering an issue that I can’t resolve. When I run the playbook, I receive the following error: \[ERROR\] 2024/0…

---

## [Sent Email with HIgh Importance](https://forum.ansible.com/t/sent-email-with-high-importance/7870)

<div class="topic-metadata">

**Author:** [@hellboy8171](https://forum.ansible.com/u/hellboy8171)\
**Replies:** 2\
**Last updated:** [August 15, 2024, 2:11pm UTC](https://forum.ansible.com/t/sent-email-with-high-importance/7870 "2024-08-15T14:11:05Z")

</div>

I was trying to send an email with high importance using community.general.mail, below is the script that I’m using. but these are getting skipped. IDK why. If any one have worked with it please help. - hosts: localhos…

---

## [Ansible.controller.import returns OK](https://forum.ansible.com/t/ansible-controller-import-returns-ok/7852)

<div class="topic-metadata">

**Author:** [@itineed2022](https://forum.ansible.com/u/itineed2022)\
**Replies:** 2\
**Last updated:** [August 15, 2024, 12:40pm UTC](https://forum.ansible.com/t/ansible-controller-import-returns-ok/7852 "2024-08-15T12:40:59Z")

</div>

When running an import, I receive a response of OK, even if I changed the assets from an export. # ansible-playbook /Users/me/Documents/Ansible/AnsibleAutomation\_platform/import\_workflow.yaml -vvv --- - name: Import Wor…

---

## [Get\_url defaults to force:false](https://forum.ansible.com/t/get-url-defaults-to-force-false/7866)

<div class="topic-metadata">

**Author:** [@dominik](https://forum.ansible.com/u/dominik)\
**Replies:** 0\
**Last updated:** [August 15, 2024, 8:59am UTC](https://forum.ansible.com/t/get-url-defaults-to-force-false/7866 "2024-08-15T08:59:48Z")

</div>

I noticed that literally every use of get\_url in my playbooks contains the force:true parameter. So I wondered, am I misusing this module, or what is the reason that the Ansible defaults to force:false ? Is there anoth…

[Previous page](https://forum.ansible.com/c/help/6.md?page=62)

[Next page](https://forum.ansible.com/c/help/6.md?page=64)
