# Get Help

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

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

**Page:** 40

---

## [Is possible to write 1 inv file with severl groups and run ansible-playbook for 1 group?](https://forum.ansible.com/t/is-possible-to-write-1-inv-file-with-severl-groups-and-run-ansible-playbook-for-1-group/40594)

<div class="topic-metadata">

**Author:** [@eliassal](https://forum.ansible.com/u/eliassal)\
**Replies:** 1\
**Last updated:** [February 24, 2025, 5:21pm UTC](https://forum.ansible.com/t/is-possible-to-write-1-inv-file-with-severl-groups-and-run-ansible-playbook-for-1-group/40594 "2025-02-24T17:21:37Z")

</div>

Hi, I have an inventory file as follows and would like to know if it is possible to run the playbook but for 1 group in the inv file web1 ansible\_ssh\_host=192.168.33.20 ansible\_ssh\_user=vagrant ansible\_ssh\_pass=vagrant …

---

## [Ansible template data structure for dnsmasq.conf?](https://forum.ansible.com/t/ansible-template-data-structure-for-dnsmasq-conf/40586)

<div class="topic-metadata">

**Author:** [@microlinux](https://forum.ansible.com/u/microlinux)\
**Replies:** 2\
**Last updated:** [February 24, 2025, 4:32pm UTC](https://forum.ansible.com/t/ansible-template-data-structure-for-dnsmasq-conf/40586 "2025-02-24T16:32:28Z")

</div>

Hi, I’m currently writing an Ansible role for automatically setting up Dnsmasq on my routerboard running Rocky Linux. Here’s the actual dnsmasq.conf which I setup manually: # /etc/dnsmasq.conf domain-needed bogus-priv…

---

## [Ansible.builtin.raw prompt password](https://forum.ansible.com/t/ansible-builtin-raw-prompt-password/40582)

<div class="topic-metadata">

**Author:** [@it-pappa](https://forum.ansible.com/u/it-pappa)\
**Replies:** 1\
**Last updated:** [February 24, 2025, 1:35pm UTC](https://forum.ansible.com/t/ansible-builtin-raw-prompt-password/40582 "2025-02-24T13:35:18Z")

</div>

Hi, is it anyway i can use ansible.builtin.raw with echo the password first or anything like that? I am working with a weird system where i can only use ansible raw module. But i need to prompt the password to the scp c…

---

## [Ansible Awx workflow](https://forum.ansible.com/t/ansible-awx-workflow/40355)

<div class="topic-metadata">

**Author:** [@sumitgupta7060](https://forum.ansible.com/u/sumitgupta7060)\
**Replies:** 3\
**Last updated:** [February 24, 2025, 12:54pm UTC](https://forum.ansible.com/t/ansible-awx-workflow/40355 "2025-02-24T12:54:07Z")

</div>

Hello Everyone, I am at trying to create ansible AWX workflow, when I attach a job template having survey variable defined, at start of the workflow, it ask me to input those variables and makes me saves it. When I run…

---

## [How to install an exe file in windows via Ansible, this exe file will ask "click continue to begin" and it ask to accept the terms and conditions](https://forum.ansible.com/t/how-to-install-an-exe-file-in-windows-via-ansible-this-exe-file-will-ask-click-continue-to-begin-and-it-ask-to-accept-the-terms-and-conditions/40360)

<div class="topic-metadata">

**Author:** [@maheswar26](https://forum.ansible.com/u/maheswar26)\
**Replies:** 6\
**Last updated:** [February 24, 2025, 2:54am UTC](https://forum.ansible.com/t/how-to-install-an-exe-file-in-windows-via-ansible-this-exe-file-will-ask-click-continue-to-begin-and-it-ask-to-accept-the-terms-and-conditions/40360 "2025-02-24T02:54:08Z")

</div>

Hi, Im trying to install an offline exe file which is downloaded in C drive of a windows machine via Ansible. Manually if i run the setup file, first it ask to run as admin, 2nd it ask to click continue to begin, 3rd …

---

## [Systemd test enabled workaround?](https://forum.ansible.com/t/systemd-test-enabled-workaround/40520)

<div class="topic-metadata">

**Author:** [@CarlFK](https://forum.ansible.com/u/CarlFK)\
**Replies:** 7\
**Last updated:** [February 23, 2025, 7:02pm UTC](https://forum.ansible.com/t/systemd-test-enabled-workaround/40520 "2025-02-23T19:02:32Z")

</div>

I just came across something I find strange: - name: Enable the enabled-runtime service using shell command shell: systemctl enable --runtime baz The next task: - name: Enable enabled-runtime service systemd: …

---

## [Managing GPO Policies in Active Directory with Ansible](https://forum.ansible.com/t/managing-gpo-policies-in-active-directory-with-ansible/40551)

<div class="topic-metadata">

**Author:** [@nepolBancolombiaSoft](https://forum.ansible.com/u/nepolBancolombiaSoft)\
**Replies:** 1\
**Last updated:** [February 22, 2025, 6:10pm UTC](https://forum.ansible.com/t/managing-gpo-policies-in-active-directory-with-ansible/40551 "2025-02-22T18:10:41Z")

</div>

Hello, community, I would like to know if Ansible has modules for managing GPO policies in Active Directory or if anyone has experience automating GPOs using Ansible. If possible, could you share some sample playbooks …

---

## [Remount state in the mount module](https://forum.ansible.com/t/remount-state-in-the-mount-module/3763)

<div class="topic-metadata">

**Author:** [@dustin1530](https://forum.ansible.com/u/dustin1530)\
**Replies:** 1\
**Last updated:** [February 22, 2025, 5:52pm UTC](https://forum.ansible.com/t/remount-state-in-the-mount-module/3763 "2025-02-22T17:52:27Z")

</div>

I’m working on a playbook where I need to remount /home to remove the noexec option, then preform a task, then remount /home adding noexec back, on RHEL 8.8. However, when I use the state: remounted the host system does …

---

## [Create/Update only one variable without overwrite all variables by API](https://forum.ansible.com/t/create-update-only-one-variable-without-overwrite-all-variables-by-api/4005)

<div class="topic-metadata">

**Author:** [@jo.salesmj](https://forum.ansible.com/u/jo.salesmj)\
**Replies:** 1\
**Last updated:** [February 22, 2025, 4:59pm UTC](https://forum.ansible.com/t/create-update-only-one-variable-without-overwrite-all-variables-by-api/4005 "2025-02-22T16:59:19Z")

</div>

Hello everyone, I’m trying to update just one variable of an AWX host through the API, but the request is overwriting all variables. Can anyone confirm if this is possible or guide me on the best approach? The request …

---

## [Trouble Creating Partition](https://forum.ansible.com/t/trouble-creating-partition/3801)

<div class="topic-metadata">

**Author:** [@techmush](https://forum.ansible.com/u/techmush)\
**Replies:** 1\
**Last updated:** [February 22, 2025, 4:20pm UTC](https://forum.ansible.com/t/trouble-creating-partition/3801 "2025-02-22T16:20:13Z")

</div>

Hi Community, I need help to make a rescue block. I thought I was doing everything right, but I guess I am not. I am trying to create a partition using multiple plays. The first one is to check if the disk is available.…

---

## [Ansible module oracle\_user does not set passworts when crypted via ansible\_vault](https://forum.ansible.com/t/ansible-module-oracle-user-does-not-set-passworts-when-crypted-via-ansible-vault/3237)

<div class="topic-metadata">

**Author:** [@kingappi66](https://forum.ansible.com/u/kingappi66)\
**Replies:** 1\
**Last updated:** [February 22, 2025, 7:48am UTC](https://forum.ansible.com/t/ansible-module-oracle-user-does-not-set-passworts-when-crypted-via-ansible-vault/3237 "2025-02-22T07:48:10Z")

</div>

I am using oracle\_pdb and oracle\_user modules to set up Oracle Databases and users via ansible. This works fine until we use only Standalone databases. Now I need to set up a CDB/PDB Database. Creation works fine. User …

---

## [Inventory File for multiple locations and device types](https://forum.ansible.com/t/inventory-file-for-multiple-locations-and-device-types/40439)

<div class="topic-metadata">

**Author:** [@chvach13653](https://forum.ansible.com/u/chvach13653)\
**Replies:** 2\
**Last updated:** [February 21, 2025, 11:43pm UTC](https://forum.ansible.com/t/inventory-file-for-multiple-locations-and-device-types/40439 "2025-02-21T23:43:53Z")

</div>

I am new to ansible. I want to use it to automate network device upgrades at a large client with several locations using Cisco catalyst switches. Each location may use 2 - 3 different model switches, 2960X for access s…

---

## [Sort with two attributes](https://forum.ansible.com/t/sort-with-two-attributes/40437)

<div class="topic-metadata">

**Author:** [@Luiz\_Gustavo](https://forum.ansible.com/u/Luiz_Gustavo)\
**Replies:** 5\
**Last updated:** [February 21, 2025, 8:13pm UTC](https://forum.ansible.com/t/sort-with-two-attributes/40437 "2025-02-21T20:13:21Z")

</div>

Hello experts, How to sort a dict with two attributes for output in a report, similar to the code: --- - hosts: localhost gather\_facts: false vars: databases: \[ { "dbname": "A\_…

---

## [Ansible insists on using PowerShell instead of bash](https://forum.ansible.com/t/ansible-insists-on-using-powershell-instead-of-bash/40209)

<div class="topic-metadata">

**Author:** [@pacyt](https://forum.ansible.com/u/pacyt)\
**Replies:** 8\
**Last updated:** [February 21, 2025, 6:30pm UTC](https://forum.ansible.com/t/ansible-insists-on-using-powershell-instead-of-bash/40209 "2025-02-21T18:30:23Z")

</div>

I’ve encountered a challenging problem while working with Ansible and I wanted to ask for your help and advice. While running an Ansible role that registers Windows hosts in Zabbix, Ansible insists on using PowerShell. …

---

## [Failed to create Volumes in HPE machine with redfish\_config](https://forum.ansible.com/t/failed-to-create-volumes-in-hpe-machine-with-redfish-config/11207)

<div class="topic-metadata">

**Author:** [@colbacc8](https://forum.ansible.com/u/colbacc8)\
**Replies:** 1\
**Last updated:** [February 21, 2025, 5:12pm UTC](https://forum.ansible.com/t/failed-to-create-volumes-in-hpe-machine-with-redfish-config/11207 "2025-02-21T17:12:51Z")

</div>

Hi there! I’m trying to use ansible and redfish to configure HPE machines with ILO5 v3.0.9 I’m using the HP ilo ansible collection GitHub - HewlettPackard/ilo-ansible-collection: Ansible Collection and Sample Playbooks…

---

## [How to end up with a single backslash](https://forum.ansible.com/t/how-to-end-up-with-a-single-backslash/40408)

<div class="topic-metadata">

**Author:** [@opoplawski](https://forum.ansible.com/u/opoplawski)\
**Replies:** 2\
**Last updated:** [February 21, 2025, 3:30pm UTC](https://forum.ansible.com/t/how-to-end-up-with-a-single-backslash/40408 "2025-02-21T15:30:30Z")

</div>

I need to select registry keys that match a regex, and then reconstruct the key paths. I’m trying to do: - name: Get registry entries ansible.windows.win\_reg\_stat: path: 'HKLM:\\SOFTWARE\\Microsoft\\Wind…

---

## [Ansible tower with cloud jira ticket integration](https://forum.ansible.com/t/ansible-tower-with-cloud-jira-ticket-integration/40391)

<div class="topic-metadata">

**Author:** [@TomPo](https://forum.ansible.com/u/TomPo)\
**Replies:** 1\
**Last updated:** [February 21, 2025, 2:57pm UTC](https://forum.ansible.com/t/ansible-tower-with-cloud-jira-ticket-integration/40391 "2025-02-21T14:57:12Z")

</div>

Hello, I am new to ansible tower. So i need a technical explanation or example how to integrate cloud jira with ansible tower. My situation seems very simple. I have scripts that do the job perfectly. But now I faced th…

---

## [Solution for "Unable to parse /tmp/inventory\*\*\*.ini as an inventory source" error in anisble playbook](https://forum.ansible.com/t/solution-for-unable-to-parse-tmp-inventory-ini-as-an-inventory-source-error-in-anisble-playbook/40226)

<div class="topic-metadata">

**Author:** [@gjvignesh](https://forum.ansible.com/u/gjvignesh)\
**Replies:** 6\
**Last updated:** [February 21, 2025, 1:53pm UTC](https://forum.ansible.com/t/solution-for-unable-to-parse-tmp-inventory-ini-as-an-inventory-source-error-in-anisble-playbook/40226 "2025-02-21T13:53:58Z")

</div>

I am running ansible 2.9.10 version in CentOS Linux 7 server. Below are the parameters enabled in ansible.cfg file. remote\_tmp = /tmp allow\_world\_readable\_tmpfiles = True I trigger ansible playbook my jenkins insta…

---

## [Automation with Ansible: Configuring Down Ports on a Cisco Switch](https://forum.ansible.com/t/automation-with-ansible-configuring-down-ports-on-a-cisco-switch/40335)

<div class="topic-metadata">

**Author:** [@DanielSilva](https://forum.ansible.com/u/DanielSilva)\
**Replies:** 2\
**Last updated:** [February 21, 2025, 1:46pm UTC](https://forum.ansible.com/t/automation-with-ansible-configuring-down-ports-on-a-cisco-switch/40335 "2025-02-21T13:46:15Z")

</div>

Good afternoon, everyone. I need to automate a Cisco switch using Ansible to scan all ports and apply a specific configuration to those that are down and do not have a transceiver. For example, I need to add these ports…

---

## [AAP2.5 How do you create controller\_roles](https://forum.ansible.com/t/aap2-5-how-do-you-create-controller-roles/40148)

<div class="topic-metadata">

**Author:** [@viktor.romhanyi](https://forum.ansible.com/u/viktor.romhanyi)\
**Replies:** 2\
**Last updated:** [February 21, 2025, 1:14pm UTC](https://forum.ansible.com/t/aap2-5-how-do-you-create-controller-roles/40148 "2025-02-21T13:14:36Z")

</div>

Can someone please help us and tell me how it is possible to create roles in the 2.5 Controller/Automation Execution? We tried the approach of using filetree\_read and then dispatch. infra.aap\_configuration.dispatch see…

---

## [Fail\_msg output using assert](https://forum.ansible.com/t/fail-msg-output-using-assert/40389)

<div class="topic-metadata">

**Author:** [@Joy123](https://forum.ansible.com/u/Joy123)\
**Replies:** 2\
**Last updated:** [February 21, 2025, 1:02am UTC](https://forum.ansible.com/t/fail-msg-output-using-assert/40389 "2025-02-21T01:02:32Z")

</div>

Hi, I would like to check if there is any way to display the assert fail\_msg cleanly as I currently noticed that the output generated will also include some of the debug messages. example assert code - name: Assert c…

---

## [Can't run the execution environment based on quay.io/ansible/awx-ee built as non-root?](https://forum.ansible.com/t/cant-run-the-execution-environment-based-on-quay-io-ansible-awx-ee-built-as-non-root/40351)

<div class="topic-metadata">

**Author:** [@cnfrancis](https://forum.ansible.com/u/cnfrancis)\
**Replies:** 2\
**Last updated:** [February 21, 2025, 1:00am UTC](https://forum.ansible.com/t/cant-run-the-execution-environment-based-on-quay-io-ansible-awx-ee-built-as-non-root/40351 "2025-02-21T01:00:35Z")

</div>

Hello! I’m trying to run the AWX-EE as non-root FROM REGISTRY/docker-quay-remote/ansible/awx-ee@sha256:c5f0c1f73b380a5720c8a1a24a4dc883a0526142c60e5b8830b4a624d03d669d USER root ... SOME WORK USER 1000:1000 Howeve…

---

## [Trying to speed up ansible with serial running, but it hangs after a while constantly](https://forum.ansible.com/t/trying-to-speed-up-ansible-with-serial-running-but-it-hangs-after-a-while-constantly/40370)

<div class="topic-metadata">

**Author:** [@lilian-granqvist](https://forum.ansible.com/u/lilian-granqvist)\
**Replies:** 8\
**Last updated:** [February 20, 2025, 11:16pm UTC](https://forum.ansible.com/t/trying-to-speed-up-ansible-with-serial-running-but-it-hangs-after-a-while-constantly/40370 "2025-02-20T23:16:24Z")

</div>

We have some hundred servers I try to run ansible script against, if I’ve understood correctly it by default runs one host at a time, and with serial you can increase this. depending on if I have 100% or 10 as serial it …

---

## [Why role cannot find template](https://forum.ansible.com/t/why-role-cannot-find-template/40379)

<div class="topic-metadata">

**Author:** [@rwagnergit](https://forum.ansible.com/u/rwagnergit)\
**Replies:** 6\
**Last updated:** [February 20, 2025, 8:56pm UTC](https://forum.ansible.com/t/why-role-cannot-find-template/40379 "2025-02-20T20:56:44Z")

</div>

Why would a role be able to find a template on one control machine but not another (both control machines are running out of the same git repo, so the playbooks/roles/templates/ansible.cfg are identical)? Directory stru…

---

## [Set user password only once?](https://forum.ansible.com/t/set-user-password-only-once/40383)

<div class="topic-metadata">

**Author:** [@microlinux](https://forum.ansible.com/u/microlinux)\
**Replies:** 4\
**Last updated:** [February 20, 2025, 3:46pm UTC](https://forum.ansible.com/t/set-user-password-only-once/40383 "2025-02-20T15:46:47Z")

</div>

Hi, I have a local.yml playbook to setup a test environment with ansible-pull. In this playbook I have a setup\_firstuser role that sets up the first non-root user. Here’s what setup\_firstuser/tasks/main.yml looks like: …

---

## [Check if a package (RPM) is installed in a certain version](https://forum.ansible.com/t/check-if-a-package-rpm-is-installed-in-a-certain-version/40371)

<div class="topic-metadata">

**Author:** [@microlinux](https://forum.ansible.com/u/microlinux)\
**Replies:** 4\
**Last updated:** [February 20, 2025, 11:31am UTC](https://forum.ansible.com/t/check-if-a-package-rpm-is-installed-in-a-certain-version/40371 "2025-02-20T11:31:45Z")

</div>

Hi, I’m currently writing a playbook for a workstation running Rocky Linux, and I can’t figure out one detail. I want to add a line to a file (yum.conf) only when the vagrant package is installed in version 2.4.1. I kn…

---

## [AWX integration with Jira](https://forum.ansible.com/t/awx-integration-with-jira/210)

<div class="topic-metadata">

**Author:** [@anup.sah](https://forum.ansible.com/u/anup.sah)\
**Replies:** 7\
**Last updated:** [February 20, 2025, 8:36am UTC](https://forum.ansible.com/t/awx-integration-with-jira/210 "2025-02-20T08:36:35Z")

</div>

Hi Everyone, I am looking for the AWX integration with jira and create a project in it using playbook. Could anyone help me with the documentaion? Even while adding the new credentials in AWX, i did not get any Credent…

---

## [Test hashicorp credentials from AAP UI](https://forum.ansible.com/t/test-hashicorp-credentials-from-aap-ui/39718)

<div class="topic-metadata">

**Author:** [@selvi](https://forum.ansible.com/u/selvi)\
**Replies:** 5\
**Last updated:** [February 19, 2025, 9:25pm UTC](https://forum.ansible.com/t/test-hashicorp-credentials-from-aap-ui/39718 "2025-02-19T21:25:47Z")

</div>

Hi, My AAP is up and running, i am trying to integrate hashicorp vault into it. Connection established between two server via https. I can able to retrieve secrets using curl via cli. But at the same time, if i try to …

---

## [EDA Webhook Not Triggering AWX Job from NetBox](https://forum.ansible.com/t/eda-webhook-not-triggering-awx-job-from-netbox/40372)

<div class="topic-metadata">

**Author:** [@bayet](https://forum.ansible.com/u/bayet)\
**Replies:** 0\
**Last updated:** [February 19, 2025, 4:30pm UTC](https://forum.ansible.com/t/eda-webhook-not-triggering-awx-job-from-netbox/40372 "2025-02-19T16:30:33Z")

</div>

Hi everyone, I’m setting up an EDA server in combination with AWX and NetBox. My goal is for NetBox to send an event that triggers a webhook, which in turn activates a job in AWX to perform a task. The rule activation…

---

## [Loggers & Events](https://forum.ansible.com/t/loggers-events/40211)

<div class="topic-metadata">

**Author:** [@Leon](https://forum.ansible.com/u/Leon)\
**Replies:** 4\
**Last updated:** [February 19, 2025, 4:02pm UTC](https://forum.ansible.com/t/loggers-events/40211 "2025-02-19T16:02:25Z")

</div>

Hello, Are the loggers and their corresponding events in this chart correct? Thanks

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

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