# Get Help

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

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

**Page:** 42

---

## [Issue with Code Blocks in antsibull-docs](https://forum.ansible.com/t/issue-with-code-blocks-in-antsibull-docs/40244)

<div class="topic-metadata">

**Author:** [@breleven](https://forum.ansible.com/u/breleven)\
**Replies:** 0\
**Last updated:** [February 13, 2025, 10:01am UTC](https://forum.ansible.com/t/issue-with-code-blocks-in-antsibull-docs/40244 "2025-02-13T10:01:57Z")

</div>

Hi, I have a question about code blocks in antsibull. I use antsibull-docs to create documentation from my roles. In antsibull-docs, I use C() to mark a code block. When I want to write my\_function() in the code block …

---

## [Ansible-runner inside Docker](https://forum.ansible.com/t/ansible-runner-inside-docker/40206)

<div class="topic-metadata">

**Author:** [@iamroddo](https://forum.ansible.com/u/iamroddo)\
**Replies:** 1\
**Last updated:** [February 13, 2025, 6:51am UTC](https://forum.ansible.com/t/ansible-runner-inside-docker/40206 "2025-02-13T06:51:31Z")

</div>

I am exploring the use of ansible-runner. I have been able to get it to run on the CLI on my Mac in my host with env/settings as below … container\_image: ee-29-rhel8 process\_isolation\_executable: docker process\_isolatio…

---

## [How to generate a list of formatted strings](https://forum.ansible.com/t/how-to-generate-a-list-of-formatted-strings/40198)

<div class="topic-metadata">

**Author:** [@ianhinder](https://forum.ansible.com/u/ianhinder)\
**Replies:** 8\
**Last updated:** [February 12, 2025, 10:58pm UTC](https://forum.ansible.com/t/how-to-generate-a-list-of-formatted-strings/40198 "2025-02-12T22:58:09Z")

</div>

I would like to define a variable called test\_users with a list of test usernames: test\_users: - testuser\_001 - testuser\_002 ... - testuser\_100 I would prefer not to type them in by hand, or generate the list a…

---

## [Cannot upload new version of ansible role due to permission issues](https://forum.ansible.com/t/cannot-upload-new-version-of-ansible-role-due-to-permission-issues/40223)

<div class="topic-metadata">

**Author:** [@JesusPaz](https://forum.ansible.com/u/JesusPaz)\
**Replies:** 1\
**Last updated:** [February 12, 2025, 8:59pm UTC](https://forum.ansible.com/t/cannot-upload-new-version-of-ansible-role-due-to-permission-issues/40223 "2025-02-12T20:59:42Z")

</div>

Description: We have an Ansible role (ansible-nodejs-role) created 8 years ago under the NodeSource organization. Back then, authentication was done with a username and password, but now it uses GitHub integration. I tr…

---

## [Need help deleting role namespaces](https://forum.ansible.com/t/need-help-deleting-role-namespaces/40231)

<div class="topic-metadata">

**Author:** [@TimGrt](https://forum.ansible.com/u/TimGrt)\
**Replies:** 2\
**Last updated:** [February 12, 2025, 8:16pm UTC](https://forum.ansible.com/t/need-help-deleting-role-namespaces/40231 "2025-02-12T20:16:22Z")

</div>

Hey, I’m pretty much stuck at the same spot as Adam. I tried to delete my role namespace(s) (i got two, timgrt and TimGrt), which fails with a 405 using the curl command taken from the docs. Removing a role with the cur…

---

## [Ansible-Galaxy Namespace Duplicated Collection Namespace](https://forum.ansible.com/t/ansible-galaxy-namespace-duplicated-collection-namespace/10893)

<div class="topic-metadata">

**Author:** [@ol3d](https://forum.ansible.com/u/ol3d)\
**Replies:** 18\
**Last updated:** [January 15, 2025, 2:18am UTC](https://forum.ansible.com/t/ansible-galaxy-namespace-duplicated-collection-namespace/10893 "2025-01-15T02:18:52Z")

</div>

I imported my first role in Ansible-Galaxy today under the account ol3d which is linked to my Github account. After importing, I noticed that the role shows “Provided by ol3d0” underneath the role name of ol3d.pikvm. Wh…

---

## [Delegate\_to EC2 AWS not working as expected](https://forum.ansible.com/t/delegate-to-ec2-aws-not-working-as-expected/40191)

<div class="topic-metadata">

**Author:** [@bogdops](https://forum.ansible.com/u/bogdops)\
**Replies:** 3\
**Last updated:** [February 12, 2025, 3:28pm UTC](https://forum.ansible.com/t/delegate-to-ec2-aws-not-working-as-expected/40191 "2025-02-12T15:28:06Z")

</div>

Hi I’m trying to install mdatp using this .yml which is run via a .sh where the variables come from. The problem is I don’t succeed in using the delegate\_to: all (so I can run on all the instances under the account) I…

---

## [Error running playbook in awx](https://forum.ansible.com/t/error-running-playbook-in-awx/40095)

<div class="topic-metadata">

**Author:** [@nagumo-yoichi](https://forum.ansible.com/u/nagumo-yoichi)\
**Replies:** 8\
**Last updated:** [February 12, 2025, 8:59am UTC](https://forum.ansible.com/t/error-running-playbook-in-awx/40095 "2025-02-12T08:59:04Z")

</div>

\[WARNING\]: Updating cache and auto-installing missing dependency: python3-apt fatal: \[localhost\]: FAILED! =\> { “changed”: false, “cmd”: “apt-get update”, “invocation”: { “module\_args”: { “allow\_unauthenticated”: fa…

---

## [Get community.general.make task idempotent](https://forum.ansible.com/t/get-community-general-make-task-idempotent/40196)

<div class="topic-metadata">

**Author:** [@Lonerider2010](https://forum.ansible.com/u/Lonerider2010)\
**Replies:** 7\
**Last updated:** [February 11, 2025, 11:38pm UTC](https://forum.ansible.com/t/get-community-general-make-task-idempotent/40196 "2025-02-11T23:38:55Z")

</div>

Currently I try to install the GIMP plugin BIMP via Ansible. So the tasks I want to execute are: git clone the repository https://github.com/alessandrofrancesconi/gimp-plugin-bimp.git change to the gimp-plugin-bimp dir…

---

## [The module hardware was not found in configured module paths](https://forum.ansible.com/t/the-module-hardware-was-not-found-in-configured-module-paths/40185)

<div class="topic-metadata">

**Author:** [@arthurramsey19](https://forum.ansible.com/u/arthurramsey19)\
**Replies:** 3\
**Last updated:** [February 11, 2025, 8:22pm UTC](https://forum.ansible.com/t/the-module-hardware-was-not-found-in-configured-module-paths/40185 "2025-02-11T20:22:51Z")

</div>

I’m using Alpine Linux 3.20.3 with Python 3.12.6 built from source. Ansible versions are ansible==9.2.0 ansible-core==2.16.3. This is my ansible.cfg: \[defaults\]ansible\_managed = Ansible Managedcommand\_warnings = false …

---

## [Using dictionary and json with deserialize in RouterOS](https://forum.ansible.com/t/using-dictionary-and-json-with-deserialize-in-routeros/40171)

<div class="topic-metadata">

**Author:** [@asandres](https://forum.ansible.com/u/asandres)\
**Replies:** 1\
**Last updated:** [February 11, 2025, 7:36pm UTC](https://forum.ansible.com/t/using-dictionary-and-json-with-deserialize-in-routeros/40171 "2025-02-11T19:36:07Z")

</div>

Hello everyone. I’m trying to use a list of dictionaries, then use plug-in “to\_json” to easy configuration. Using key/value, will produce less code and save some time, in my case. The goal is: Get some data from inven…

---

## [Cisco ACL Idempotency Not Working](https://forum.ansible.com/t/cisco-acl-idempotency-not-working/7857)

<div class="topic-metadata">

**Author:** [@asdfnk143](https://forum.ansible.com/u/asdfnk143)\
**Replies:** 8\
**Last updated:** [February 11, 2025, 9:27am UTC](https://forum.ansible.com/t/cisco-acl-idempotency-not-working/7857 "2025-02-11T09:27:29Z")

</div>

I have a simple ACL for a Cisco router. I cannot figure out how to make the playbook idempotent. It always detects a change. - name: Create new vty acl cisco.ios.ios\_config: lines: - 5 permit tcp 172.16.0.0 …

---

## [Generate a certificate for Squid using Ansible](https://forum.ansible.com/t/generate-a-certificate-for-squid-using-ansible/40162)

<div class="topic-metadata">

**Author:** [@microlinux](https://forum.ansible.com/u/microlinux)\
**Replies:** 3\
**Last updated:** [February 11, 2025, 8:42am UTC](https://forum.ansible.com/t/generate-a-certificate-for-squid-using-ansible/40162 "2025-02-11T08:42:10Z")

</div>

Hi, I’m currently writing an Ansible playbook to automate the installation of a router & transparent proxy running Rocky Linux. I already have this configuration running in our local school, though I’ve done the install…

---

## [How can I install additional Python packages and save changes in containers for AAP (2.4)?](https://forum.ansible.com/t/how-can-i-install-additional-python-packages-and-save-changes-in-containers-for-aap-2-4/40146)

<div class="topic-metadata">

**Author:** [@jzhang2006](https://forum.ansible.com/u/jzhang2006)\
**Replies:** 3\
**Last updated:** [February 10, 2025, 11:26pm UTC](https://forum.ansible.com/t/how-can-i-install-additional-python-packages-and-save-changes-in-containers-for-aap-2-4/40146 "2025-02-10T23:26:27Z")

</div>

I installed AAP 2.4 containerized in a Linux VM (VMWare Workstation, redhat 8). It works fine. But I do need to install an additional Pythin package, in my case it is PyU4V for Dell PowerMax storage ansible modules. I am…

---

## [Ansible to get info from all Cisco switches in a stack](https://forum.ansible.com/t/ansible-to-get-info-from-all-cisco-switches-in-a-stack/40160)

<div class="topic-metadata">

**Author:** [@mjensen](https://forum.ansible.com/u/mjensen)\
**Replies:** 0\
**Last updated:** [February 10, 2025, 7:23pm UTC](https://forum.ansible.com/t/ansible-to-get-info-from-all-cisco-switches-in-a-stack/40160 "2025-02-10T19:23:51Z")

</div>

Hello, I need to obtain information on many Cisco Catalyst switches, including, hostname, serial number, and model # and export it to a csv. I can do that with the playbook I have below. The problem I am having is tha…

---

## [How to define "ANSIBLE\_PYTHON\_INTERPRETER" in docker-compose.yml](https://forum.ansible.com/t/how-to-define-ansible-python-interpreter-in-docker-compose-yml/40152)

<div class="topic-metadata">

**Author:** [@aristosv](https://forum.ansible.com/u/aristosv)\
**Replies:** 1\
**Last updated:** [February 10, 2025, 6:09pm UTC](https://forum.ansible.com/t/how-to-define-ansible-python-interpreter-in-docker-compose-yml/40152 "2025-02-10T18:09:26Z")

</div>

I’m having second thoughts asking this question here, since it might be a semaphore question, not ansible, but semaphore is a great way of getting started with ansible so I’m taking my chances. This is how I installed s…

---

## [Ansible WinRM Kerberos Authentication](https://forum.ansible.com/t/ansible-winrm-kerberos-authentication/40026)

<div class="topic-metadata">

**Author:** [@Fragger\_Lagger](https://forum.ansible.com/u/Fragger_Lagger)\
**Replies:** 10\
**Last updated:** [February 10, 2025, 3:39pm UTC](https://forum.ansible.com/t/ansible-winrm-kerberos-authentication/40026 "2025-02-10T15:39:08Z")

</div>

Hi, I am trying to run win\_ping module using the adhoc command through ansible against domain controller through winrm and kerberos authentication. Issue is when I create an Environment Variable KRB5\_CONFIG=/tmp/krb5.co…

---

## [Issue with Running Docker Compose on Windows via Ansible from Ubuntu](https://forum.ansible.com/t/issue-with-running-docker-compose-on-windows-via-ansible-from-ubuntu/40123)

<div class="topic-metadata">

**Author:** [@rumeysa\_yuk](https://forum.ansible.com/u/rumeysa_yuk)\
**Replies:** 7\
**Last updated:** [February 10, 2025, 6:25am UTC](https://forum.ansible.com/t/issue-with-running-docker-compose-on-windows-via-ansible-from-ubuntu/40123 "2025-02-10T06:25:59Z")

</div>

I am trying to manage a Windows machine from Ubuntu using Ansible. I am able to successfully transfer my target files, including Docker Compose files, to the Windows machine. However, when I try to start the Docker Compo…

---

## [Tower\_cli.cfg is not applied](https://forum.ansible.com/t/tower-cli-cfg-is-not-applied/39506)

<div class="topic-metadata">

**Author:** [@yoonmin1030](https://forum.ansible.com/u/yoonmin1030)\
**Replies:** 4\
**Last updated:** [February 8, 2025, 3:58am UTC](https://forum.ansible.com/t/tower-cli-cfg-is-not-applied/39506 "2025-02-08T03:58:59Z")

</div>

I am testing controller\_api module on a playbook. example playbook - name: debug all organizations in a loop # use query to return a list debug: msg: "Organization description={{ item\['description'\] }} id={{ ite…

---

## [\`ansible.builtin.shell\`: Python script completes but the Ansible Controller doesn't see it finish](https://forum.ansible.com/t/ansible-builtin-shell-python-script-completes-but-the-ansible-controller-doesnt-see-it-finish/40056)

<div class="topic-metadata">

**Author:** [@beaver](https://forum.ansible.com/u/beaver)\
**Replies:** 2\
**Last updated:** [February 7, 2025, 4:10pm UTC](https://forum.ansible.com/t/ansible-builtin-shell-python-script-completes-but-the-ansible-controller-doesnt-see-it-finish/40056 "2025-02-07T16:10:28Z")

</div>

Ansible version: ansible \[core 2.17.7\] Python version: python version = 3.10.12 (main, Jan 17 2025, 14:35:34) \[GCC 11.4.0\] (/usr/bin/python3) Target machine: Ubuntu 24.04, Python 3.12 I have this Ansible playbook to e…

---

## [Setting check mode in ansible-playbook execution with env var](https://forum.ansible.com/t/setting-check-mode-in-ansible-playbook-execution-with-env-var/40114)

<div class="topic-metadata">

**Author:** [@iamroddo](https://forum.ansible.com/u/iamroddo)\
**Replies:** 1\
**Last updated:** [February 7, 2025, 4:02pm UTC](https://forum.ansible.com/t/setting-check-mode-in-ansible-playbook-execution-with-env-var/40114 "2025-02-07T16:02:56Z")

</div>

Is there a way to trigger a playbook to be executed with check mode using an environment variable? To put it another way, can an env var be set to be the equivalent of the flag --check on ansible-playbook?

---

## [Cannot figure out how to add items to dictionary properly and send consolidated email](https://forum.ansible.com/t/cannot-figure-out-how-to-add-items-to-dictionary-properly-and-send-consolidated-email/40110)

<div class="topic-metadata">

**Author:** [@stipemd](https://forum.ansible.com/u/stipemd)\
**Replies:** 3\
**Last updated:** [February 7, 2025, 3:10pm UTC](https://forum.ansible.com/t/cannot-figure-out-how-to-add-items-to-dictionary-properly-and-send-consolidated-email/40110 "2025-02-07T15:10:06Z")

</div>

I’m not good with Ansible and have been working with this playbook mess for a while now. My goal is to pull a list of Sudo users in Ubuntu servers and put them all in a single dictionary object which would get emailed t…

---

## [SSH Pass Authentication Error: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).", "unreachable": true](https://forum.ansible.com/t/ssh-pass-authentication-error-permission-denied-publickey-gssapi-keyex-gssapi-with-mic-password-unreachable-true/40116)

<div class="topic-metadata">

**Author:** [@Courtney\_Poles](https://forum.ansible.com/u/Courtney_Poles)\
**Replies:** 1\
**Last updated:** [February 7, 2025, 10:57am UTC](https://forum.ansible.com/t/ssh-pass-authentication-error-permission-denied-publickey-gssapi-keyex-gssapi-with-mic-password-unreachable-true/40116 "2025-02-07T10:57:51Z")

</div>

I am trying to use SSH pass to authenticate and then run a playbook via GitHub Actions (GHA) and am encountering the following error: encountered an authentication error fatal: \[airflowdev\]: UNREACHABLE! =\> {"changed": …

---

## [ANSIBLE\_STDOUT\_CALLBACK json with Ansible 2.9](https://forum.ansible.com/t/ansible-stdout-callback-json-with-ansible-2-9/40104)

<div class="topic-metadata">

**Author:** [@iamroddo](https://forum.ansible.com/u/iamroddo)\
**Replies:** 2\
**Last updated:** [February 7, 2025, 4:19am UTC](https://forum.ansible.com/t/ansible-stdout-callback-json-with-ansible-2-9/40104 "2025-02-07T04:19:02Z")

</div>

Hi All, For reasons of extreme inertia, for certain use cases Ansible 2.9.27 is used in my organisation, something I’m working to change but it is what it is. I have seen when I set ANSIBLE\_STDOUT\_CALLBACK to “json” whi…

---

## [Using Ansible 2.15 and Python 3.9 with AWX 17.1.0 for Specific Playbooks](https://forum.ansible.com/t/using-ansible-2-15-and-python-3-9-with-awx-17-1-0-for-specific-playbooks/40099)

<div class="topic-metadata">

**Author:** [@Angelo\_Gagliardi](https://forum.ansible.com/u/Angelo_Gagliardi)\
**Replies:** 0\
**Last updated:** [February 6, 2025, 9:07am UTC](https://forum.ansible.com/t/using-ansible-2-15-and-python-3-9-with-awx-17-1-0-for-specific-playbooks/40099 "2025-02-06T09:07:39Z")

</div>

Using Ansible 2.15 and Python 3.9 with AWX 17.1.0 for Specific Playbooks Hi everyone! I’m using AWX version 17.1.0 with Ansible 2.9.18. I need to run some playbooks that require Ansible 2.15, Python 3.9, pynautobot (2.…

---

## [Control nodes in AWX job execution](https://forum.ansible.com/t/control-nodes-in-awx-job-execution/39978)

<div class="topic-metadata">

**Author:** [@autonomous](https://forum.ansible.com/u/autonomous)\
**Replies:** 3\
**Last updated:** [February 5, 2025, 2:15pm UTC](https://forum.ansible.com/t/control-nodes-in-awx-job-execution/39978 "2025-02-05T14:15:50Z")

</div>

I have AWX deployed with awx-operator in 3-4 different region k8s clusters with a single backend database. The issue is by default awx-task pods of all 3 regions are added to the control plane instance group, and it can…

---

## [Ansible-lint --fix](https://forum.ansible.com/t/ansible-lint-fix/39983)

<div class="topic-metadata">

**Author:** [@bitozoid](https://forum.ansible.com/u/bitozoid)\
**Replies:** 4\
**Last updated:** [February 4, 2025, 9:42am UTC](https://forum.ansible.com/t/ansible-lint-fix/39983 "2025-02-04T09:42:36Z")

</div>

Hi! I’m trying to set up my developing environment with LazyVim with ansible enabled. Afaik it installs ansible-lint and sets up ansible-language-server. When I save a file, it seems to run some reformatter. I would sa…

---

## [Two problems with ansible-pull](https://forum.ansible.com/t/two-problems-with-ansible-pull/39953)

<div class="topic-metadata">

**Author:** [@microlinux](https://forum.ansible.com/u/microlinux)\
**Replies:** 3\
**Last updated:** [February 4, 2025, 6:46pm UTC](https://forum.ansible.com/t/two-problems-with-ansible-pull/39953 "2025-02-04T18:46:06Z")

</div>

Hi, I’d like to use ansible-pull to manage two servers and three desktops in my local network. I’ve read an excellent (though a bit outdated) tutorial about ansible-pull, and it seems like the right fit for my use case. …

---

## [Regex for catching null-byte string](https://forum.ansible.com/t/regex-for-catching-null-byte-string/40038)

<div class="topic-metadata">

**Author:** [@EasyMoney322](https://forum.ansible.com/u/EasyMoney322)\
**Replies:** 1\
**Last updated:** [February 4, 2025, 3:41pm UTC](https://forum.ansible.com/t/regex-for-catching-null-byte-string/40038 "2025-02-04T15:41:39Z")

</div>

Hello, I’ve a file that may or may not be start with line filled with null-bytes (\\u0000\\u0000…). I’ve written a conditional that was supposed to catch it positions\['content'\] | b64decode | regex\_search('^\\\\0+$') But…

---

## [Using 'jc' parser in 'ansible.utils.cli\_parse' module](https://forum.ansible.com/t/using-jc-parser-in-ansible-utils-cli-parse-module/39999)

<div class="topic-metadata">

**Author:** [@iamroddo](https://forum.ansible.com/u/iamroddo)\
**Replies:** 4\
**Last updated:** [February 4, 2025, 7:00am UTC](https://forum.ansible.com/t/using-jc-parser-in-ansible-utils-cli-parse-module/39999 "2025-02-04T07:00:28Z")

</div>

I’d like to use the ‘jc’ parser in the module ‘ansible.utils.cli\_parse’ but I cannot figure out to set the jc specific parser in the module parameter. When I try the following … - ansible.utils.cli\_parse: c…

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

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