# Get Help

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

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

**Page:** 51

---

## [Extra\_vars from rulebook appears undefined in the playbook triggered by run\_job\_template](https://forum.ansible.com/t/extra-vars-from-rulebook-appears-undefined-in-the-playbook-triggered-by-run-job-template/11229)

<div class="topic-metadata">

**Author:** [@carlyle705](https://forum.ansible.com/u/carlyle705)\
**Replies:** 1\
**Last updated:** [December 1, 2024, 11:42pm UTC](https://forum.ansible.com/t/extra-vars-from-rulebook-appears-undefined-in-the-playbook-triggered-by-run-job-template/11229 "2024-12-01T23:42:26Z")

</div>

The rulebook: - name: Listen for events on a webhook hosts: all # Define our source for events sources: - ansible.eda.webhook: host: 0.0.0.0 port: 5000 # Define the conditions we are looking …

---

## [Error upgrade VMWare tools](https://forum.ansible.com/t/error-upgrade-vmware-tools/10684)

<div class="topic-metadata">

**Author:** [@ansibliano](https://forum.ansible.com/u/ansibliano)\
**Replies:** 5\
**Last updated:** [November 30, 2024, 2:46pm UTC](https://forum.ansible.com/t/error-upgrade-vmware-tools/10684 "2024-11-30T14:46:04Z")

</div>

Hi, I am trying to upgrade VMWare tools using the module: community.vmware.vmware\_guest\_tools\_upgrade I obtain: “msg”: “VMware tools could not be upgraded” this is the part of ansible yml: - name: Upgrade VMwa…

---

## [A simple approach to locally scoped facts; asking for feedback](https://forum.ansible.com/t/a-simple-approach-to-locally-scoped-facts-asking-for-feedback/10797)

<div class="topic-metadata">

**Author:** [@pieterjanv](https://forum.ansible.com/u/pieterjanv)\
**Replies:** 8\
**Last updated:** [November 30, 2024, 10:43am UTC](https://forum.ansible.com/t/a-simple-approach-to-locally-scoped-facts-asking-for-feedback/10797 "2024-11-30T10:43:45Z")

</div>

For the last few weeks I’ve been using Ansible quite extensively, and I realized for the first time that facts set in roles are not locally scoped. It so happens I like to name my variables as generically as the context …

---

## [Execution order of "import\_role" and "include\_role"?](https://forum.ansible.com/t/execution-order-of-import-role-and-include-role/11232)

<div class="topic-metadata">

**Author:** [@Toni](https://forum.ansible.com/u/Toni)\
**Replies:** 3\
**Last updated:** [November 29, 2024, 8:56pm UTC](https://forum.ansible.com/t/execution-order-of-import-role-and-include-role/11232 "2024-11-29T20:56:14Z")

</div>

Hi, I have an Ansible role where I want to run another Ansible role much like a subroutine. So, in the middle of a playbook (tasks/main.yaml) I have an “import\_role” task to run that other role. I used to have Ansible 2…

---

## [Galaxy-NG installation issue](https://forum.ansible.com/t/galaxy-ng-installation-issue/11020)

<div class="topic-metadata">

**Author:** [@ArnoCtr](https://forum.ansible.com/u/ArnoCtr)\
**Replies:** 2\
**Last updated:** [November 30, 2024, 7:05am UTC](https://forum.ansible.com/t/galaxy-ng-installation-issue/11020 "2024-11-30T07:05:10Z")

</div>

Hello, I’m installing Galaxy-NG using the following documentation (Installation - Galaxy NG), but when I run the “docker run …” command I get the following error in the deployment logs. “ImportError: Could not import ‘g…

---

## [EDA rulebook condition on webhook header keys](https://forum.ansible.com/t/eda-rulebook-condition-on-webhook-header-keys/11139)

<div class="topic-metadata">

**Author:** [@carlyle705](https://forum.ansible.com/u/carlyle705)\
**Replies:** 9\
**Last updated:** [November 30, 2024, 4:19am UTC](https://forum.ansible.com/t/eda-rulebook-condition-on-webhook-header-keys/11139 "2024-11-30T04:19:48Z")

</div>

Hello EDA Experts, I’m new to Ansible. I recently installed AAP 2.5 for learning purpose. I was trying to create a simple rulebook which is triggered by a webhook from jfrog to run a template. I included a key value pai…

---

## [Ansible loop with include\_tasks preserves variables from other iterations](https://forum.ansible.com/t/ansible-loop-with-include-tasks-preserves-variables-from-other-iterations/10829)

<div class="topic-metadata">

**Author:** [@Edvinas](https://forum.ansible.com/u/Edvinas)\
**Replies:** 11\
**Last updated:** [November 29, 2024, 5:39pm UTC](https://forum.ansible.com/t/ansible-loop-with-include-tasks-preserves-variables-from-other-iterations/10829 "2024-11-29T17:39:29Z")

</div>

Trying to use include\_tasks with looping over the variables. - name: Wrapper playbook to loop over interfaces hosts: HYKNET01,HYKNET02 tasks: - name: Include network configuration tasks include\_tasks: netw…

---

## [Using apt gives error](https://forum.ansible.com/t/using-apt-gives-error/11226)

<div class="topic-metadata">

**Author:** [@capbussat](https://forum.ansible.com/u/capbussat)\
**Replies:** 4\
**Last updated:** [November 29, 2024, 4:59pm UTC](https://forum.ansible.com/t/using-apt-gives-error/11226 "2024-11-29T16:59:22Z")

</div>

I am trying to use a playbook with ansible.builtin.apt but I get a sudo error. I am using a user, which is not root, that effectively uses sudo in target host. In /etc/ansible/hosts there is the IP of host with user an…

---

## [How to use ansible-vault file per inventory](https://forum.ansible.com/t/how-to-use-ansible-vault-file-per-inventory/11220)

<div class="topic-metadata">

**Author:** [@lundyg](https://forum.ansible.com/u/lundyg)\
**Replies:** 1\
**Last updated:** [November 29, 2024, 11:21am UTC](https://forum.ansible.com/t/how-to-use-ansible-vault-file-per-inventory/11220 "2024-11-29T11:21:27Z")

</div>

Hi, I would like to use one inventory file per environement ( pre-production , production…) store my credentials in an ansible vault file credentials are specific per environment … so per inventory How should I do. …

---

## [Ansible Community, Ansible Core and RHEL 8](https://forum.ansible.com/t/ansible-community-ansible-core-and-rhel-8/11198)

<div class="topic-metadata">

**Author:** [@cam-mclaren](https://forum.ansible.com/u/cam-mclaren)\
**Replies:** 1\
**Last updated:** [November 28, 2024, 7:25pm UTC](https://forum.ansible.com/t/ansible-community-ansible-core-and-rhel-8/11198 "2024-11-28T19:25:44Z")

</div>

Hi, My team maintains RHEL 8 based servers using Ansible. From reading the ansible-core documentation this means we must use ansible-core\<2.17. This is fine as ansible-core 2.16 is being treated as an LTS for RHEL 8. M…

---

## [Awx-operator and Karpenter in EKS](https://forum.ansible.com/t/awx-operator-and-karpenter-in-eks/2498)

<div class="topic-metadata">

**Author:** [@trippinnik](https://forum.ansible.com/u/trippinnik)\
**Replies:** 8\
**Last updated:** [November 28, 2024, 1:16pm UTC](https://forum.ansible.com/t/awx-operator-and-karpenter-in-eks/2498 "2024-11-28T13:16:25Z")

</div>

Failed to schedule pod, incompatible with provisioner "default", did not tolerate /karpenter=:NoSchedule; incompatible with provisioner "default-spot", did not tolerate /karpenter=:NoSchedule Does awx-operator work wi…

---

## [Win\_shell + loops + delegate\_to does not work (not at all or as expected)](https://forum.ansible.com/t/win-shell-loops-delegate-to-does-not-work-not-at-all-or-as-expected/11203)

<div class="topic-metadata">

**Author:** [@msperl](https://forum.ansible.com/u/msperl)\
**Replies:** 0\
**Last updated:** [November 28, 2024, 10:33am UTC](https://forum.ansible.com/t/win-shell-loops-delegate-to-does-not-work-not-at-all-or-as-expected/11203 "2024-11-28T10:33:39Z")

</div>

I am trying to run several win\_shell command to different windows hosts for a single linux server. The number of iterations we want to run is totally defined by the inventory (i.e group membership). This unfortunately …

---

## [List or dictionary search](https://forum.ansible.com/t/list-or-dictionary-search/11194)

<div class="topic-metadata">

**Author:** [@alexb81](https://forum.ansible.com/u/alexb81)\
**Replies:** 2\
**Last updated:** [November 28, 2024, 5:05am UTC](https://forum.ansible.com/t/list-or-dictionary-search/11194 "2024-11-28T05:05:12Z")

</div>

Hello, I’m calling on your knowledge because I’m facing a question in my development. I’ve written a role whose dictionary looks like this: test\_dict: valeur1: # "Test\_dict.valeur1 dans group\_vars/all.yml" - tes…

---

## [AWX GCP Authentication issue](https://forum.ansible.com/t/awx-gcp-authentication-issue/11183)

<div class="topic-metadata">

**Author:** [@Kuldeep](https://forum.ansible.com/u/Kuldeep)\
**Replies:** 0\
**Last updated:** [November 27, 2024, 8:47am UTC](https://forum.ansible.com/t/awx-gcp-authentication-issue/11183 "2024-11-27T08:47:46Z")

</div>

H i Team, I have installed the AWX tower and am able to access it. I created the dockerfile with all the prerequisites and created the custom image and pushed to the artifact register. and setup the execution environme…

---

## [Receptor nodes can see each other, but work never leaves 'Pending' and AWX health checks fail](https://forum.ansible.com/t/receptor-nodes-can-see-each-other-but-work-never-leaves-pending-and-awx-health-checks-fail/11179)

<div class="topic-metadata">

**Author:** [@CY2iiAV5](https://forum.ansible.com/u/CY2iiAV5)\
**Replies:** 0\
**Last updated:** [November 27, 2024, 5:31am UTC](https://forum.ansible.com/t/receptor-nodes-can-see-each-other-but-work-never-leaves-pending-and-awx-health-checks-fail/11179 "2024-11-27T05:31:11Z")

</div>

Hey folks! TL;DR I think I’m able to establish a Receptor mesh network between my AWX instance and remote execution nodes, but I can’t submit work to the edge node from my AWX Receptor instances. Environment Context I’…

---

## [Variables in digitalocean inventory plugin's filter & jinja template](https://forum.ansible.com/t/variables-in-digitalocean-inventory-plugins-filter-jinja-template/11093)

<div class="topic-metadata">

**Author:** [@ajprok](https://forum.ansible.com/u/ajprok)\
**Replies:** 3\
**Last updated:** [November 27, 2024, 4:27am UTC](https://forum.ansible.com/t/variables-in-digitalocean-inventory-plugins-filter-jinja-template/11093 "2024-11-27T04:27:09Z")

</div>

Hi, Is it possible to use environment variables, or user defined variables in the filters or jinja templates in the inventory plugin. If yes, please could you provide an example. Thank you

---

## [Community.general.json\_query returns the text "Hello World!"](https://forum.ansible.com/t/community-general-json-query-returns-the-text-hello-world/11046)

<div class="topic-metadata">

**Author:** [@spam-n-eggs](https://forum.ansible.com/u/spam-n-eggs)\
**Replies:** 3\
**Last updated:** [November 26, 2024, 5:49pm UTC](https://forum.ansible.com/t/community-general-json-query-returns-the-text-hello-world/11046 "2024-11-26T17:49:39Z")

</div>

When running a query on a json data structure, the return value is “Hello World!” Query: - name: Debug the Ethernet Full Results ansible.builtin.debug: var: "{{ ethernet\_details | json\_query(\\"results\[\*\].stdout\_l…

---

## [Task marked as FAILED, even tough changed\_when: true](https://forum.ansible.com/t/task-marked-as-failed-even-tough-changed-when-true/11162)

<div class="topic-metadata">

**Author:** [@fs3000](https://forum.ansible.com/u/fs3000)\
**Replies:** 1\
**Last updated:** [November 26, 2024, 3:41pm UTC](https://forum.ansible.com/t/task-marked-as-failed-even-tough-changed-when-true/11162 "2024-11-26T15:41:33Z")

</div>

Hello everyone, Why ansible marks the task as FAILED even tough, that task has changed\_when: true or when it matches a specific condition? That makes the playbook stop, instead of marking as CHANGED (yellow), and let t…

---

## [Check for manual manipulation](https://forum.ansible.com/t/check-for-manual-manipulation/11149)

<div class="topic-metadata">

**Author:** [@merrittr](https://forum.ansible.com/u/merrittr)\
**Replies:** 2\
**Last updated:** [November 26, 2024, 6:02am UTC](https://forum.ansible.com/t/check-for-manual-manipulation/11149 "2024-11-26T06:02:25Z")

</div>

We do patching using ansible , but one of our clients is asking if there is a way to test for “drift” …not sure what that means , so they elaborated and asked if there was a way to detect if a system has been manually ma…

---

## [Windows Server install updates playbook inconsistent](https://forum.ansible.com/t/windows-server-install-updates-playbook-inconsistent/11024)

<div class="topic-metadata">

**Author:** [@andini](https://forum.ansible.com/u/andini)\
**Replies:** 9\
**Last updated:** [November 25, 2024, 8:05pm UTC](https://forum.ansible.com/t/windows-server-install-updates-playbook-inconsistent/11024 "2024-11-25T20:05:22Z")

</div>

Hi everyone, I’m new to the forum so if there is a post like this already, I apologize. I have a few windows servers with no access to the internet, in workgroup, not join to the domain. My monthly process is to manual…

---

## [Testing Rulebooks, how do you folks do it?](https://forum.ansible.com/t/testing-rulebooks-how-do-you-folks-do-it/4484)

<div class="topic-metadata">

**Author:** [@skeer](https://forum.ansible.com/u/skeer)\
**Replies:** 4\
**Last updated:** [November 25, 2024, 6:07pm UTC](https://forum.ansible.com/t/testing-rulebooks-how-do-you-folks-do-it/4484 "2024-11-25T18:07:36Z")

</div>

Just wondering, I can’t find really anything meaty on how to test rulebooks using ansible-rulebook. When developing new rulebooks, how do you experienced folks test them?

---

## [Issue with OpenSSH Machine Credential Using infra.controller\_configuration in AAP 2.4](https://forum.ansible.com/t/issue-with-openssh-machine-credential-using-infra-controller-configuration-in-aap-2-4/11135)

<div class="topic-metadata">

**Author:** [@Pushparaj\_Gothandam](https://forum.ansible.com/u/Pushparaj_Gothandam)\
**Replies:** 0\
**Last updated:** [November 25, 2024, 5:20pm UTC](https://forum.ansible.com/t/issue-with-openssh-machine-credential-using-infra-controller-configuration-in-aap-2-4/11135 "2024-11-25T17:20:45Z")

</div>

I am creating machine credentials in Ansible Automation Platform (AAP) 2.4 using the infra.controller\_configuration collection. The SSH private key being used is in OpenSSH format. However, when I attempt to use these cr…

---

## [Template with to\_ini in a loop: 'str' object has no attribute 'items'](https://forum.ansible.com/t/template-with-to-ini-in-a-loop-str-object-has-no-attribute-items/11007)

<div class="topic-metadata">

**Author:** [@daks](https://forum.ansible.com/u/daks)\
**Replies:** 14\
**Last updated:** [November 25, 2024, 4:49pm UTC](https://forum.ansible.com/t/template-with-to-ini-in-a-loop-str-object-has-no-attribute-items/11007 "2024-11-25T16:49:44Z")

</div>

I’m trying to generate some files using ansible.builtin.template and I would like to use the community.general.to\_ini jinja filter. The problem is that I have an error The error was: ansible.errors.AnsibleFilterError: …

---

## [Update Ansible password inside an ansible run](https://forum.ansible.com/t/update-ansible-password-inside-an-ansible-run/11032)

<div class="topic-metadata">

**Author:** [@HexaOrko](https://forum.ansible.com/u/HexaOrko)\
**Replies:** 3\
**Last updated:** [November 25, 2024, 2:18pm UTC](https://forum.ansible.com/t/update-ansible-password-inside-an-ansible-run/11032 "2024-11-25T14:18:27Z")

</div>

Hi, i try to update the password of the ansible user, which works, but after updateing the password the next step failed because Authentication failed. I tried to update ansible\_become\_password but maybe it can not be …

---

## [Ansible CI pipeline tips for GitLab CI](https://forum.ansible.com/t/ansible-ci-pipeline-tips-for-gitlab-ci/11123)

<div class="topic-metadata">

**Author:** [@Jeff\_Pullen](https://forum.ansible.com/u/Jeff_Pullen)\
**Replies:** 2\
**Last updated:** [November 25, 2024, 2:09pm UTC](https://forum.ansible.com/t/ansible-ci-pipeline-tips-for-gitlab-ci/11123 "2024-11-25T14:09:32Z")

</div>

I love using GitLab to test and build my Ansible content, but it can be hard to find documentation and examples online. That’s a bummer, I bet there are some really cool implementations using GitLab, and we should share …

---

## [Need To Create List Of Dictionary With New Field 'device\_id' Added](https://forum.ansible.com/t/need-to-create-list-of-dictionary-with-new-field-device-id-added/9655)

<div class="topic-metadata">

**Author:** [@javed\_khan\_siddque](https://forum.ansible.com/u/javed_khan_siddque)\
**Replies:** 7\
**Last updated:** [November 25, 2024, 12:52pm UTC](https://forum.ansible.com/t/need-to-create-list-of-dictionary-with-new-field-device-id-added/9655 "2024-11-25T12:52:34Z")

</div>

I have my code written like below . But i am not able to get proper List of dictionary. --- - name: Create final list by adding device\_id to san\_mount\_list without exceeding size\_gb hosts: localhost gather\_facts: f…

---

## [Howto Ansible into remote LXC/LXD through SSH?](https://forum.ansible.com/t/howto-ansible-into-remote-lxc-lxd-through-ssh/11105)

<div class="topic-metadata">

**Author:** [@mauricerosario](https://forum.ansible.com/u/mauricerosario)\
**Replies:** 1\
**Last updated:** [November 25, 2024, 9:11am UTC](https://forum.ansible.com/t/howto-ansible-into-remote-lxc-lxd-through-ssh/11105 "2024-11-25T09:11:31Z")

</div>

Trying not to reinvent the wheel: What would be the good way to connect into LXC containers running on a remote host, while only exposing SSH on the WAN side of the host itself? Looking for something link this: \[Ansibl…

---

## [Wildcard or Glob option in Ansible variables](https://forum.ansible.com/t/wildcard-or-glob-option-in-ansible-variables/11010)

<div class="topic-metadata">

**Author:** [@anoopv89](https://forum.ansible.com/u/anoopv89)\
**Replies:** 4\
**Last updated:** [November 24, 2024, 9:35pm UTC](https://forum.ansible.com/t/wildcard-or-glob-option-in-ansible-variables/11010 "2024-11-24T21:35:33Z")

</div>

I’m trying to install a set of services on my Linux boxes and have to start the services using Ansible Playbook as well. The issue is that when I install a package the service name of that particular package comes with …

---

## [What is a proper way to use module\_utils in action plugins](https://forum.ansible.com/t/what-is-a-proper-way-to-use-module-utils-in-action-plugins/11011)

<div class="topic-metadata">

**Author:** [@Mykhailo\_Nesterenko](https://forum.ansible.com/u/Mykhailo_Nesterenko)\
**Replies:** 2\
**Last updated:** [November 24, 2024, 10:24am UTC](https://forum.ansible.com/t/what-is-a-proper-way-to-use-module-utils-in-action-plugins/11011 "2024-11-24T10:24:00Z")

</div>

I am sharing some code between module and its action plugin in a module\_utils module. module\_utils is placed adjacent to its playbook: . ├── module\_utils/ │ └── shared\_util.py ├── library/ │ └── module.py ├── actio…

---

## [Playbook to manage bind dynamic zone](https://forum.ansible.com/t/playbook-to-manage-bind-dynamic-zone/9677)

<div class="topic-metadata">

**Author:** [@Keyzer\_Suze](https://forum.ansible.com/u/Keyzer_Suze)\
**Replies:** 1\
**Last updated:** [November 23, 2024, 9:37pm UTC](https://forum.ansible.com/t/playbook-to-manage-bind-dynamic-zone/9677 "2024-11-23T21:37:18Z")

</div>

Hi new to ansible, i have bind setup on local network with 1 zone setup for dynamic update - this is connected to my dhcp server - its working. now I have some static entries i want in there and I would like ansible to…

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

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