# Get Help

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

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

**Page:** 78

---

## [Awx: how to allow org. users to add own inventories?](https://forum.ansible.com/t/awx-how-to-allow-org-users-to-add-own-inventories/5263)

<div class="topic-metadata">

**Author:** [@martin.huber](https://forum.ansible.com/u/martin.huber)\
**Replies:** 4\
**Last updated:** [May 7, 2024, 10:45am UTC](https://forum.ansible.com/t/awx-how-to-allow-org-users-to-add-own-inventories/5263 "2024-05-07T10:45:27Z")

</div>

I have the following usecase: we have automated some infrastructure configuration by the means of an Ansible playbook (and a custom module). Our goal would be, to allow regular users in an organization to re-use the pl…

---

## [Automating Initial Setup of Virtual Machines with Ansible](https://forum.ansible.com/t/automating-initial-setup-of-virtual-machines-with-ansible/5556)

<div class="topic-metadata">

**Author:** [@Shubh\_mishra](https://forum.ansible.com/u/Shubh_mishra)\
**Replies:** 0\
**Last updated:** [May 7, 2024, 10:43am UTC](https://forum.ansible.com/t/automating-initial-setup-of-virtual-machines-with-ansible/5556 "2024-05-07T10:43:47Z")

</div>

I want to automate the initial setup of my virtual machines using Ansible. For instance, when a user logs in to the system for the first time with their credentials, they should automatically receive a prompt to change …

---

## [Python project integration with Ansible API. After upgrading Ansible from 2.14 to 2.15, playbook execution failed](https://forum.ansible.com/t/python-project-integration-with-ansible-api-after-upgrading-ansible-from-2-14-to-2-15-playbook-execution-failed/3543)

<div class="topic-metadata">

**Author:** [@jack](https://forum.ansible.com/u/jack)\
**Replies:** 4\
**Last updated:** [May 7, 2024, 9:57am UTC](https://forum.ansible.com/t/python-project-integration-with-ansible-api-after-upgrading-ansible-from-2-14-to-2-15-playbook-execution-failed/3543 "2024-05-07T09:57:23Z")

</div>

Background: We used Ansible’s Python API to execute Playbook, but recently Ansible is preparing to upgrade from 2.14 to 2.15. When executing Playbook, there will be an error message: No module named \\ "Ansible\_collectio…

---

## [Using molecule with multi-role repositories](https://forum.ansible.com/t/using-molecule-with-multi-role-repositories/5211)

<div class="topic-metadata">

**Author:** [@upon8877](https://forum.ansible.com/u/upon8877)\
**Replies:** 3\
**Last updated:** [May 6, 2024, 9:59pm UTC](https://forum.ansible.com/t/using-molecule-with-multi-role-repositories/5211 "2024-05-06T21:59:33Z")

</div>

Hi, I have a repository with multiple roles, and need some guidance on how to run molecule. Are there any guides/examples on configuring molecule to run on roles based on a glob or wildcard path? I know there was a dis…

---

## [How to debug ansible action plugin](https://forum.ansible.com/t/how-to-debug-ansible-action-plugin/5288)

<div class="topic-metadata">

**Author:** [@John\_Ratliff](https://forum.ansible.com/u/John_Ratliff)\
**Replies:** 3\
**Last updated:** [May 6, 2024, 9:43pm UTC](https://forum.ansible.com/t/how-to-debug-ansible-action-plugin/5288 "2024-05-06T21:43:38Z")

</div>

I’d like to be able to debug a custom action plugin using VS Code. With a module, the module is created in the script and it calls exit\_json, so modules are pretty easy to get working in a debugger, but how would I do th…

---

## [Module to patch (update) environment variables file with version](https://forum.ansible.com/t/module-to-patch-update-environment-variables-file-with-version/5254)

<div class="topic-metadata">

**Author:** [@ShanDesai](https://forum.ansible.com/u/ShanDesai)\
**Replies:** 7\
**Last updated:** [May 6, 2024, 3:15pm UTC](https://forum.ansible.com/t/module-to-patch-update-environment-variables-file-with-version/5254 "2024-05-06T15:15:54Z")

</div>

Scenario I have an artifact with an .env file which can have the following structure: vSERVICE1=1.8.1 vSERVICE2=2.0.0 The values of the env vars are updated which I would like patch to an existing production .env in th…

---

## [Need help for a Playbook to collecting logs from different Servers +](https://forum.ansible.com/t/need-help-for-a-playbook-to-collecting-logs-from-different-servers/5290)

<div class="topic-metadata">

**Author:** [@maze-m](https://forum.ansible.com/u/maze-m)\
**Replies:** 3\
**Last updated:** [May 6, 2024, 1:09pm UTC](https://forum.ansible.com/t/need-help-for-a-playbook-to-collecting-logs-from-different-servers/5290 "2024-05-06T13:09:23Z")

</div>

Hi there! I wanna create an playbook with which I can get Logs from Hosts of our three different Stages and there from the concerned service (webserver, jobserver or report) Our Inventory-File is the following: ######…

---

## [Galaxy-NG: Remote sync fails "No space left on device"](https://forum.ansible.com/t/galaxy-ng-remote-sync-fails-no-space-left-on-device/5215)

<div class="topic-metadata">

**Author:** [@h-phil](https://forum.ansible.com/u/h-phil)\
**Replies:** 4\
**Last updated:** [May 6, 2024, 12:41pm UTC](https://forum.ansible.com/t/galaxy-ng-remote-sync-fails-no-space-left-on-device/5215 "2024-05-06T12:41:41Z")

</div>

In my galaxy-ng I want to use the “community” remote to sync two collections from galaxy.ansible.com. In the remote setting I have set the following “YAML requirements”: collections: - name: community.crypto vers…

---

## [Awx fails as it can't find a module in a task that should actually be skipped](https://forum.ansible.com/t/awx-fails-as-it-cant-find-a-module-in-a-task-that-should-actually-be-skipped/5262)

<div class="topic-metadata">

**Author:** [@Manju](https://forum.ansible.com/u/Manju)\
**Replies:** 4\
**Last updated:** [May 6, 2024, 8:59am UTC](https://forum.ansible.com/t/awx-fails-as-it-cant-find-a-module-in-a-task-that-should-actually-be-skipped/5262 "2024-05-06T08:59:31Z")

</div>

Hi, I have a playbook that uses the newrelic.newrelic-infra role for installing new relic. The playbooks just work fine when I manually run it. This is the part of the playbook with the role we are using. - name: Inst…

---

## [Ansible can't find /bin/sh in chroot directory](https://forum.ansible.com/t/ansible-cant-find-bin-sh-in-chroot-directory/5261)

<div class="topic-metadata">

**Author:** [@asad26](https://forum.ansible.com/u/asad26)\
**Replies:** 11\
**Last updated:** [May 6, 2024, 8:29am UTC](https://forum.ansible.com/t/ansible-cant-find-bin-sh-in-chroot-directory/5261 "2024-05-06T08:29:51Z")

</div>

Hi I am trying to create a directory in a block device (mounted on /media/ajaved/PIROOT) using Ansible chroot connection and it fails with the following message: redirecting (type: connection) ansible.builtin.chroot to…

---

## [Reference on how to test an Ansible Runner project](https://forum.ansible.com/t/reference-on-how-to-test-an-ansible-runner-project/5294)

<div class="topic-metadata">

**Author:** [@ShanDesai](https://forum.ansible.com/u/ShanDesai)\
**Replies:** 0\
**Last updated:** [May 5, 2024, 7:17pm UTC](https://forum.ansible.com/t/reference-on-how-to-test-an-ansible-runner-project/5294 "2024-05-05T19:17:16Z")

</div>

I have a repository with the structure same as that of the Directory Hierarchy as that mentioned by the Ansible Runner documentation. The project is all playbooks and no roles. I have a tests directory where each subdir…

---

## [Can not copy file from local to VM created by packer](https://forum.ansible.com/t/can-not-copy-file-from-local-to-vm-created-by-packer/5209)

<div class="topic-metadata">

**Author:** [@Mostafa\_Faridi](https://forum.ansible.com/u/Mostafa_Faridi)\
**Replies:** 5\
**Last updated:** [May 5, 2024, 6:27am UTC](https://forum.ansible.com/t/can-not-copy-file-from-local-to-vm-created-by-packer/5209 "2024-05-05T06:27:46Z")

</div>

I want make VM qcow2 image by packer and install some app like docker and kubectl on by ansible. everything is OK and I can install some packages I need on VM like docker… but I want ansible copy one bash script from my…

---

## [Reading config file in a plugin](https://forum.ansible.com/t/reading-config-file-in-a-plugin/5163)

<div class="topic-metadata">

**Author:** [@John\_Ratliff](https://forum.ansible.com/u/John_Ratliff)\
**Replies:** 1\
**Last updated:** [May 4, 2024, 6:33pm UTC](https://forum.ansible.com/t/reading-config-file-in-a-plugin/5163 "2024-05-04T18:33:49Z")

</div>

How can I read a config file from a plugin? I tried opening the file, but the CWD is the directory I launched my playbook from. I can get the playbook directory, but if they called my plugin from a playbook outside the c…

---

## [How do AAP/AWX applications work - aka why doesn't it work](https://forum.ansible.com/t/how-do-aap-awx-applications-work-aka-why-doesnt-it-work/5286)

<div class="topic-metadata">

**Author:** [@tonk](https://forum.ansible.com/u/tonk)\
**Replies:** 1\
**Last updated:** [May 4, 2024, 10:37am UTC](https://forum.ansible.com/t/how-do-aap-awx-applications-work-aka-why-doesnt-it-work/5286 "2024-05-04T10:37:18Z")

</div>

In AAP (2.4) I setup an application for Prometheus to monitor the AAP metrics, this application points to the API metrics endpoint. I also created a “mortal”, a.k.a. non-admin user and generated a token to access the me…

---

## [Dns lookup record and fail if no record exists](https://forum.ansible.com/t/dns-lookup-record-and-fail-if-no-record-exists/5179)

<div class="topic-metadata">

**Author:** [@dsexton18](https://forum.ansible.com/u/dsexton18)\
**Replies:** 3\
**Last updated:** [May 4, 2024, 10:30am UTC](https://forum.ansible.com/t/dns-lookup-record-and-fail-if-no-record-exists/5179 "2024-05-04T10:30:58Z")

</div>

I am struggling with a task to 1 look up the DNS name of a host and to if no dns record exists for the host fail. I have the first part of the task with the second task. This is what I have so far - name: Simple A reco…

---

## [Ansible Variable not working in AAP v4.5.6](https://forum.ansible.com/t/ansible-variable-not-working-in-aap-v4-5-6/5246)

<div class="topic-metadata">

**Author:** [@naga](https://forum.ansible.com/u/naga)\
**Replies:** 4\
**Last updated:** [May 3, 2024, 5:29pm UTC](https://forum.ansible.com/t/ansible-variable-not-working-in-aap-v4-5-6/5246 "2024-05-03T17:29:01Z")

</div>

Hi All, I am running AAP v4.5.6 for ILMT task automation purposes. for a requirement I have created a constructed Inventory to filter the VMs which is created last 7 days from Azure subscription. I used this module in v…

---

## [Running Playbooks w/ Dynamic Variables](https://forum.ansible.com/t/running-playbooks-w-dynamic-variables/5266)

<div class="topic-metadata">

**Author:** [@cmennens](https://forum.ansible.com/u/cmennens)\
**Replies:** 6\
**Last updated:** [May 3, 2024, 4:58pm UTC](https://forum.ansible.com/t/running-playbooks-w-dynamic-variables/5266 "2024-05-03T16:58:04Z")

</div>

I am currently using Ansible to deploy a resource in Azure as follows: - name: Deploy a Resource Group in Azure hosts: localhost gather\_facts: no connection: local vars: resource\_group: test-rg location: …

---

## [Govc import.ova fails with 'ovfSection.info.key' parameter error](https://forum.ansible.com/t/govc-import-ova-fails-with-ovfsection-info-key-parameter-error/5273)

<div class="topic-metadata">

**Author:** [@tlemons](https://forum.ansible.com/u/tlemons)\
**Replies:** 1\
**Last updated:** [May 3, 2024, 2:53pm UTC](https://forum.ansible.com/t/govc-import-ova-fails-with-ovfsection-info-key-parameter-error/5273 "2024-05-03T14:53:05Z")

</div>

Hi - I’m using the ‘govc import.ova’ function in an Ansible automation to deploy a VM into a vSphere environment. We have many Ansible automations that deploy VMs in our environment using ‘govc import.ova’. But a new aut…

---

## [Best way to update this service (Matrix Ansible)](https://forum.ansible.com/t/best-way-to-update-this-service-matrix-ansible/5276)

<div class="topic-metadata">

**Author:** [@corin.corvus](https://forum.ansible.com/u/corin.corvus)\
**Replies:** 8\
**Last updated:** [May 3, 2024, 12:57pm UTC](https://forum.ansible.com/t/best-way-to-update-this-service-matrix-ansible/5276 "2024-05-03T12:57:30Z")

</div>

Hi, i’m a newbie in ansible. I work with the ansible playbook of spantaleev for the matrix docker ansible deploy and at the moment i finished some automations for updating or installing vms or container in my homelab wi…

---

## [DevOps and CI/CD](https://forum.ansible.com/t/devops-and-ci-cd/5236)

<div class="topic-metadata">

**Author:** [@Dustin](https://forum.ansible.com/u/Dustin)\
**Replies:** 4\
**Last updated:** [May 2, 2024, 8:07pm UTC](https://forum.ansible.com/t/devops-and-ci-cd/5236 "2024-05-02T20:07:58Z")

</div>

I’ve been building my AWX environment and NetDevOps skills from the ground up for a few months now. I have AWX running in a pretty stable lab. My AWX uses GitLab for project sources. I use tiered branches in GitLab fo…

---

## [Passing password variable into API raw json giving an error and code failing](https://forum.ansible.com/t/passing-password-variable-into-api-raw-json-giving-an-error-and-code-failing/5216)

<div class="topic-metadata">

**Author:** [@ahawker](https://forum.ansible.com/u/ahawker)\
**Replies:** 2\
**Last updated:** [May 2, 2024, 2:03pm UTC](https://forum.ansible.com/t/passing-password-variable-into-api-raw-json-giving-an-error-and-code-failing/5216 "2024-05-02T14:03:55Z")

</div>

Hi, I believe I am getting the syntax wrong for passing in a variable to an API, raw json body but googling on and off for days has not helped. Hopefully someone can point me in the right direction on here. The playbook…

---

## [Adding a Prefix and Suffix to a each element of a list via Jinja2 templates](https://forum.ansible.com/t/adding-a-prefix-and-suffix-to-a-each-element-of-a-list-via-jinja2-templates/5260)

<div class="topic-metadata">

**Author:** [@ShanDesai](https://forum.ansible.com/u/ShanDesai)\
**Replies:** 1\
**Last updated:** [May 2, 2024, 2:00pm UTC](https://forum.ansible.com/t/adding-a-prefix-and-suffix-to-a-each-element-of-a-list-via-jinja2-templates/5260 "2024-05-02T14:00:49Z")

</div>

Scenario Example of a list of IP addresses which need to be have a protocol e.g. https: as prefix and a port number e.g. 5000 as suffix in order to configure a file or use the list to query the endpoint. --- - hosts: lo…

---

## [Delete files resulting from a search](https://forum.ansible.com/t/delete-files-resulting-from-a-search/5221)

<div class="topic-metadata">

**Author:** [@microlinux](https://forum.ansible.com/u/microlinux)\
**Replies:** 3\
**Last updated:** [May 2, 2024, 11:32am UTC](https://forum.ansible.com/t/delete-files-resulting-from-a-search/5221 "2024-05-02T11:32:29Z")

</div>

Hi, I have yet to wrap my head around the way Ansible does some things. I have the following task using the find module: - name: Find existing desktop menu files on target system ansible.builtin.find: paths: /va…

---

## [ESXi\_iSCSI Map\_Using Ansible Playbook](https://forum.ansible.com/t/esxi-iscsi-map-using-ansible-playbook/5256)

<div class="topic-metadata">

**Author:** [@kkrishnasamy01](https://forum.ansible.com/u/kkrishnasamy01)\
**Replies:** 0\
**Last updated:** [May 2, 2024, 11:04am UTC](https://forum.ansible.com/t/esxi-iscsi-map-using-ansible-playbook/5256 "2024-05-02T11:04:21Z")

</div>

Hi Team, Could you please some one share me play book for ESXi\_iSCSI Map.

---

## [Too many idle wsrelay-awx-tasks](https://forum.ansible.com/t/too-many-idle-wsrelay-awx-tasks/5232)

<div class="topic-metadata">

**Author:** [@mimianddaniel](https://forum.ansible.com/u/mimianddaniel)\
**Replies:** 4\
**Last updated:** [May 2, 2024, 4:42am UTC](https://forum.ansible.com/t/too-many-idle-wsrelay-awx-tasks/5232 "2024-05-02T04:42:47Z")

</div>

Hi, Running AWX 23.7.0 with external backend. See high number of idle connections with application name awx-somenumbers-wsrelay-awx-tasks with query SELECT "conf\_setting"."id", "conf\_setting"."created", "conf\_setting".…

---

## [Fatal: \[localhost\]: FAILED! =\> changed=false msg: 'Unsupported parameters for (vmware\_guest) module: customization.wait\_for\_customization](https://forum.ansible.com/t/fatal-localhost-failed-changed-false-msg-unsupported-parameters-for-vmware-guest-module-customization-wait-for-customization/5227)

<div class="topic-metadata">

**Author:** [@diane](https://forum.ansible.com/u/diane)\
**Replies:** 10\
**Last updated:** [May 1, 2024, 4:21pm UTC](https://forum.ansible.com/t/fatal-localhost-failed-changed-false-msg-unsupported-parameters-for-vmware-guest-module-customization-wait-for-customization/5227 "2024-05-01T16:21:55Z")

</div>

anybody know what would cause this error?

---

## [Dnf module mangles package name of downloaded RPM](https://forum.ansible.com/t/dnf-module-mangles-package-name-of-downloaded-rpm/5161)

<div class="topic-metadata">

**Author:** [@guertin](https://forum.ansible.com/u/guertin)\
**Replies:** 7\
**Last updated:** [May 1, 2024, 12:45pm UTC](https://forum.ansible.com/t/dnf-module-mangles-package-name-of-downloaded-rpm/5161 "2024-05-01T12:45:47Z")

</div>

I’ve got the following code to download and install an RPM package on a Linux server: - name: Install Foreman repository become: true ansible.builtin.dnf: ¦ name: "https://yum.theforeman.org/releases/latest/el{{ o…

---

## [Manipulate cisco snmp user cli data](https://forum.ansible.com/t/manipulate-cisco-snmp-user-cli-data/5092)

<div class="topic-metadata">

**Author:** [@bgoulet00](https://forum.ansible.com/u/bgoulet00)\
**Replies:** 10\
**Last updated:** [April 30, 2024, 10:12pm UTC](https://forum.ansible.com/t/manipulate-cisco-snmp-user-cli-data/5092 "2024-04-30T22:12:04Z")

</div>

i’m looking to delete all existing snmp users from a device. the results of ‘show snmp users’ comes back in a format i can’t figure out how to work with. if this data could be converted to a list of dictionaries, 1 dic…

---

## [\[RFE\] - Develop new functionality for exporting configurations filtered by project](https://forum.ansible.com/t/rfe-develop-new-functionality-for-exporting-configurations-filtered-by-project/5220)

<div class="topic-metadata">

**Author:** [@silvinux](https://forum.ansible.com/u/silvinux)\
**Replies:** 0\
**Last updated:** [April 30, 2024, 1:55pm UTC](https://forum.ansible.com/t/rfe-develop-new-functionality-for-exporting-configurations-filtered-by-project/5220 "2024-04-30T13:55:54Z")

</div>

Description: We need to develop a new feature of the role filetree-create in the ansible collection infra.controller\_configuration. The objective is to create a task that takes the name of a project as input and export …

---

## [Receptor error when starting jobs in new AWX deployment in AKS](https://forum.ansible.com/t/receptor-error-when-starting-jobs-in-new-awx-deployment-in-aks/5015)

<div class="topic-metadata">

**Author:** [@mani3887](https://forum.ansible.com/u/mani3887)\
**Replies:** 12\
**Last updated:** [April 30, 2024, 11:54am UTC](https://forum.ansible.com/t/receptor-error-when-starting-jobs-in-new-awx-deployment-in-aks/5015 "2024-04-30T11:54:17Z")

</div>

Bug Summary Hi Team, I am testing AWX in AKS cluster. This is a private cluster, so I am unable to do this with AWX operator. So I created a different cluster in public, used that deployments, secret, config maps, servic…

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

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