# Get Help

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

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

**Page:** 16

---

## [Setting connection vars in LXD Inventory](https://forum.ansible.com/t/setting-connection-vars-in-lxd-inventory/44737)

<div class="topic-metadata">

**Author:** [@dkettman](https://forum.ansible.com/u/dkettman)\
**Replies:** 2\
**Last updated:** [October 27, 2025, 5:07pm UTC](https://forum.ansible.com/t/setting-connection-vars-in-lxd-inventory/44737 "2025-10-27T17:07:28Z")

</div>

Hello, I am working on some lab building Ansible playbooks and using Incus/LXD for the “hypervisor”. Some of my VMs are Windows machines which I want to use the psrp module to connect to them. This requires setting some…

---

## [How to create an Ansible collection with a simple module step by step](https://forum.ansible.com/t/how-to-create-an-ansible-collection-with-a-simple-module-step-by-step/9718)

<div class="topic-metadata">

**Author:** [@Andersson007](https://forum.ansible.com/u/Andersson007)\
**Replies:** 9\
**Last updated:** [October 27, 2025, 9:30am UTC](https://forum.ansible.com/t/how-to-create-an-ansible-collection-with-a-simple-module-step-by-step/9718 "2025-10-27T09:30:34Z")

</div>

Creating and sharing a module is a great way of contributing to Ansible. This guide will show you step-by-step how to create and test one. When you later create useful modules doing real work, see the Ansible collectio…

---

## [Accessing data from Windows in a lookup plugin - Encoding](https://forum.ansible.com/t/accessing-data-from-windows-in-a-lookup-plugin-encoding/44728)

<div class="topic-metadata">

**Author:** [@ildjarn](https://forum.ansible.com/u/ildjarn)\
**Replies:** 5\
**Last updated:** [October 27, 2025, 12:29am UTC](https://forum.ansible.com/t/accessing-data-from-windows-in-a-lookup-plugin-encoding/44728 "2025-10-27T00:29:23Z")

</div>

Hello, I am writing a lookup plugin to get data from a Windows DHCP server for a lookup plugin. Part of the code: script = """ return ConvertTo-Json -Depth 2 -Inputobject (Get-DhcpServerv4Scope -Co…

---

## [Where to File Ansible Galaxy NG Feature Request?](https://forum.ansible.com/t/where-to-file-ansible-galaxy-ng-feature-request/44560)

<div class="topic-metadata">

**Author:** [@ChihweiLHBird](https://forum.ansible.com/u/ChihweiLHBird)\
**Replies:** 4\
**Last updated:** [October 26, 2025, 7:26pm UTC](https://forum.ansible.com/t/where-to-file-ansible-galaxy-ng-feature-request/44560 "2025-10-26T19:26:20Z")

</div>

Is galaxy-ng now hosted on galaxy.ansible.com? Where can I file a feature request for it? The docs is very confusing and many things are outdated. I followed the filing issue section in the doc and tried registering an…

---

## [Deploying AWX on Azure Container Apps vs AKS — Official Guidance and Limitations](https://forum.ansible.com/t/deploying-awx-on-azure-container-apps-vs-aks-official-guidance-and-limitations/44732)

<div class="topic-metadata">

**Author:** [@renzolv](https://forum.ansible.com/u/renzolv)\
**Replies:** 0\
**Last updated:** [October 23, 2025, 12:33pm UTC](https://forum.ansible.com/t/deploying-awx-on-azure-container-apps-vs-aks-official-guidance-and-limitations/44732 "2025-10-23T12:33:56Z")

</div>

We know that, technically, it’s possible to deploy AWX on Azure Container Apps, but we understand that this approach is strongly discouraged for production environments, since ACA is stateless, wouldn’t scale properly, a…

---

## [Delete imported contract using script](https://forum.ansible.com/t/delete-imported-contract-using-script/44679)

<div class="topic-metadata">

**Author:** [@kaizalaa](https://forum.ansible.com/u/kaizalaa)\
**Replies:** 1\
**Last updated:** [October 22, 2025, 8:31pm UTC](https://forum.ansible.com/t/delete-imported-contract-using-script/44679 "2025-10-22T20:31:03Z")

</div>

trying to remove imported contracts with the help of ansible. i dont see any specific module for this so i tried to write it using aci\_rest. my script is working fine and runs successfully but it’s not removing the contr…

---

## [Gatering facts throws exception "Task failed: not enough values to unpack (expected 4, got 2)"](https://forum.ansible.com/t/gatering-facts-throws-exception-task-failed-not-enough-values-to-unpack-expected-4-got-2/44708)

<div class="topic-metadata">

**Author:** [@haasalex](https://forum.ansible.com/u/haasalex)\
**Replies:** 5\
**Last updated:** [October 22, 2025, 8:27pm UTC](https://forum.ansible.com/t/gatering-facts-throws-exception-task-failed-not-enough-values-to-unpack-expected-4-got-2/44708 "2025-10-22T20:27:54Z")

</div>

I get an exception when I run my playbook: “Task failed: not enough values to unpack (expected 4, got 2)” When I run ansible myhost -m ping -i hosts.yml -u root, everthing is ok. When I run any playbook (even targeting…

---

## [Ansible.windows.win\_template stops working after upgrade](https://forum.ansible.com/t/ansible-windows-win-template-stops-working-after-upgrade/44717)

<div class="topic-metadata">

**Author:** [@bpendell](https://forum.ansible.com/u/bpendell)\
**Replies:** 4\
**Last updated:** [October 21, 2025, 6:30pm UTC](https://forum.ansible.com/t/ansible-windows-win-template-stops-working-after-upgrade/44717 "2025-10-21T18:30:21Z")

</div>

So here’s the issue: I recently installed ansible on redhat linux . This came with ansible.windows 1.8.0. I used an ansible.windows.template to create a simple j2 like this inputs.j2: hello = {{ hello\_variable }} Thi…

---

## [Redis cache :: breaking changes?](https://forum.ansible.com/t/redis-cache-breaking-changes/44704)

<div class="topic-metadata">

**Author:** [@adriansev](https://forum.ansible.com/u/adriansev)\
**Replies:** 13\
**Last updated:** [October 20, 2025, 9:28pm UTC](https://forum.ansible.com/t/redis-cache-breaking-changes/44704 "2025-10-20T21:28:28Z")

</div>

Did anyone observed a breaking change with redis caching? After updating to ansible==8.7.0 ansible-core==2.15.13 ansible-compat==24.10.0 the hostnames in redis have a s1\_ prefix even if in ansible.cfg i have fact\_cachi…

---

## [Debugging "scp transfer mechanism failed"](https://forum.ansible.com/t/debugging-scp-transfer-mechanism-failed/44713)

<div class="topic-metadata">

**Author:** [@mpounsett](https://forum.ansible.com/u/mpounsett)\
**Replies:** 1\
**Last updated:** [October 20, 2025, 6:43pm UTC](https://forum.ansible.com/t/debugging-scp-transfer-mechanism-failed/44713 "2025-10-20T18:43:58Z")

</div>

I am seeing the “scp transfer mechanism failed” error for one of my hosts, on only one interface. Most of the answers I can find about this are related to this issue with sftp being mis-configured (or not configured), …

---

## [Most links off of the docs.ansible.com site are currently 404ing](https://forum.ansible.com/t/most-links-off-of-the-docs-ansible-com-site-are-currently-404ing/44645)

<div class="topic-metadata">

**Author:** [@andygeorge](https://forum.ansible.com/u/andygeorge)\
**Replies:** 10\
**Last updated:** [October 20, 2025, 6:41pm UTC](https://forum.ansible.com/t/most-links-off-of-the-docs-ansible-com-site-are-currently-404ing/44645 "2025-10-20T18:41:41Z")

</div>

This started to occur a few minutes ago; I had been reading docs before that.

---

## [Use a variable with run\_once](https://forum.ansible.com/t/use-a-variable-with-run-once/44710)

<div class="topic-metadata">

**Author:** [@gazogi](https://forum.ansible.com/u/gazogi)\
**Replies:** 1\
**Last updated:** [October 20, 2025, 4:33pm UTC](https://forum.ansible.com/t/use-a-variable-with-run-once/44710 "2025-10-20T16:33:51Z")

</div>

I was hoping someone could help me with this. I’m trying to check the filesystem on my servers in my group to check if they have a nas mount, and then run the next task based on the results. If it is a shared file syst…

---

## [Nic blank with Windows VM creation in specific environment](https://forum.ansible.com/t/nic-blank-with-windows-vm-creation-in-specific-environment/44641)

<div class="topic-metadata">

**Author:** [@Mike321](https://forum.ansible.com/u/Mike321)\
**Replies:** 9\
**Last updated:** [October 20, 2025, 1:13pm UTC](https://forum.ansible.com/t/nic-blank-with-windows-vm-creation-in-specific-environment/44641 "2025-10-20T13:13:07Z")

</div>

Hi folks, I’m new to the Ansible community so pardon any beginner questions or lack there of :). I have a dev VMware environment 8u3, where I’m able to create a VM, set a nic, IP, join the domain etc, no issues. This s…

---

## [How do I detect whether my Python code is ran by Ansible as it's module, or is run directly by Python interpreter?](https://forum.ansible.com/t/how-do-i-detect-whether-my-python-code-is-ran-by-ansible-as-its-module-or-is-run-directly-by-python-interpreter/44700)

<div class="topic-metadata">

**Author:** [@Fred\_Wood](https://forum.ansible.com/u/Fred_Wood)\
**Replies:** 2\
**Last updated:** [October 17, 2025, 12:38pm UTC](https://forum.ansible.com/t/how-do-i-detect-whether-my-python-code-is-ran-by-ansible-as-its-module-or-is-run-directly-by-python-interpreter/44700 "2025-10-17T12:38:05Z")

</div>

Tell me please in what way I can know inside Python3 code whether the code is running as an Ansible module as part of a playbook, for example, or whether the code was launched somehow else (by a script without TTY, or at…

---

## [Vmware\_ops Collection](https://forum.ansible.com/t/vmware-ops-collection/44694)

<div class="topic-metadata">

**Author:** [@StefanSchnell](https://forum.ansible.com/u/StefanSchnell)\
**Replies:** 3\
**Last updated:** [October 17, 2025, 5:38am UTC](https://forum.ansible.com/t/vmware-ops-collection/44694 "2025-10-17T05:38:13Z")

</div>

Hello all, :waving\_hand: in the last few days I watched two Expert Extras by Roger Lopez \[@Lopez\] on Red Hat Learning Subscription, one of them was Automate VMware VM Provisioning in Minutes with Ansible. I saw how a co…

---

## [Community.proxmox.proxmox\_storage module: missing backup retention and nfs options](https://forum.ansible.com/t/community-proxmox-proxmox-storage-module-missing-backup-retention-and-nfs-options/44699)

<div class="topic-metadata">

**Author:** [@DengelFred](https://forum.ansible.com/u/DengelFred)\
**Replies:** 1\
**Last updated:** [October 17, 2025, 5:29am UTC](https://forum.ansible.com/t/community-proxmox-proxmox-storage-module-missing-backup-retention-and-nfs-options/44699 "2025-10-17T05:29:38Z")

</div>

Hello, I noticed that the module ignores the nfs\_options/options setting. I checked the source already and it seems its really missing… And I need the “prune-backups” setting for storages. I prepared a patch but I’m u…

---

## [When condition expecting string instead of bool](https://forum.ansible.com/t/when-condition-expecting-string-instead-of-bool/44698)

<div class="topic-metadata">

**Author:** [@carnaiz\_fastly](https://forum.ansible.com/u/carnaiz_fastly)\
**Replies:** 2\
**Last updated:** [October 16, 2025, 9:27pm UTC](https://forum.ansible.com/t/when-condition-expecting-string-instead-of-bool/44698 "2025-10-16T21:27:13Z")

</div>

Playbook when condition seems to be expecting a string, where it should take a boolean We’re updating our ansible playbooks from 2.10 to 2.19 (ansible 12.0.0). I’ve handled issues brought up by ansible-lint (v25.9.2). …

---

## [I am using ansible to collect the network device's dispaly cu, and in the collected content all the digit 1s are replaced with \*\*\*\*\*\*\*\*.](https://forum.ansible.com/t/i-am-using-ansible-to-collect-the-network-devices-dispaly-cu-and-in-the-collected-content-all-the-digit-1s-are-replaced-with/44696)

<div class="topic-metadata">

**Author:** [@razerblade](https://forum.ansible.com/u/razerblade)\
**Replies:** 3\
**Last updated:** [October 16, 2025, 2:18pm UTC](https://forum.ansible.com/t/i-am-using-ansible-to-collect-the-network-devices-dispaly-cu-and-in-the-collected-content-all-the-digit-1s-are-replaced-with/44696 "2025-10-16T14:18:15Z")

</div>

I am using ansible to collect the network device’s dispaly cu, and in the collected content all the digit 1s are replaced with \*\*\*\*\*\*\*\*. Is this a bug or a feature? How can I turn it off? I did not define no\_log in my …

---

## [Postgresql\_user - loop TASK through more then one list](https://forum.ansible.com/t/postgresql-user-loop-task-through-more-then-one-list/44677)

<div class="topic-metadata">

**Author:** [@dulhaver](https://forum.ansible.com/u/dulhaver)\
**Replies:** 2\
**Last updated:** [October 15, 2025, 2:30pm UTC](https://forum.ansible.com/t/postgresql-user-loop-task-through-more-then-one-list/44677 "2025-10-15T14:30:50Z")

</div>

I have a TASK to create some postgres user with password - name: create users, set hashed passwords community.postgresql.postgresql\_user: name: "{{ item.name }}" password: "{{ item.pw }}" …

---

## [Does each host and group names must be unique ?](https://forum.ansible.com/t/does-each-host-and-group-names-must-be-unique/44667)

<div class="topic-metadata">

**Author:** [@peter](https://forum.ansible.com/u/peter)\
**Replies:** 7\
**Last updated:** [October 15, 2025, 2:23pm UTC](https://forum.ansible.com/t/does-each-host-and-group-names-must-be-unique/44667 "2025-10-15T14:23:38Z")

</div>

In this part of the documentation it is said that : Hosts and groups are always ‘global’. If you define a host or group more than once under different ‘branches’ or ‘instances’, the host or group remains the same entit…

---

## [Can a Remote Execution Node launch Pods instead of running ansible-runner ?](https://forum.ansible.com/t/can-a-remote-execution-node-launch-pods-instead-of-running-ansible-runner/44657)

<div class="topic-metadata">

**Author:** [@mrik974](https://forum.ansible.com/u/mrik974)\
**Replies:** 5\
**Last updated:** [October 15, 2025, 1:29pm UTC](https://forum.ansible.com/t/can-a-remote-execution-node-launch-pods-instead-of-running-ansible-runner/44657 "2025-10-15T13:29:17Z")

</div>

Hi, I’m new to the concept of remote execution node, and I’ve setup my first node a few weeks ago. I’m designing a concept of a microk8s, or k3s (or actually anything smaller than k8s) tool machine, in order to access,…

---

## [Branch override in Workflow template](https://forum.ansible.com/t/branch-override-in-workflow-template/43913)

<div class="topic-metadata">

**Author:** [@Fracture7144](https://forum.ansible.com/u/Fracture7144)\
**Replies:** 7\
**Last updated:** [October 15, 2025, 12:16am UTC](https://forum.ansible.com/t/branch-override-in-workflow-template/43913 "2025-10-15T00:16:53Z")

</div>

I am working on setting up a workflow template to run multiple templates against new servers. However I have a branch that I made new changes to and I wanted use this particular branch when executing the workflow templa…

---

## [Ansible-playbook does not working with dictionary and with\_items loop!](https://forum.ansible.com/t/ansible-playbook-does-not-working-with-dictionary-and-with-items-loop/44511)

<div class="topic-metadata">

**Author:** [@Gittes](https://forum.ansible.com/u/Gittes)\
**Replies:** 36\
**Last updated:** [October 14, 2025, 1:04pm UTC](https://forum.ansible.com/t/ansible-playbook-does-not-working-with-dictionary-and-with-items-loop/44511 "2025-10-14T13:04:39Z")

</div>

ansible-playbook is not working with dictionary and a with\_items loop!), here’s part of the role and dictionary: global\_groups: production\_ansible: gid: 10001 staging\_ansible: gid: 20001 grafana: gid: …

---

## [Fetching collections from private Artifactory: CERTIFICATE\_VERIFY\_FAILED](https://forum.ansible.com/t/fetching-collections-from-private-artifactory-certificate-verify-failed/44675)

<div class="topic-metadata">

**Author:** [@kastl-ars](https://forum.ansible.com/u/kastl-ars)\
**Replies:** 3\
**Last updated:** [October 14, 2025, 11:34am UTC](https://forum.ansible.com/t/fetching-collections-from-private-artifactory-certificate-verify-failed/44675 "2025-10-14T11:34:31Z")

</div>

Dear AWX users, we are trying to pull collection updates from a private Artifactory instance. We found that we need to disable the TLS certificate validation, even though Artifactory is using a valid certificate. Got …

---

## [Advices on roles and projects best practices](https://forum.ansible.com/t/advices-on-roles-and-projects-best-practices/44618)

<div class="topic-metadata">

**Author:** [@motorbass](https://forum.ansible.com/u/motorbass)\
**Replies:** 3\
**Last updated:** [October 13, 2025, 7:31pm UTC](https://forum.ansible.com/t/advices-on-roles-and-projects-best-practices/44618 "2025-10-13T19:31:29Z")

</div>

Hi As Ansible/AWX become one of our most important tool since few years, it’s time now to think about how to better organize our projects and our coding way. At the moment we host all of our ansible/awx project into a …

---

## [Notification Callbacks and Secrets](https://forum.ansible.com/t/notification-callbacks-and-secrets/44670)

<div class="topic-metadata">

**Author:** [@spribyl](https://forum.ansible.com/u/spribyl)\
**Replies:** 0\
**Last updated:** [October 13, 2025, 5:15pm UTC](https://forum.ansible.com/t/notification-callbacks-and-secrets/44670 "2025-10-13T17:15:36Z")

</div>

I’m working on a python notification\_callback and looking for advice on managing secrets specifically in an AWX context. If I use ENV vars for the vault password I’m able to do everything, however in AWX the vault pass…

---

## [Configuring Global Permissions](https://forum.ansible.com/t/configuring-global-permissions/10645)

<div class="topic-metadata">

**Author:** [@sigbjornl](https://forum.ansible.com/u/sigbjornl)\
**Replies:** 4\
**Last updated:** [October 13, 2025, 4:46pm UTC](https://forum.ansible.com/t/configuring-global-permissions/10645 "2025-10-13T16:46:07Z")

</div>

We’re looking for a way to configure Global Permissions in vCenter. I found the community.vmware.vmware\_object\_role\_permission module, however it does not seem to be able to configure Global Permissions. Does a module f…

---

## [Provisioning VMs with community.libvirt.virt\_install](https://forum.ansible.com/t/provisioning-vms-with-community-libvirt-virt-install/44661)

<div class="topic-metadata">

**Author:** [@d1nuc0m](https://forum.ansible.com/u/d1nuc0m)\
**Replies:** 1\
**Last updated:** [October 13, 2025, 12:46pm UTC](https://forum.ansible.com/t/provisioning-vms-with-community-libvirt-virt-install/44661 "2025-10-13T12:46:57Z")

</div>

Hi all, I’m trying to provision some VMs with the community.libvirt.virt\_install module but apparently I can’t get them working, maybe I’m misunderstanding something in the docs Unattended install This is the snippet, b…

---

## [Questions about notifications in AWX 24.6.1](https://forum.ansible.com/t/questions-about-notifications-in-awx-24-6-1/44648)

<div class="topic-metadata">

**Author:** [@ildjarn](https://forum.ansible.com/u/ildjarn)\
**Replies:** 6\
**Last updated:** [October 13, 2025, 11:41am UTC](https://forum.ansible.com/t/questions-about-notifications-in-awx-24-6-1/44648 "2025-10-13T11:41:42Z")

</div>

I have a few questions about notifications in AWX 24.6.1 How can I debug failed notifications? Which log do I need to check? I have a playbook that runs on EE ‘MyCompanyEE’, which can connect succesfully to website htt…

---

## [How do I ensure firewall rule order](https://forum.ansible.com/t/how-do-i-ensure-firewall-rule-order/44589)

<div class="topic-metadata">

**Author:** [@rbur004](https://forum.ansible.com/u/rbur004)\
**Replies:** 4\
**Last updated:** [October 11, 2025, 8:41pm UTC](https://forum.ansible.com/t/how-do-i-ensure-firewall-rule-order/44589 "2025-10-11T20:41:12Z")

</div>

ansible \[core 2.19.2\] community.routeros 3.10.0 I want to ensure firewall rules match those in my vars/firewall.yml. I’m not sure how to specify this in the playbook. What I have done is create a…

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

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