# Get Help

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

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

**Page:** 44

---

## [AAP 2.4 to AAP 2.5 upgrade error: Migrate the gateway database schema](https://forum.ansible.com/t/aap-2-4-to-aap-2-5-upgrade-error-migrate-the-gateway-database-schema/39642)

<div class="topic-metadata">

**Author:** [@Daveops](https://forum.ansible.com/u/Daveops)\
**Replies:** 1\
**Last updated:** [January 28, 2025, 8:54am UTC](https://forum.ansible.com/t/aap-2-4-to-aap-2-5-upgrade-error-migrate-the-gateway-database-schema/39642 "2025-01-28T08:54:08Z")

</div>

Getting the following error when upgrading aap 2.4 to aap 2.5 TASK \[ansible.automation\_platform\_installer.automationgateway : Migrate the gateway database schema\] \*\*\* fatal: \[10.204.16.18\]: FAILED! =\> {“changed”: true,…

---

## [Cisco ASA issue](https://forum.ansible.com/t/cisco-asa-issue/39873)

<div class="topic-metadata">

**Author:** [@tuanama00](https://forum.ansible.com/u/tuanama00)\
**Replies:** 0\
**Last updated:** [January 28, 2025, 2:21am UTC](https://forum.ansible.com/t/cisco-asa-issue/39873 "2025-01-28T02:21:39Z")

</div>

Hi, I’m trying to connect ansible with Cisco ASA ‘’’ \[root@ansible Ansible\]# ansible wom\_bog\_agg\_bog -i ./inventories/ -m cisco.asa.asa\_command -a “commands=‘show version’” wom\_bog\_agg\_bog | UNREACHABLE! =\> { “chang…

---

## [Playbook fails using "dict2items"](https://forum.ansible.com/t/playbook-fails-using-dict2items/39812)

<div class="topic-metadata">

**Author:** [@DarkPhily](https://forum.ansible.com/u/DarkPhily)\
**Replies:** 5\
**Last updated:** [January 27, 2025, 4:15pm UTC](https://forum.ansible.com/t/playbook-fails-using-dict2items/39812 "2025-01-27T16:15:01Z")

</div>

Hi :wave: I have issues with dict2items. It fails on my proxmox ubuntu VMs. The test playbook I use is following: - name: Test loop with lists hosts: localhost gather\_facts: no vars: test: test\_key\_1: …

---

## [Include playbook but limit to specific host](https://forum.ansible.com/t/include-playbook-but-limit-to-specific-host/39816)

<div class="topic-metadata">

**Author:** [@romgo](https://forum.ansible.com/u/romgo)\
**Replies:** 7\
**Last updated:** [January 27, 2025, 3:22pm UTC](https://forum.ansible.com/t/include-playbook-but-limit-to-specific-host/39816 "2025-01-27T15:22:03Z")

</div>

Hello, I have a common.yml playbook which manage all the system default ( resolv.conf, snmp, ntp…) which must be call for all servers so the code look like this : --- - name: Commons conf hosts: all gather\_facts: t…

---

## [Build custom AWX image for production](https://forum.ansible.com/t/build-custom-awx-image-for-production/39155)

<div class="topic-metadata">

**Author:** [@bpmb82](https://forum.ansible.com/u/bpmb82)\
**Replies:** 3\
**Last updated:** [January 27, 2025, 2:49pm UTC](https://forum.ansible.com/t/build-custom-awx-image-for-production/39155 "2025-01-27T14:49:33Z")

</div>

Hi there! I forked the AWX repo and added support for Bitbucket Cloud webhooks and credentials: awx-plugins: Added bitbucket\_cloud\_token to credential plugins by bpmb82 · Pull Request #70 · ansible/awx-plugins · GitHub …

---

## [Random\_string can't build my password policy](https://forum.ansible.com/t/random-string-cant-build-my-password-policy/39846)

<div class="topic-metadata">

**Author:** [@hoffmann](https://forum.ansible.com/u/hoffmann)\
**Replies:** 0\
**Last updated:** [January 27, 2025, 9:28am UTC](https://forum.ansible.com/t/random-string-cant-build-my-password-policy/39846 "2025-01-27T09:28:49Z")

</div>

Would it be possible to request a update to community.general.random\_string and include “MaxConsecutiveCharacters” and “MaxInstancesOfAnyCharacter”? rand\_password: "{{ lookup('community.general.random\_string', length=24…

---

## [Delegate\_to play on awx](https://forum.ansible.com/t/delegate-to-play-on-awx/39786)

<div class="topic-metadata">

**Author:** [@Daniele\_Trabucco](https://forum.ansible.com/u/Daniele_Trabucco)\
**Replies:** 5\
**Last updated:** [January 26, 2025, 9:21pm UTC](https://forum.ansible.com/t/delegate-to-play-on-awx/39786 "2025-01-26T21:21:43Z")

</div>

I have a playbook that copies files to remote hosts whose hostnames are dynamically derived in the playbook. if the play is run from the control node it works perfectly if I run from awx I get an error on the delegation …

---

## [Task doesn't "complete" with any result during second play run](https://forum.ansible.com/t/task-doesnt-complete-with-any-result-during-second-play-run/39810)

<div class="topic-metadata">

**Author:** [@stipemd](https://forum.ansible.com/u/stipemd)\
**Replies:** 7\
**Last updated:** [January 24, 2025, 6:53pm UTC](https://forum.ansible.com/t/task-doesnt-complete-with-any-result-during-second-play-run/39810 "2025-01-24T18:53:32Z")

</div>

I’m a newbie with Ansible and I’m sure this is probably some feature of it but I can’t figure out what it is. I have a playbook to copy a package from the controller to a host unpack/install the file The first time I…

---

## [For single host/target, how we can run multiple commands via loop in parallel](https://forum.ansible.com/t/for-single-host-target-how-we-can-run-multiple-commands-via-loop-in-parallel/39790)

<div class="topic-metadata">

**Author:** [@Dushyantk](https://forum.ansible.com/u/Dushyantk)\
**Replies:** 12\
**Last updated:** [January 24, 2025, 6:26pm UTC](https://forum.ansible.com/t/for-single-host-target-how-we-can-run-multiple-commands-via-loop-in-parallel/39790 "2025-01-24T18:26:17Z")

</div>

I am looking for running multiple commands on single target via loop. However i noticed commands runs in serial manner instead of parallel. Is it possible to make loop to run in parallel rather waiting for each loop to…

---

## [Ansible-pull systemd unit fails](https://forum.ansible.com/t/ansible-pull-systemd-unit-fails/39298)

<div class="topic-metadata">

**Author:** [@Hipska](https://forum.ansible.com/u/Hipska)\
**Replies:** 4\
**Last updated:** [January 24, 2025, 3:30pm UTC](https://forum.ansible.com/t/ansible-pull-systemd-unit-fails/39298 "2025-01-24T15:30:58Z")

</div>

I now have the very weird problem ansible-pull works perfectly fine as user ansible, but when doing the same from a systemd service fails without any useful logs apart from this: systemd\[1\]: ansible-pull.service: Main p…

---

## [Ansible.builtin.dnf parameter defaults for all tasks (for install\_weak\_deps)](https://forum.ansible.com/t/ansible-builtin-dnf-parameter-defaults-for-all-tasks-for-install-weak-deps/39803)

<div class="topic-metadata">

**Author:** [@cloos](https://forum.ansible.com/u/cloos)\
**Replies:** 2\
**Last updated:** [January 24, 2025, 9:00am UTC](https://forum.ansible.com/t/ansible-builtin-dnf-parameter-defaults-for-all-tasks-for-install-weak-deps/39803 "2025-01-24T09:00:24Z")

</div>

We have configured all our hosts in /etc/dnf/dnf.conf to not install weak deps (install\_weak\_deps=False). Sadly I learned that the Ansible ansible.builtin.dnf ignores this configuration and set install\_weak\_deps by defa…

---

## [Get data from Cisco Catalyst Center using Ansible](https://forum.ansible.com/t/get-data-from-cisco-catalyst-center-using-ansible/39784)

<div class="topic-metadata">

**Author:** [@pusaklazoss](https://forum.ansible.com/u/pusaklazoss)\
**Replies:** 1\
**Last updated:** [January 23, 2025, 2:41pm UTC](https://forum.ansible.com/t/get-data-from-cisco-catalyst-center-using-ansible/39784 "2025-01-23T14:41:25Z")

</div>

I am trying to get some info out of Cisco Catalyst center using Ansible. I followed This tutorial.. As far as I can tell everything is installed correctly. Im using Cisco sandbox for the Catalyst center and VPN is conn…

---

## [Pulling list of content views from satellite using ansible](https://forum.ansible.com/t/pulling-list-of-content-views-from-satellite-using-ansible/39761)

<div class="topic-metadata">

**Author:** [@Haggis](https://forum.ansible.com/u/Haggis)\
**Replies:** 1\
**Last updated:** [January 23, 2025, 1:39pm UTC](https://forum.ansible.com/t/pulling-list-of-content-views-from-satellite-using-ansible/39761 "2025-01-23T13:39:38Z")

</div>

I am trying to create an ansible playbook that pulls down a list of content views from satellite, then creates new versions of the content views. Creating new versions of the content views is easy, but trying to get a s…

---

## [Ansible conf file issue](https://forum.ansible.com/t/ansible-conf-file-issue/39691)

<div class="topic-metadata">

**Author:** [@tuanama00](https://forum.ansible.com/u/tuanama00)\
**Replies:** 7\
**Last updated:** [January 22, 2025, 8:54pm UTC](https://forum.ansible.com/t/ansible-conf-file-issue/39691 "2025-01-22T20:54:59Z")

</div>

Hi, I’m trying to config ansible file with path of playbook, work ok with inventory with no recognize ansible playbook dir ‘’’ root@ansible Ansible\]# ansible-config view \[defaults\] inventory = ./inventories/ remot…

---

## [List all installed packages](https://forum.ansible.com/t/list-all-installed-packages/39759)

<div class="topic-metadata">

**Author:** [@ravindrakal](https://forum.ansible.com/u/ravindrakal)\
**Replies:** 2\
**Last updated:** [January 22, 2025, 5:48pm UTC](https://forum.ansible.com/t/list-all-installed-packages/39759 "2025-01-22T17:48:24Z")

</div>

I need help regarding list of all installed packages and same can be saved in .csv file.

---

## [Regex\_replace behavior changes when multi-line string used](https://forum.ansible.com/t/regex-replace-behavior-changes-when-multi-line-string-used/39767)

<div class="topic-metadata">

**Author:** [@pabigot](https://forum.ansible.com/u/pabigot)\
**Replies:** 1\
**Last updated:** [January 22, 2025, 3:27pm UTC](https://forum.ansible.com/t/regex-replace-behavior-changes-when-multi-line-string-used/39767 "2025-01-22T15:27:27Z")

</div>

Using Ansible 2.18.1 core, this command: ansible-playbook repro.yml with this playbook: - name: Run the test play hosts: 127.0.0.1 connection: local tasks: - name: Map issue delegate\_to: localhost …

---

## [Unknown Error occurred: Could not run transaction](https://forum.ansible.com/t/unknown-error-occurred-could-not-run-transaction/39764)

<div class="topic-metadata">

**Author:** [@kmcculla](https://forum.ansible.com/u/kmcculla)\
**Replies:** 0\
**Last updated:** [January 22, 2025, 12:03pm UTC](https://forum.ansible.com/t/unknown-error-occurred-could-not-run-transaction/39764 "2025-01-22T12:03:31Z")

</div>

Workstation: Packer v1.11.2 ansible \[core 2.16.3\] config file = /etc/ansible/ansible.cfg configured module search path = \[‘/home/citadel/.ansible/plugins/modules’, ‘/usr/share/ansible/plugins/modules’\] ansible pytho…

---

## [How do I get Ansible to load /snap/bin? I've tried everything, can't get it to work](https://forum.ansible.com/t/how-do-i-get-ansible-to-load-snap-bin-ive-tried-everything-cant-get-it-to-work/39752)

<div class="topic-metadata">

**Author:** [@CodeBradley](https://forum.ansible.com/u/CodeBradley)\
**Replies:** 2\
**Last updated:** [January 21, 2025, 10:23pm UTC](https://forum.ansible.com/t/how-do-i-get-ansible-to-load-snap-bin-ive-tried-everything-cant-get-it-to-work/39752 "2025-01-21T22:23:56Z")

</div>

tl;dr: How do I get my environment variables to load with /snap/bin added? Here’s a test block that I added to my playbook to try and add /snap/bin to my PATH, which I want Ansible to load thereafter. I’ve seen this rec…

---

## [Role variables not properly scoped: subsequent roles inherit variables from previous roles instead of loading their own](https://forum.ansible.com/t/role-variables-not-properly-scoped-subsequent-roles-inherit-variables-from-previous-roles-instead-of-loading-their-own/39749)

<div class="topic-metadata">

**Author:** [@imcnish](https://forum.ansible.com/u/imcnish)\
**Replies:** 4\
**Last updated:** [January 21, 2025, 9:23pm UTC](https://forum.ansible.com/t/role-variables-not-properly-scoped-subsequent-roles-inherit-variables-from-previous-roles-instead-of-loading-their-own/39749 "2025-01-21T21:23:57Z")

</div>

According to Ansible’s variable precedence rules, variables defined in a role’s vars/main.yml should be scoped to that role. However, when multiple roles define the same variable name, a later role appears to inherit t…

---

## [We want to patch all server(windows and linux) with server updates, third party updates and office updates thorugh linux. is there any possibilities. please help me](https://forum.ansible.com/t/we-want-to-patch-all-server-windows-and-linux-with-server-updates-third-party-updates-and-office-updates-thorugh-linux-is-there-any-possibilities-please-help-me/39731)

<div class="topic-metadata">

**Author:** [@ramakrishna](https://forum.ansible.com/u/ramakrishna)\
**Replies:** 2\
**Last updated:** [January 21, 2025, 5:57pm UTC](https://forum.ansible.com/t/we-want-to-patch-all-server-windows-and-linux-with-server-updates-third-party-updates-and-office-updates-thorugh-linux-is-there-any-possibilities-please-help-me/39731 "2025-01-21T17:57:51Z")

</div>

we want to patch all server(windows and linux) with server updates, third party updates and office updates thorugh linux. is there any possibilities. please help me

---

## [Issue with Custom CA Certs](https://forum.ansible.com/t/issue-with-custom-ca-certs/39736)

<div class="topic-metadata">

**Author:** [@Manngunner](https://forum.ansible.com/u/Manngunner)\
**Replies:** 3\
**Last updated:** [January 21, 2025, 5:34pm UTC](https://forum.ansible.com/t/issue-with-custom-ca-certs/39736 "2025-01-21T17:34:59Z")

</div>

I have installed AWX operator on minikube following the guide here. I am fairly new to minikube/k8s so please forgive my ignorance. My system is in an offline environment so I have had to take the steps below to set it…

---

## [Json\_query/jmespath help with JSON output of ansible-playbook execution](https://forum.ansible.com/t/json-query-jmespath-help-with-json-output-of-ansible-playbook-execution/39733)

<div class="topic-metadata">

**Author:** [@iamroddo](https://forum.ansible.com/u/iamroddo)\
**Replies:** 1\
**Last updated:** [January 21, 2025, 12:52pm UTC](https://forum.ansible.com/t/json-query-jmespath-help-with-json-output-of-ansible-playbook-execution/39733 "2025-01-21T12:52:44Z")

</div>

I am looking to do some meta analysis of the execution of a playbook by setting stdout\_callback = json in ansible.cfg and analysing the output. Specifically I’d like to extract a list of tasks and whether for each host …

---

## [Small (tiny?) example module and service which use a httpapi connection?](https://forum.ansible.com/t/small-tiny-example-module-and-service-which-use-a-httpapi-connection/2868)

<div class="topic-metadata">

**Author:** [@jpmens](https://forum.ansible.com/u/jpmens)\
**Replies:** 2\
**Last updated:** [January 21, 2025, 10:42am UTC](https://forum.ansible.com/t/small-tiny-example-module-and-service-which-use-a-httpapi-connection/2868 "2025-01-21T10:42:46Z")

</div>

Does anybody have a very basic (demo-style) implementation of an Ansible module and associated Python back-end service which use a connection: httpapi? During trainings I’d like to be able to demonstrate a play with a t…

---

## [Ansible-galaxy role import results in internal server error](https://forum.ansible.com/t/ansible-galaxy-role-import-results-in-internal-server-error/2812)

<div class="topic-metadata">

**Author:** [@lkiesow](https://forum.ansible.com/u/lkiesow)\
**Replies:** 1\
**Last updated:** [January 21, 2025, 6:17am UTC](https://forum.ansible.com/t/ansible-galaxy-role-import-results-in-internal-server-error/2812 "2025-01-21T06:17:44Z")

</div>

I’m currently trying (and failing) to update one of my roles in Galaxy: ❯ ansible-galaxy role import --token "${TOKEN}" --role-name uos.smb\_backup virtuos smb\_backup ERROR! None (HTTP Code: 500, Message: …

---

## [How do you build from devel and include custom\_credential plugins?](https://forum.ansible.com/t/how-do-you-build-from-devel-and-include-custom-credential-plugins/39723)

<div class="topic-metadata">

**Author:** [@chrisl](https://forum.ansible.com/u/chrisl)\
**Replies:** 0\
**Last updated:** [January 20, 2025, 7:14pm UTC](https://forum.ansible.com/t/how-do-you-build-from-devel-and-include-custom-credential-plugins/39723 "2025-01-20T19:14:26Z")

</div>

I wrote a custom credential plugin and was able to get it working fine in the old non-container based installs of Tower. While trying to also validate against the new AWX container-based installs I’ve been running into …

---

## [Could not find imported module support code for version](https://forum.ansible.com/t/could-not-find-imported-module-support-code-for-version/39664)

<div class="topic-metadata">

**Author:** [@Marcin](https://forum.ansible.com/u/Marcin)\
**Replies:** 7\
**Last updated:** [January 20, 2025, 6:57pm UTC](https://forum.ansible.com/t/could-not-find-imported-module-support-code-for-version/39664 "2025-01-20T18:57:00Z")

</div>

Hi Team, I preparing my test laboratory for a students for incoming sessions and first time I have faced a issue that I really dont know from where it came from… Anyway… We will trying prepare a host for a Oracle data…

---

## [Issues upgrading from AAP 2.4 to AAP 2.5 on a Single Node (Server) deployment](https://forum.ansible.com/t/issues-upgrading-from-aap-2-4-to-aap-2-5-on-a-single-node-server-deployment/39546)

<div class="topic-metadata">

**Author:** [@JVM-Steel1970](https://forum.ansible.com/u/JVM-Steel1970)\
**Replies:** 3\
**Last updated:** [January 20, 2025, 6:05pm UTC](https://forum.ansible.com/t/issues-upgrading-from-aap-2-4-to-aap-2-5-on-a-single-node-server-deployment/39546 "2025-01-20T18:05:17Z")

</div>

I been researching whether or not AAP 2.5 will run on a Single Node Server and have read conflicting reports…I am hoping someone has been able to get AAP 2.5 running on a Single Server System. The name of my Server is “f…

---

## [Galaxy NG : looking for documentation to configure keycloak](https://forum.ansible.com/t/galaxy-ng-looking-for-documentation-to-configure-keycloak/11262)

<div class="topic-metadata">

**Author:** [@stanlog](https://forum.ansible.com/u/stanlog)\
**Replies:** 0\
**Last updated:** [December 2, 2024, 12:52pm UTC](https://forum.ansible.com/t/galaxy-ng-looking-for-documentation-to-configure-keycloak/11262 "2024-12-02T12:52:53Z")

</div>

Hello, I’m trying to configure Galaxy NG + Keycloak with quay’s galaxy container + docker compose, but information in Galaxy documentation isn’t clear. Is there anything I missed in this documentation, or in Pulp’s one…

---

## [Configuring OpenStack Credentials for AWX (multidomain)](https://forum.ansible.com/t/configuring-openstack-credentials-for-awx-multidomain/39313)

<div class="topic-metadata">

**Author:** [@matzmz](https://forum.ansible.com/u/matzmz)\
**Replies:** 1\
**Last updated:** [January 20, 2025, 4:09pm UTC](https://forum.ansible.com/t/configuring-openstack-credentials-for-awx-multidomain/39313 "2025-01-20T16:09:14Z")

</div>

Hi everyone, I’m having trouble configuring OpenStack credentials in AWX. Here’s the setup I’m working with: I have the following domains: +----------------------------------+------------------+---------+-------------…

---

## [Ansible is asking for sudo password after updating Visudo?](https://forum.ansible.com/t/ansible-is-asking-for-sudo-password-after-updating-visudo/39694)

<div class="topic-metadata">

**Author:** [@shanemhartley](https://forum.ansible.com/u/shanemhartley)\
**Replies:** 3\
**Last updated:** [January 20, 2025, 3:49pm UTC](https://forum.ansible.com/t/ansible-is-asking-for-sudo-password-after-updating-visudo/39694 "2025-01-20T15:49:44Z")

</div>

Here is my ansible.cfg Ansible default parameters \[defaults\] inventory = ./inventory private\_key\_file = /path/to/private\_key collections\_paths = /path/to/collections roles\_path = /path/to/roles forks = 50 stdout\_c…

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

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