# Get Help

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

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

**Page:** 12

---

## [Help w a Conditional Block with an "import playbook" Syntax](https://forum.ansible.com/t/help-w-a-conditional-block-with-an-import-playbook-syntax/45103)

<div class="topic-metadata">

**Author:** [@clerambeau370](https://forum.ansible.com/u/clerambeau370)\
**Replies:** 6\
**Last updated:** [January 14, 2026, 6:38pm UTC](https://forum.ansible.com/t/help-w-a-conditional-block-with-an-import-playbook-syntax/45103 "2026-01-14T18:38:53Z")

</div>

Hello. I need some help with a conditional block execution. It has to import a playbook only if a certain condition is met. So far, I can either: import the other playbook without the condition, or debug the variable c…

---

## [Windows winrm/kerberos fails intermittently in same playbook/relaunches (RESOLVED)](https://forum.ansible.com/t/windows-winrm-kerberos-fails-intermittently-in-same-playbook-relaunches-resolved/39658)

<div class="topic-metadata">

**Author:** [@idlebyte](https://forum.ansible.com/u/idlebyte)\
**Replies:** 8\
**Last updated:** [January 13, 2026, 7:30pm UTC](https://forum.ansible.com/t/windows-winrm-kerberos-fails-intermittently-in-same-playbook-relaunches-resolved/39658 "2026-01-13T19:30:32Z")

</div>

Basic Ansible Automation Platform install on an Azure VM running kerberos auth’d WinRM calls using win\_shell fails intermittently with ‘server not found in kerberos database’. --- - name: Test Powershell Executions ho…

---

## [Filter plugins wont be loaded](https://forum.ansible.com/t/filter-plugins-wont-be-loaded/45092)

<div class="topic-metadata">

**Author:** [@schuert](https://forum.ansible.com/u/schuert)\
**Replies:** 3\
**Last updated:** [January 13, 2026, 4:22pm UTC](https://forum.ansible.com/t/filter-plugins-wont-be-loaded/45092 "2026-01-13T16:22:28Z")

</div>

Hi Guiys, I have Problems with self written filter\_plugins that worked flawlessly in the past. I’m executing ansible playbooks via gitlab-runner in our infrastructure. In the past we used a runner of type shell. Some r…

---

## [Which tool to use for auto-generating Ansible modules from OpenAPI definitions?](https://forum.ansible.com/t/which-tool-to-use-for-auto-generating-ansible-modules-from-openapi-definitions/45091)

<div class="topic-metadata">

**Author:** [@stdevel](https://forum.ansible.com/u/stdevel)\
**Replies:** 2\
**Last updated:** [January 13, 2026, 4:05pm UTC](https://forum.ansible.com/t/which-tool-to-use-for-auto-generating-ansible-modules-from-openapi-definitions/45091 "2026-01-13T16:05:40Z")

</div>

Hello everybody, I’m currently trying to auto-generate Ansible modules from OpenAPI (Swagger) definitions. During research I stumbled upon the ansible.content\_builder collection. This collection is suspect to be replace…

---

## [Ansible Arista EoS Gather Facts about LACP](https://forum.ansible.com/t/ansible-arista-eos-gather-facts-about-lacp/45088)

<div class="topic-metadata">

**Author:** [@netmart](https://forum.ansible.com/u/netmart)\
**Replies:** 1\
**Last updated:** [January 13, 2026, 12:04pm UTC](https://forum.ansible.com/t/ansible-arista-eos-gather-facts-about-lacp/45088 "2026-01-13T12:04:51Z")

</div>

Hello, when running the playbook gat fact about status of lacp interface on Arista switch I receive: fatal: \[switch\]: FAILED! =\> {“changed”: false, “msg”: “Subset must be one of \[config, default, hardware, interfaces\]…

---

## [rubrik modules are still supported ?](https://forum.ansible.com/t/rubrik-modules-are-still-supported/45087)

<div class="topic-metadata">

**Author:** [@Thulsi\_Krishnan](https://forum.ansible.com/u/Thulsi_Krishnan)\
**Replies:** 6\
**Last updated:** [January 12, 2026, 6:38pm UTC](https://forum.ansible.com/t/rubrik-modules-are-still-supported/45087 "2026-01-12T18:38:28Z")

</div>

Hi Greetings. A question on rubrik modules (rubrikinc.cdm), are these still supported from Ansible . Cheers Thulsi Doss Krishnan

---

## [How to Handle Diverse System Architectures and Operating System Components](https://forum.ansible.com/t/how-to-handle-diverse-system-architectures-and-operating-system-components/45083)

<div class="topic-metadata">

**Author:** [@StefanSchnell](https://forum.ansible.com/u/StefanSchnell)\
**Replies:** 0\
**Last updated:** [January 12, 2026, 7:58am UTC](https://forum.ansible.com/t/how-to-handle-diverse-system-architectures-and-operating-system-components/45083 "2026-01-12T07:58:58Z")

</div>

Hello all, :waving\_hand: the last few days I have been working with a heterogeneous system landscape that are to be processed with Ansible. The challenge is, on the one hand, to use an architecture-dependent software co…

---

## [Snmp\_facts v3 get stuck after running ansible-playbook](https://forum.ansible.com/t/snmp-facts-v3-get-stuck-after-running-ansible-playbook/44986)

<div class="topic-metadata">

**Author:** [@ali-taha](https://forum.ansible.com/u/ali-taha)\
**Replies:** 2\
**Last updated:** [January 12, 2026, 7:19am UTC](https://forum.ansible.com/t/snmp-facts-v3-get-stuck-after-running-ansible-playbook/44986 "2026-01-12T07:19:17Z")

</div>

Hi Everyone, I was working with snmp\_facts v2 module to gather a variety of facts from the cisco Switches. Now we migrated from snmp v2 to v3 on all switches that we administer. Thus, i tried to adjust the playbook in w…

---

## [Should we be using molecule or ansible-test for unit/integration tests?](https://forum.ansible.com/t/should-we-be-using-molecule-or-ansible-test-for-unit-integration-tests/5539)

<div class="topic-metadata">

**Author:** [@ryguy](https://forum.ansible.com/u/ryguy)\
**Replies:** 18\
**Last updated:** [January 11, 2026, 7:17pm UTC](https://forum.ansible.com/t/should-we-be-using-molecule-or-ansible-test-for-unit-integration-tests/5539 "2026-01-11T19:17:19Z")

</div>

Hello all, I had a general question about the use-cases/purpose of molecule vs ansible-test. For some background , I’m on a team that has a large repo with many custom roles and a number of custom plugins and modules. W…

---

## [Ansible-test images and VMs update (devel, 2.20, 2.19, 2.18)](https://forum.ansible.com/t/ansible-test-images-and-vms-update-devel-2-20-2-19-2-18/45080)

<div class="topic-metadata">

**Author:** [@felixfontein](https://forum.ansible.com/u/felixfontein)\
**Replies:** 0\
**Last updated:** [January 10, 2026, 10:29pm UTC](https://forum.ansible.com/t/ansible-test-images-and-vms-update-devel-2-20-2-19-2-18/45080 "2026-01-10T22:29:55Z")

</div>

There have been multiple updates for Ansible-core devel and the 2.20, 2.19, and 2.18 stable branches this week: Ansible-core devel: the Fedora 42 VM and Docker image were replaced by Fedora 43 (ansible-test - Replac…

---

## [\`ansible\_host\` with \`delegate\_to\` points to \`inventory\_hostname\`, not delegated host](https://forum.ansible.com/t/ansible-host-with-delegate-to-points-to-inventory-hostname-not-delegated-host/45075)

<div class="topic-metadata">

**Author:** [@marvic](https://forum.ansible.com/u/marvic)\
**Replies:** 7\
**Last updated:** [January 9, 2026, 9:27pm UTC](https://forum.ansible.com/t/ansible-host-with-delegate-to-points-to-inventory-hostname-not-delegated-host/45075 "2026-01-09T21:27:26Z")

</div>

Hello, I am quite new to Ansible, hence knowledge might be a bit rough on the edges. As follows is a simple reproduction example. inventory.yml: # Inventory has inlined variables for ease of use. # In practice these a…

---

## [Is it possible for AWX to map LDAP users to a different username based on domain?](https://forum.ansible.com/t/is-it-possible-for-awx-to-map-ldap-users-to-a-different-username-based-on-domain/45071)

<div class="topic-metadata">

**Author:** [@anon81884396](https://forum.ansible.com/u/anon81884396)\
**Replies:** 3\
**Last updated:** [January 9, 2026, 1:12pm UTC](https://forum.ansible.com/t/is-it-possible-for-awx-to-map-ldap-users-to-a-different-username-based-on-domain/45071 "2026-01-09T13:12:13Z")

</div>

In AWX’s LDAP settings, one can point to multiple different LDAP authorities. Let’s say you have domain1 and domain2, and you have a user named user. If user logs in via domain1 creds, they get a local account automatica…

---

## [Netbox.netbox.nb\_lookup returning 403 error](https://forum.ansible.com/t/netbox-netbox-nb-lookup-returning-403-error/45069)

<div class="topic-metadata">

**Author:** [@Yehudah](https://forum.ansible.com/u/Yehudah)\
**Replies:** 0\
**Last updated:** [January 8, 2026, 7:30am UTC](https://forum.ansible.com/t/netbox-netbox-nb-lookup-returning-403-error/45069 "2026-01-08T07:30:23Z")

</div>

My ansible inventory has netbox\_url and netbox\_token under \[all:vars\] When I do a curl request too the api with whose credential I get a 200 response In my ansible playbook I have this task - name: Get device details…

---

## [Trying to setup ubuntu security patching only](https://forum.ansible.com/t/trying-to-setup-ubuntu-security-patching-only/44982)

<div class="topic-metadata">

**Author:** [@merrittr](https://forum.ansible.com/u/merrittr)\
**Replies:** 8\
**Last updated:** [January 8, 2026, 1:04am UTC](https://forum.ansible.com/t/trying-to-setup-ubuntu-security-patching-only/44982 "2026-01-08T01:04:38Z")

</div>

from the command line in ubuntu i can run: apt list --upgradable | grep security | cut -d/ -f1 | xargs sudo apt-get install -y but the ansible I have is : hosts: all become: true become\_user: root tasks: name: …

---

## [Module\_defaults no longer accept values as templates](https://forum.ansible.com/t/module-defaults-no-longer-accept-values-as-templates/45026)

<div class="topic-metadata">

**Author:** [@noonedeadpunk](https://forum.ansible.com/u/noonedeadpunk)\
**Replies:** 4\
**Last updated:** [January 7, 2026, 3:33pm UTC](https://forum.ansible.com/t/module-defaults-no-longer-accept-values-as-templates/45026 "2026-01-07T15:33:54Z")

</div>

I am looking into our upgrade path to ansible-core 2.19 (which is /o\\ so far), and stumbled across changed behavior which I haven’t found was documented in the upgrade guide (Ansible-core 2.19 Porting Guide — Ansible Com…

---

## [Migrating AWX postgres 13 to 15](https://forum.ansible.com/t/migrating-awx-postgres-13-to-15/45067)

<div class="topic-metadata">

**Author:** [@ssb-jnk](https://forum.ansible.com/u/ssb-jnk)\
**Replies:** 0\
**Last updated:** [January 7, 2026, 2:14pm UTC](https://forum.ansible.com/t/migrating-awx-postgres-13-to-15/45067 "2026-01-07T14:14:43Z")

</div>

Greetings, in the past few months we have been attempting to migrate awx to a newer version, with that postgres. However we are experiencing issues with the migration from postgres-13 to postgres-15. This is our curren…

---

## [AWX, Ansible 2.19, and set\_stats in workflows](https://forum.ansible.com/t/awx-ansible-2-19-and-set-stats-in-workflows/45041)

<div class="topic-metadata">

**Author:** [@MallocArray](https://forum.ansible.com/u/MallocArray)\
**Replies:** 2\
**Last updated:** [January 6, 2026, 9:43pm UTC](https://forum.ansible.com/t/awx-ansible-2-19-and-set-stats-in-workflows/45041 "2026-01-06T21:43:33Z")

</div>

Using AWX 24.6.1 and have a Workflow that has one node that finishes with a set\_stats of a dictionary that contains some values that are strings with a value of “true” In AWX we see the artifacts as string values, and i…

---

## [The best tool to make ansible playbooks with Spec Driven Development](https://forum.ansible.com/t/the-best-tool-to-make-ansible-playbooks-with-spec-driven-development/45027)

<div class="topic-metadata">

**Author:** [@masataguchi77](https://forum.ansible.com/u/masataguchi77)\
**Replies:** 2\
**Last updated:** [January 6, 2026, 12:05am UTC](https://forum.ansible.com/t/the-best-tool-to-make-ansible-playbooks-with-spec-driven-development/45027 "2026-01-06T00:05:10Z")

</div>

What is the best tool to make ansible playbooks with Spec Driven Development? I am going to start experimenting it on Kiro. If you have any recommendation, let me know!

---

## [Agent deployment failed with ansible template](https://forum.ansible.com/t/agent-deployment-failed-with-ansible-template/44888)

<div class="topic-metadata">

**Author:** [@tarun](https://forum.ansible.com/u/tarun)\
**Replies:** 3\
**Last updated:** [January 5, 2026, 8:30pm UTC](https://forum.ansible.com/t/agent-deployment-failed-with-ansible-template/44888 "2026-01-05T20:30:52Z")

</div>

We are deploying azdevops self hosted agent using ansible template but i see it failed with following error, Please suggest fatal: \[SERVER\]: FAILED! =\> {“changed”: false, “cmd”: “cmd.exe /c type "C:\\\\Temp\\\\Azure-DevOps-…

---

## [Jinja syntax and line break](https://forum.ansible.com/t/jinja-syntax-and-line-break/45053)

<div class="topic-metadata">

**Author:** [@chumi](https://forum.ansible.com/u/chumi)\
**Replies:** 2\
**Last updated:** [January 5, 2026, 6:31pm UTC](https://forum.ansible.com/t/jinja-syntax-and-line-break/45053 "2026-01-05T18:31:59Z")

</div>

Hi i’ve got: var1: - a1 - b1 var2: - a2 - b2 in a template, i copy the content : {{ foo\_content }} i’d like to get the content of the file as: a1 b1 a2 b2 but if foo\_content: blabla {% if var1…

---

## [Jinja2 template with nested loops](https://forum.ansible.com/t/jinja2-template-with-nested-loops/45047)

<div class="topic-metadata">

**Author:** [@Django](https://forum.ansible.com/u/Django)\
**Replies:** 2\
**Last updated:** [January 3, 2026, 8:44pm UTC](https://forum.ansible.com/t/jinja2-template-with-nested-loops/45047 "2026-01-03T20:44:28Z")

</div>

OK: what’s this about? I have defined various hosts in my inventory. Among other things, the hosts in the IDMZ zone each have an array with a different number of alias definitions. The host vml010110 has the following …

---

## [Parsing and vaulting yaml the Ansible way with ruamel.yaml](https://forum.ansible.com/t/parsing-and-vaulting-yaml-the-ansible-way-with-ruamel-yaml/2433)

<div class="topic-metadata">

**Author:** [@utoddl](https://forum.ansible.com/u/utoddl)\
**Replies:** 5\
**Last updated:** [January 2, 2026, 12:24am UTC](https://forum.ansible.com/t/parsing-and-vaulting-yaml-the-ansible-way-with-ruamel-yaml/2433 "2026-01-02T00:24:30Z")

</div>

I tend to favor vaulted scalar values in vars files over entire vaulted files, partly because I can grep for variable names successfully. (I grep a lot!) But creating and managing vaulted scalars is a bit clunky. To mak…

---

## [Jinja2 template and generating a table with fixed columns](https://forum.ansible.com/t/jinja2-template-and-generating-a-table-with-fixed-columns/45044)

<div class="topic-metadata">

**Author:** [@Django](https://forum.ansible.com/u/Django)\
**Replies:** 5\
**Last updated:** [January 1, 2026, 6:42pm UTC](https://forum.ansible.com/t/jinja2-template-and-generating-a-table-with-fixed-columns/45044 "2026-01-01T18:42:24Z")

</div>

OK, I want to create a list using a template. This consists of two columns, one for the host portion of the IPV4 address (the fourth number of the IPv4 address) and one for the host name. The host names and IP addresses …

---

## [Constructing tuple list string with templated variables gets converted to a list of lists](https://forum.ansible.com/t/constructing-tuple-list-string-with-templated-variables-gets-converted-to-a-list-of-lists/45035)

<div class="topic-metadata">

**Author:** [@usaghir](https://forum.ansible.com/u/usaghir)\
**Replies:** 2\
**Last updated:** [December 30, 2025, 2:14pm UTC](https://forum.ansible.com/t/constructing-tuple-list-string-with-templated-variables-gets-converted-to-a-list-of-lists/45035 "2025-12-30T14:14:13Z")

</div>

Constructing tuple list string with templated variables gets converted to a list of lists Versions: ansible-playbook \[core 2.17.6\] python version = 3.13.11 jinja version = 3.1.4 I’m trying to automate the configuratio…

---

## [What is the purpose of the repository ansible-core/ansible?](https://forum.ansible.com/t/what-is-the-purpose-of-the-repository-ansible-core-ansible/44727)

<div class="topic-metadata">

**Author:** [@akira6592](https://forum.ansible.com/u/akira6592)\
**Replies:** 11\
**Last updated:** [December 30, 2025, 11:15am UTC](https://forum.ansible.com/t/what-is-the-purpose-of-the-repository-ansible-core-ansible/44727 "2025-12-30T11:15:46Z")

</div>

Does anyone know the purpose of the following repository? (not ansible/ansible) My colleague misunderstood it as an ansible-core repository. The official ansible-core repository is ansible/ansible, right?

---

## [A ServiceNow ITSM Ansible Task Fails on an Attachment, a Manual File Attachment Works](https://forum.ansible.com/t/a-servicenow-itsm-ansible-task-fails-on-an-attachment-a-manual-file-attachment-works/44995)

<div class="topic-metadata">

**Author:** [@clerambeau370](https://forum.ansible.com/u/clerambeau370)\
**Replies:** 3\
**Last updated:** [December 27, 2025, 12:24pm UTC](https://forum.ansible.com/t/a-servicenow-itsm-ansible-task-fails-on-an-attachment-a-manual-file-attachment-works/44995 "2025-12-27T12:24:36Z")

</div>

Hello. The problem is this: I can attach a file to a Change request manually, but not via an Ansible automation playbook. I am using the Ansible ServiceNow ITSM. Essentially, it is a Python-based automation softwa…

---

## [Managing a unique DMZ](https://forum.ansible.com/t/managing-a-unique-dmz/45023)

<div class="topic-metadata">

**Author:** [@zane](https://forum.ansible.com/u/zane)\
**Replies:** 1\
**Last updated:** [December 24, 2025, 12:51pm UTC](https://forum.ansible.com/t/managing-a-unique-dmz/45023 "2025-12-24T12:51:46Z")

</div>

My team and I have encountered a unique issue when trying to find a solution for managing a unique DMZ - We have a L7 gateway between us and the DMZ, that only supports http/ws It also only accepts json/xml payloads (w…

---

## [Tweaking an inventory's groups](https://forum.ansible.com/t/tweaking-an-inventorys-groups/45024)

<div class="topic-metadata">

**Author:** [@utoddl](https://forum.ansible.com/u/utoddl)\
**Replies:** 4\
**Last updated:** [December 24, 2025, 12:08am UTC](https://forum.ansible.com/t/tweaking-an-inventorys-groups/45024 "2025-12-24T00:08:58Z")

</div>

I want to experiment with applying tweaks to an otherwise static inventory at runtime, but I’m not sure how to accomplish this. The existing inventory is a straightforward “ini” format single file, all hosts are in group…

---

## [SSH key generation vs. warnings](https://forum.ansible.com/t/ssh-key-generation-vs-warnings/43220)

<div class="topic-metadata">

**Author:** [@microlinux](https://forum.ansible.com/u/microlinux)\
**Replies:** 4\
**Last updated:** [December 23, 2025, 12:15pm UTC](https://forum.ansible.com/t/ssh-key-generation-vs-warnings/43220 "2025-12-23T12:15:56Z")

</div>

Hi, I have an Ansible role to setup the root account on AlmaLinux 9.x. Here’s what the task looks like: - name: Set password and generate SSH key pair for root ansible.builtin.user: name: root password: \>- …

---

## [Module user WARNING:Found existing ssh key](https://forum.ansible.com/t/module-user-warning-found-existing-ssh-key/45021)

<div class="topic-metadata">

**Author:** [@vbotka](https://forum.ansible.com/u/vbotka)\
**Replies:** 3\
**Last updated:** [December 23, 2025, 10:41am UTC](https://forum.ansible.com/t/module-user-warning-found-existing-ssh-key/45021 "2025-12-23T10:41:26Z")

</div>

The module user - ansible.builtin.user: name: root generate\_ssh\_key: true warns about existing SSH key \[WARNING\]: Found existing ssh key private file "/root/.ssh/id\_rsa", no force, so skipping ssh-keygen gener…

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

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