# Get Help

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

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

**Page:** 35

---

## [How to import host/group specific files into roles](https://forum.ansible.com/t/how-to-import-host-group-specific-files-into-roles/41375)

<div class="topic-metadata">

**Author:** [@Sameer\_Modak](https://forum.ansible.com/u/Sameer_Modak)\
**Replies:** 3\
**Last updated:** [April 1, 2025, 1:31pm UTC](https://forum.ansible.com/t/how-to-import-host-group-specific-files-into-roles/41375 "2025-04-01T13:31:59Z")

</div>

Hello Team, I am using role to install the kafka. I need help in using environment specific files from roles directory to the ansible code and eventually deployed onto the servers. For example we have some files which …

---

## [Mapping Netbox Value to ansible\_host](https://forum.ansible.com/t/mapping-netbox-value-to-ansible-host/41389)

<div class="topic-metadata">

**Author:** [@hagen\_bauer\_regioit](https://forum.ansible.com/u/hagen_bauer_regioit)\
**Replies:** 4\
**Last updated:** [April 1, 2025, 10:51am UTC](https://forum.ansible.com/t/mapping-netbox-value-to-ansible-host/41389 "2025-04-01T10:51:41Z")

</div>

I have successfully connected my ansible playbook to a netbox host. Within this netbox installation i want to manage the IP address of a host in a custom field. (I understand that it should be done via interfaces but cre…

---

## [How can I "slim down" a complex loop result?](https://forum.ansible.com/t/how-can-i-slim-down-a-complex-loop-result/41427)

<div class="topic-metadata">

**Author:** [@halloleo](https://forum.ansible.com/u/halloleo)\
**Replies:** 3\
**Last updated:** [April 1, 2025, 7:50am UTC](https://forum.ansible.com/t/how-can-i-slim-down-a-complex-loop-result/41427 "2025-04-01T07:50:23Z")

</div>

When I run the following action: - name: Find extension file names from given starting string patterns ansible.builtin.find: paths: /my/dir/with/vsix\_file patterns: "{{ item }}\*.vsix" reg…

---

## [So confused - tox for ansible-lint only (solved)](https://forum.ansible.com/t/so-confused-tox-for-ansible-lint-only-solved/41438)

<div class="topic-metadata">

**Author:** [@Jeff\_Pullen](https://forum.ansible.com/u/Jeff_Pullen)\
**Replies:** 0\
**Last updated:** [April 1, 2025, 3:38am UTC](https://forum.ansible.com/t/so-confused-tox-for-ansible-lint-only-solved/41438 "2025-04-01T03:38:23Z")

</div>

I can’t wrap my head around how to use tox to just run ansible-lint against a collection that doesn’t have any plugins to build and test. It seems like it should be simple but the I can’t seem to get the right mix of con…

---

## [Getting error "No python interpreters found for host" when running ansible-playbook](https://forum.ansible.com/t/getting-error-no-python-interpreters-found-for-host-when-running-ansible-playbook/41434)

<div class="topic-metadata">

**Author:** [@MrSnrub](https://forum.ansible.com/u/MrSnrub)\
**Replies:** 6\
**Last updated:** [March 31, 2025, 7:30pm UTC](https://forum.ansible.com/t/getting-error-no-python-interpreters-found-for-host-when-running-ansible-playbook/41434 "2025-03-31T19:30:19Z")

</div>

Hi I just installed ansible and am trying to run it, but it is returning an error regarding python on my managed node. It says “No python interpreters found for host (hostname) (tried \[‘python3.12’, ‘python3.11’, ‘python…

---

## [GitHub Actions still using ubuntu-20.04](https://forum.ansible.com/t/github-actions-still-using-ubuntu-20-04/40187)

<div class="topic-metadata">

**Author:** [@gundalow](https://forum.ansible.com/u/gundalow)\
**Replies:** 23\
**Last updated:** [March 31, 2025, 6:37pm UTC](https://forum.ansible.com/t/github-actions-still-using-ubuntu-20-04/40187 "2025-03-31T18:37:29Z")

</div>

GiHub are deprecating the ubuntu-20.04 runner, seems like we still have this in use in a lot of places. Do we want to move to ubuntu-latest (unpinned, so might all break when GitHub update in the future, though saves u…

---

## [AWX as Code - Constructed Inventory](https://forum.ansible.com/t/awx-as-code-constructed-inventory/41296)

<div class="topic-metadata">

**Author:** [@SixteenOne](https://forum.ansible.com/u/SixteenOne)\
**Replies:** 2\
**Last updated:** [March 30, 2025, 5:08pm UTC](https://forum.ansible.com/t/awx-as-code-constructed-inventory/41296 "2025-03-30T17:08:44Z")

</div>

Started up a new AWX instance as I am going to repurpose my old server with my existing AWX on it. So, I have taken this task, to build it all from scratch using Ansible. I have had some sticking points, but through frus…

---

## [Not able to use selinux module with ansible version 2.14 and python version 3.9](https://forum.ansible.com/t/not-able-to-use-selinux-module-with-ansible-version-2-14-and-python-version-3-9/41398)

<div class="topic-metadata">

**Author:** [@Harshit\_Gupta](https://forum.ansible.com/u/Harshit_Gupta)\
**Replies:** 1\
**Last updated:** [March 28, 2025, 7:36pm UTC](https://forum.ansible.com/t/not-able-to-use-selinux-module-with-ansible-version-2-14-and-python-version-3-9/41398 "2025-03-28T19:36:44Z")

</div>

Hello Team, I am not able to use selinux module with below version: Ansible: 2.14 Python: 3.9 All the packages are already installed ModuleNotFoundError: No module named 'selinux' fatal: \[localhost\]: FAILED! =\> chan…

---

## [How to unit test conditions that cannot be simulated](https://forum.ansible.com/t/how-to-unit-test-conditions-that-cannot-be-simulated/41399)

<div class="topic-metadata">

**Author:** [@Systemgeek-louis](https://forum.ansible.com/u/Systemgeek-louis)\
**Replies:** 2\
**Last updated:** [March 28, 2025, 5:49pm UTC](https://forum.ansible.com/t/how-to-unit-test-conditions-that-cannot-be-simulated/41399 "2025-03-28T17:49:30Z")

</div>

Let me give a specific example. We use Foreman for patching so hosts need to be registered with Foreman before they can receive patches. Registration is done by installing the CA file locally and then running cloud-ini…

---

## [Some eda instance pods in native kubernetes not starting correctly](https://forum.ansible.com/t/some-eda-instance-pods-in-native-kubernetes-not-starting-correctly/8438)

<div class="topic-metadata">

**Author:** [@vapetri](https://forum.ansible.com/u/vapetri)\
**Replies:** 4\
**Last updated:** [March 28, 2025, 3:05pm UTC](https://forum.ansible.com/t/some-eda-instance-pods-in-native-kubernetes-not-starting-correctly/8438 "2025-03-28T15:05:52Z")

</div>

Hello everyone, i have a 3 nodes, rocky 9 based, Kubernetes native cluster version 1.31.0. I am using the GitHub - ansible/eda-server-operator documentation and i use the config/default configuration for deploying oper…

---

## [Awx.awx.export from AWX 21.0.0 fails using awx.awx.import into AWX 24.6.1 with "Failed to import assets argument of type 'NoneType' is not iterable"](https://forum.ansible.com/t/awx-awx-export-from-awx-21-0-0-fails-using-awx-awx-import-into-awx-24-6-1-with-failed-to-import-assets-argument-of-type-nonetype-is-not-iterable/10459)

<div class="topic-metadata">

**Author:** [@hiddenyeti](https://forum.ansible.com/u/hiddenyeti)\
**Replies:** 1\
**Last updated:** [March 28, 2025, 9:59am UTC](https://forum.ansible.com/t/awx-awx-export-from-awx-21-0-0-fails-using-awx-awx-import-into-awx-24-6-1-with-failed-to-import-assets-argument-of-type-nonetype-is-not-iterable/10459 "2025-03-28T09:59:52Z")

</div>

When i take the output file from the export playbook below, and pass it into the import playbook below, the job run fails immediately with the following message: fatal: \[localhost\]: FAILED! =\> {“changed”: false, “msg”: …

---

## [Installation aap 2.5 containerized bundle issue (stuck)](https://forum.ansible.com/t/installation-aap-2-5-containerized-bundle-issue-stuck/41381)

<div class="topic-metadata">

**Author:** [@BYUNGHYUN\_LEE](https://forum.ansible.com/u/BYUNGHYUN_LEE)\
**Replies:** 0\
**Last updated:** [March 28, 2025, 12:14am UTC](https://forum.ansible.com/t/installation-aap-2-5-containerized-bundle-issue-stuck/41381 "2025-03-28T00:14:52Z")

</div>

issue is that just stuck “Upload collections to Automation Hub” this process without error. (just uploaded one collection). already tested it over 20 times. my environment rhel 9.4 os, aap 2.5.-11 containerized bundl…

---

## [Ssh-audit output and json\_query()](https://forum.ansible.com/t/ssh-audit-output-and-json-query/41380)

<div class="topic-metadata">

**Author:** [@DengelFred](https://forum.ansible.com/u/DengelFred)\
**Replies:** 1\
**Last updated:** [March 27, 2025, 7:24pm UTC](https://forum.ansible.com/t/ssh-audit-output-and-json-query/41380 "2025-03-27T19:24:44Z")

</div>

Hello, I would like to parse the output of ssh-audit -j automatically. The output looks like this (shortened): { "kex": \[ { "algorithm": "sntrup761x25519-sha512", "notes": { "info": \[ …

---

## [Can't reference azcollection from command line or playbook after installing with ansible-galaxy](https://forum.ansible.com/t/cant-reference-azcollection-from-command-line-or-playbook-after-installing-with-ansible-galaxy/41299)

<div class="topic-metadata">

**Author:** [@idlebyte](https://forum.ansible.com/u/idlebyte)\
**Replies:** 2\
**Last updated:** [March 27, 2025, 4:38pm UTC](https://forum.ansible.com/t/cant-reference-azcollection-from-command-line-or-playbook-after-installing-with-ansible-galaxy/41299 "2025-03-27T16:38:59Z")

</div>

Having a problem referencing the azcollection modules after install. Env: RedHat 9.2 VMs, Ansible AAP 2.5 on separate controller and gateway, Ansible 2.18(pip3.11) EE: ansible-automation-platform-24/ee-supported-rhel9…

---

## [Ansible hangs on user input expectation when running in serial / forks](https://forum.ansible.com/t/ansible-hangs-on-user-input-expectation-when-running-in-serial-forks/41376)

<div class="topic-metadata">

**Author:** [@lilian-granqvist](https://forum.ansible.com/u/lilian-granqvist)\
**Replies:** 0\
**Last updated:** [March 27, 2025, 3:05pm UTC](https://forum.ansible.com/t/ansible-hangs-on-user-input-expectation-when-running-in-serial-forks/41376 "2025-03-27T15:05:32Z")

</div>

The options at the bottom (serial and forks) hangs the whole process if there’s one server that is waiting for user input for some random reason (change password, authenticity of host can’t be established as two examples…

---

## [Export AAP 2.5 configuration](https://forum.ansible.com/t/export-aap-2-5-configuration/10667)

<div class="topic-metadata">

**Author:** [@jwerak](https://forum.ansible.com/u/jwerak)\
**Replies:** 1\
**Last updated:** [March 27, 2025, 2:22pm UTC](https://forum.ansible.com/t/export-aap-2-5-configuration/10667 "2025-03-27T14:22:03Z")

</div>

Hi, I want to export the configuration of AAP 2.5 in a similar way the 2.4 did with filetree\_create.yml playbook. Is there equivalent playbook in infra.platform\_configuration ?

---

## [MAS-COGNOS installation](https://forum.ansible.com/t/mas-cognos-installation/41373)

<div class="topic-metadata">

**Author:** [@Poonam](https://forum.ansible.com/u/Poonam)\
**Replies:** 3\
**Last updated:** [March 27, 2025, 1:14pm UTC](https://forum.ansible.com/t/mas-cognos-installation/41373 "2025-03-27T13:14:02Z")

</div>

I am trying to run playbook cp4d.yml and have set few of the export variables. Error I am getting: Failed to pull image cp.icr.io/cp/cpd/zen-addon-cognos-analytics@sha256:67486fde57e4d4d808046c7b590dbf8fb5e329b28fb3b18…

---

## [Mas installation ansible commands](https://forum.ansible.com/t/mas-installation-ansible-commands/41331)

<div class="topic-metadata">

**Author:** [@Poonam](https://forum.ansible.com/u/Poonam)\
**Replies:** 4\
**Last updated:** [March 27, 2025, 12:31pm UTC](https://forum.ansible.com/t/mas-installation-ansible-commands/41331 "2025-03-27T12:31:18Z")

</div>

Hi, I am trying to run playbook cp4d.yml but getting error - "ERROR! Unexpected Exception, this is probably a bug: No module named ‘mas’ " Not sure about what this means and how to proceed. Any ideas or thoughts?

---

## [Error in module "No start of json char found" & "KeyError: 'access\_token'"](https://forum.ansible.com/t/error-in-module-no-start-of-json-char-found-keyerror-access-token/41369)

<div class="topic-metadata">

**Author:** [@iamroddo](https://forum.ansible.com/u/iamroddo)\
**Replies:** 2\
**Last updated:** [March 27, 2025, 9:57am UTC](https://forum.ansible.com/t/error-in-module-no-start-of-json-char-found-keyerror-access-token/41369 "2025-03-27T09:57:24Z")

</div>

I am using the module google.cloud.gcp\_dns\_resource\_record\_set (from the collection version 1.5.1) to create a DNS record in the task below. - name: Create DNS record google.cloud.gcp\_dns\_resource\_record\_set: name…

---

## [Ansible setup for Google Cloud](https://forum.ansible.com/t/ansible-setup-for-google-cloud/41364)

<div class="topic-metadata">

**Author:** [@raj\_krish](https://forum.ansible.com/u/raj_krish)\
**Replies:** 0\
**Last updated:** [March 26, 2025, 9:47pm UTC](https://forum.ansible.com/t/ansible-setup-for-google-cloud/41364 "2025-03-26T21:47:32Z")

</div>

Hi All, I am planning to set up a Virtual machine on google cloud. As part of IAC I am planning to use Terraform and for Config management I am planning to use Ansible. I am not sure as how can i integrate the ansible o…

---

## [No such file or directory: '/etc/receptor/receptor.conf'](https://forum.ansible.com/t/no-such-file-or-directory-etc-receptor-receptor-conf/6778)

<div class="topic-metadata">

**Author:** [@2and3makes23](https://forum.ansible.com/u/2and3makes23)\
**Replies:** 8\
**Last updated:** [February 26, 2025, 4:51pm UTC](https://forum.ansible.com/t/no-such-file-or-directory-etc-receptor-receptor-conf/6778 "2025-02-26T16:51:09Z")

</div>

Hi there, every time an awx-task container starts, we see (I think it´s always 2 instances of) this stack trace: \[pod/awx-task-657cb7cf77-8mmk8/awx-task\] \[wait-for-migrations\] Waiting for database migrations... \[pod/aw…

---

## [Automating ansible from git](https://forum.ansible.com/t/automating-ansible-from-git/41335)

<div class="topic-metadata">

**Author:** [@wes](https://forum.ansible.com/u/wes)\
**Replies:** 1\
**Last updated:** [March 26, 2025, 6:36pm UTC](https://forum.ansible.com/t/automating-ansible-from-git/41335 "2025-03-26T18:36:46Z")

</div>

We are wanting to have ansible auto download from git, and then run to apply any changes to several hosts. The hosts will mostly be a dynamic inventory, but some will be static. I’m just wondering, is this what Ansible …

---

## [Molecule on macOS seems to be ignoring the box line in molecule.yml](https://forum.ansible.com/t/molecule-on-macos-seems-to-be-ignoring-the-box-line-in-molecule-yml/41344)

<div class="topic-metadata">

**Author:** [@Systemgeek-louis](https://forum.ansible.com/u/Systemgeek-louis)\
**Replies:** 0\
**Last updated:** [March 26, 2025, 6:19pm UTC](https://forum.ansible.com/t/molecule-on-macos-seems-to-be-ignoring-the-box-line-in-molecule-yml/41344 "2025-03-26T18:19:35Z")

</div>

molecule 25.3.1 using python 3.13 ansible:2.18.3 default:25.3.1 from molecule vagrant:2.0.0 from molecule\_vagrant I have the following in my molecule.yml file --- dependency: name: galaxy driver: name: vagrant …

---

## [Need basic help with jinja and ansible inventory](https://forum.ansible.com/t/need-basic-help-with-jinja-and-ansible-inventory/41239)

<div class="topic-metadata">

**Author:** [@wes](https://forum.ansible.com/u/wes)\
**Replies:** 6\
**Last updated:** [March 26, 2025, 4:36pm UTC](https://forum.ansible.com/t/need-basic-help-with-jinja-and-ansible-inventory/41239 "2025-03-26T16:36:29Z")

</div>

Hi, I’m trying to create a configuration for haproxy, that renders a haproxy.cfg.j2 jinja template, and populates it based on the ansible inventory. I’m having issues with jinja and iterating/loops. My Inventory looks l…

---

## [Clarification for namespace from beginner](https://forum.ansible.com/t/clarification-for-namespace-from-beginner/41188)

<div class="topic-metadata">

**Author:** [@lucas3d](https://forum.ansible.com/u/lucas3d)\
**Replies:** 2\
**Last updated:** [March 26, 2025, 3:27pm UTC](https://forum.ansible.com/t/clarification-for-namespace-from-beginner/41188 "2025-03-26T15:27:26Z")

</div>

Hi, I started to publish a few roles on Ansible Galaxy Beginner issue: Missing validation of my code with ansible-lint Missing tag version I’m working to resolve these issues. ansible-lint gives me a warning for …

---

## [Controlling container name with docker-compose-v2 community package](https://forum.ansible.com/t/controlling-container-name-with-docker-compose-v2-community-package/41286)

<div class="topic-metadata">

**Author:** [@Erling\_Moeller](https://forum.ansible.com/u/Erling_Moeller)\
**Replies:** 7\
**Last updated:** [March 26, 2025, 10:52am UTC](https://forum.ansible.com/t/controlling-container-name-with-docker-compose-v2-community-package/41286 "2025-03-26T10:52:47Z")

</div>

Hi I recently upgraded ansible from an older version (I got a new work laptop). Then I found out that the old docker compose had been deprecated. To my surprise after the upgrade my containers changed their names. unde…

---

## [Delete hanging backup](https://forum.ansible.com/t/delete-hanging-backup/41175)

<div class="topic-metadata">

**Author:** [@ildjarn](https://forum.ansible.com/u/ildjarn)\
**Replies:** 1\
**Last updated:** [March 26, 2025, 7:19am UTC](https://forum.ansible.com/t/delete-hanging-backup/41175 "2025-03-26T07:19:09Z")

</div>

I am slowly upgrading all the AWX deployments in my company. Basically what I’m doing is: Save all secrets from the old deployment Delete old namespace Redeploy using my own yamls This works great, but for one enviro…

---

## [AWX Execution Environment](https://forum.ansible.com/t/awx-execution-environment/8499)

<div class="topic-metadata">

**Author:** [@virtualhobbit](https://forum.ansible.com/u/virtualhobbit)\
**Replies:** 3\
**Last updated:** [March 26, 2025, 1:58am UTC](https://forum.ansible.com/t/awx-execution-environment/8499 "2025-03-26T01:58:29Z")

</div>

Does anyone have experience in building an Execution Environment with hvac for doing HashiCorp Vault environments? Vault-side all configured along with AppRole and SecretId - works perfectly on 17.1.0 on a VM. Any assi…

---

## [Tasks export keys](https://forum.ansible.com/t/tasks-export-keys/41310)

<div class="topic-metadata">

**Author:** [@jeferson\_nascimento](https://forum.ansible.com/u/jeferson_nascimento)\
**Replies:** 1\
**Last updated:** [March 25, 2025, 8:37pm UTC](https://forum.ansible.com/t/tasks-export-keys/41310 "2025-03-25T20:37:12Z")

</div>

Good afternoon everyone, I have a problem because I couldn’t find a similar task to validate mine. I want to export the public key to some machines. I appreciate your attention and help if anyone has already done or gone…

---

## [Can i have a separate port for specific hosts for ansible to connect through?](https://forum.ansible.com/t/can-i-have-a-separate-port-for-specific-hosts-for-ansible-to-connect-through/41314)

<div class="topic-metadata">

**Author:** [@lilian-granqvist](https://forum.ansible.com/u/lilian-granqvist)\
**Replies:** 2\
**Last updated:** [March 25, 2025, 7:55pm UTC](https://forum.ansible.com/t/can-i-have-a-separate-port-for-specific-hosts-for-ansible-to-connect-through/41314 "2025-03-25T19:55:47Z")

</div>

We have one server that uses different port for ssh than others. I’m using aws\_ec2 for inventory management, can i somehow define there a separate port for this specific host ?

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

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