# Get Help

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

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

**Page:** 31

---

## [Negate 'contains' in find TASK](https://forum.ansible.com/t/negate-contains-in-find-task/42530)

<div class="topic-metadata">

**Author:** [@dulhaver](https://forum.ansible.com/u/dulhaver)\
**Replies:** 3\
**Last updated:** [May 8, 2025, 9:27pm UTC](https://forum.ansible.com/t/negate-contains-in-find-task/42530 "2025-05-08T21:27:28Z")

</div>

this find operation works. - name: find stuff hosts: "{{ targets | default('localhost') }}" vars: - search\_path: /opt/db/postgres/tools/test\_4\_ansible - search\_term: "backup\_archivelogs\*sh" - content: NO…

---

## [Two vault files with the same password - will it work?](https://forum.ansible.com/t/two-vault-files-with-the-same-password-will-it-work/42517)

<div class="topic-metadata">

**Author:** [@King](https://forum.ansible.com/u/King)\
**Replies:** 8\
**Last updated:** [May 8, 2025, 2:56pm UTC](https://forum.ansible.com/t/two-vault-files-with-the-same-password-will-it-work/42517 "2025-05-08T14:56:31Z")

</div>

Hi! I would like to use one vault password with two files with encrypted variables. The main variable I need is ansible\_password that is used to connect to hosts, and it is different for different users. I tried the va…

---

## [Module\_defaults from role](https://forum.ansible.com/t/module-defaults-from-role/42482)

<div class="topic-metadata">

**Author:** [@PieterVoet](https://forum.ansible.com/u/PieterVoet)\
**Replies:** 4\
**Last updated:** [May 8, 2025, 2:48pm UTC](https://forum.ansible.com/t/module-defaults-from-role/42482 "2025-05-08T14:48:56Z")

</div>

Hi all, I created a role that eventually assembles some variables. Now I want set ‘module\_defaults’ using variables set from that role. The role is called in the playbook as : roles: - { role: config-sync, tag…

---

## [Unable to connect to a Windows host](https://forum.ansible.com/t/unable-to-connect-to-a-windows-host/42462)

<div class="topic-metadata">

**Author:** [@Chris\_Pendergraft](https://forum.ansible.com/u/Chris_Pendergraft)\
**Replies:** 18\
**Last updated:** [May 8, 2025, 2:01pm UTC](https://forum.ansible.com/t/unable-to-connect-to-a-windows-host/42462 "2025-05-08T14:01:42Z")

</div>

I’m new to Ansible but have set it up on Red Hat 9 and can ping and ssh from my Red Hat server to the Windows 2022 server fine but I can’t ping/connect to the Windows server with Ansible. Could someone help with this iss…

---

## [AWX / AAP SAML Configuration for ADFS](https://forum.ansible.com/t/awx-aap-saml-configuration-for-adfs/41898)

<div class="topic-metadata">

**Author:** [@DrGraypFroot](https://forum.ansible.com/u/DrGraypFroot)\
**Replies:** 0\
**Last updated:** [April 23, 2025, 7:38am UTC](https://forum.ansible.com/t/awx-aap-saml-configuration-for-adfs/41898 "2025-04-23T07:38:31Z")

</div>

Overview This article covers the configuration of AWX/AAP to use SAML Authentication via Microsoft Active Directory Federation Services. It includes Controller configuration as well as example ADFS Claim rules. Tested o…

---

## [Build and use own Execution Environment - Failed with error](https://forum.ansible.com/t/build-and-use-own-execution-environment-failed-with-error/42443)

<div class="topic-metadata">

**Author:** [@vinothravindhran](https://forum.ansible.com/u/vinothravindhran)\
**Replies:** 9\
**Last updated:** [May 7, 2025, 3:56pm UTC](https://forum.ansible.com/t/build-and-use-own-execution-environment-failed-with-error/42443 "2025-05-07T15:56:34Z")

</div>

\*\* Build and use own Execution Environment failed with error\*\* I have followed steps mentioned in awx-on-k3s/builder at main · kurokobo/awx-on-k3s · GitHub URL but got below error, Kindly help me to fix. Planning to in…

---

## [Ansible, 'import\_playbook' has extra params, Multiple Includes Fail!](https://forum.ansible.com/t/ansible-import-playbook-has-extra-params-multiple-includes-fail/42514)

<div class="topic-metadata">

**Author:** [@Symian](https://forum.ansible.com/u/Symian)\
**Replies:** 3\
**Last updated:** [May 7, 2025, 2:39pm UTC](https://forum.ansible.com/t/ansible-import-playbook-has-extra-params-multiple-includes-fail/42514 "2025-05-07T14:39:39Z")

</div>

Hello. Thanks all for helping me through this turbulent, but exciting project. I am way over my head. I am an Oracle database admin. Don’t know Ansible at all. Here is the github repo with the code: https://github.com/s…

---

## [How to check compatibility between EKS Kubernetes version and AWX Operator/AWX?](https://forum.ansible.com/t/how-to-check-compatibility-between-eks-kubernetes-version-and-awx-operator-awx/42329)

<div class="topic-metadata">

**Author:** [@satokom](https://forum.ansible.com/u/satokom)\
**Replies:** 3\
**Last updated:** [May 7, 2025, 1:51pm UTC](https://forum.ansible.com/t/how-to-check-compatibility-between-eks-kubernetes-version-and-awx-operator-awx/42329 "2025-05-07T13:51:50Z")

</div>

I would like a reliable method to verify that the Kubernetes version running on Amazon EKS is officially compatible with the version of AWX Operator / AWX that we are using. I’m not sure which documents or release page…

---

## [Ansible: Conflicting "hosts" and "facts" Settings in Two Playbooks for Oracle](https://forum.ansible.com/t/ansible-conflicting-hosts-and-facts-settings-in-two-playbooks-for-oracle/42479)

<div class="topic-metadata">

**Author:** [@Symian](https://forum.ansible.com/u/Symian)\
**Replies:** 7\
**Last updated:** [May 7, 2025, 12:09pm UTC](https://forum.ansible.com/t/ansible-conflicting-hosts-and-facts-settings-in-two-playbooks-for-oracle/42479 "2025-05-07T12:09:37Z")

</div>

Hi. New to Ansible. I have two playbooks in this Gihub repo https://github.com/symianarmy/oracle\_database\_refresh\_itsm itsm\_oracle\_refresh\_wrapper.yml - this is the wrapper playbook that uses the Ansible Control Node…

---

## [Inquiry on Defining Default Fact Module for Custom Ansible Collections](https://forum.ansible.com/t/inquiry-on-defining-default-fact-module-for-custom-ansible-collections/42265)

<div class="topic-metadata">

**Author:** [@Xinwei](https://forum.ansible.com/u/Xinwei)\
**Replies:** 4\
**Last updated:** [May 7, 2025, 5:16am UTC](https://forum.ansible.com/t/inquiry-on-defining-default-fact-module-for-custom-ansible-collections/42265 "2025-05-07T05:16:29Z")

</div>

Hi All, I’m an Ansible Collections developer. I have a problem when defining the default fact module for our collections. Our Ansible collections (e.g., FortiOS Ansible Collection, FortiManager Ansible Collection) use …

---

## [Need help with VMware-related playbook](https://forum.ansible.com/t/need-help-with-vmware-related-playbook/42477)

<div class="topic-metadata">

**Author:** [@dyioulos](https://forum.ansible.com/u/dyioulos)\
**Replies:** 4\
**Last updated:** [May 6, 2025, 8:55pm UTC](https://forum.ansible.com/t/need-help-with-vmware-related-playbook/42477 "2025-05-06T20:55:53Z")

</div>

Good day all. It’s been a while. I’ve created a playbook to find and delete VMware virtual machine snapshots which are 3 days old or older. It works to a point. What I’m not getting is the date format for identifying th…

---

## [Proxmox: Override VM name in dynamic inventory](https://forum.ansible.com/t/proxmox-override-vm-name-in-dynamic-inventory/42452)

<div class="topic-metadata">

**Author:** [@brazzledazzleday](https://forum.ansible.com/u/brazzledazzleday)\
**Replies:** 8\
**Last updated:** [May 6, 2025, 8:14pm UTC](https://forum.ansible.com/t/proxmox-override-vm-name-in-dynamic-inventory/42452 "2025-05-06T20:14:30Z")

</div>

I am using the Proxmox dynamic inventory community plugin and it is working. I name my Proxmox VMs like this: hostname-os-LastTwoIpOctets. For example, ns1-deb-10.10. ns1 is the hostname without the domain suffix — t…

---

## [VMware cannot customize MAC address](https://forum.ansible.com/t/vmware-cannot-customize-mac-address/7542)

<div class="topic-metadata">

**Author:** [@acozine](https://forum.ansible.com/u/acozine)\
**Replies:** 11\
**Last updated:** [May 6, 2025, 2:45pm UTC](https://forum.ansible.com/t/vmware-cannot-customize-mac-address/7542 "2025-05-06T14:45:22Z")

</div>

When replacing a VM with another VM, we would like to gather the MAC address of the old VM, delete that VM, create a new VM, and re-use the MAC address for the new VM. The playbook happily creates a new VM but it will n…

---

## [Implementing closed-loop automation for system recovery](https://forum.ansible.com/t/implementing-closed-loop-automation-for-system-recovery/42379)

<div class="topic-metadata">

**Author:** [@chandrasekhar\_Tunga](https://forum.ansible.com/u/chandrasekhar_Tunga)\
**Replies:** 2\
**Last updated:** [May 6, 2025, 5:47am UTC](https://forum.ansible.com/t/implementing-closed-loop-automation-for-system-recovery/42379 "2025-05-06T05:47:47Z")

</div>

Hi, How to these task implementing closed-loop automation for system recovery using ansible i request you to please give me the documents and i did not have any experience

---

## [Awx helm charts & upgrade](https://forum.ansible.com/t/awx-helm-charts-upgrade/41981)

<div class="topic-metadata">

**Author:** [@vibhor\_agarwalin](https://forum.ansible.com/u/vibhor_agarwalin)\
**Replies:** 4\
**Last updated:** [May 5, 2025, 8:23am UTC](https://forum.ansible.com/t/awx-helm-charts-upgrade/41981 "2025-05-05T08:23:07Z")

</div>

Hello Folks, Our current AWX is a standalone setup on k3s. Was planning to setup via helm charts for ease of maintainability. Here’s current status & progress I made followed by few queries. Request expert opinion & …

---

## [Terraform and Ansible Automate First Boot](https://forum.ansible.com/t/terraform-and-ansible-automate-first-boot/42361)

<div class="topic-metadata">

**Author:** [@wes](https://forum.ansible.com/u/wes)\
**Replies:** 5\
**Last updated:** [May 2, 2025, 10:32pm UTC](https://forum.ansible.com/t/terraform-and-ansible-automate-first-boot/42361 "2025-05-02T22:32:05Z")

</div>

I am using Terraform and Ansible. With Azure VMs. I am just using ansible without AWX/Tower and hoping to not use those as it’s not a very big environment. For the ansible inventory we are using Azure dynamic inventory p…

---

## [Ansible Playbook Syntax for a ServiceNow ITSM Collection - Need Help](https://forum.ansible.com/t/ansible-playbook-syntax-for-a-servicenow-itsm-collection-need-help/42295)

<div class="topic-metadata">

**Author:** [@Symian](https://forum.ansible.com/u/Symian)\
**Replies:** 5\
**Last updated:** [May 2, 2025, 7:54pm UTC](https://forum.ansible.com/t/ansible-playbook-syntax-for-a-servicenow-itsm-collection-need-help/42295 "2025-05-02T19:54:47Z")

</div>

\*\*Hi. New to Ansible and the ServiceNow ITSM. The question is simple. My playbook fails. It is supposed to use this Help Desk + Automation collection. That webpage has examples. But they do not have any information about…

---

## [EDA Webhooks and hosts](https://forum.ansible.com/t/eda-webhooks-and-hosts/42363)

<div class="topic-metadata">

**Author:** [@maniccyberdog](https://forum.ansible.com/u/maniccyberdog)\
**Replies:** 0\
**Last updated:** [May 2, 2025, 2:34pm UTC](https://forum.ansible.com/t/eda-webhooks-and-hosts/42363 "2025-05-02T14:34:26Z")

</div>

I’m wanting to run a playbook from a webhook, I would like to pass the host to run the playbook against in the webhook payload. Can anyone help with how do do this? So far it seems that the hosts names are used from th…

---

## [Override ControlPersist per host?](https://forum.ansible.com/t/override-controlpersist-per-host/42335)

<div class="topic-metadata">

**Author:** [@devilkin](https://forum.ansible.com/u/devilkin)\
**Replies:** 3\
**Last updated:** [May 1, 2025, 11:37pm UTC](https://forum.ansible.com/t/override-controlpersist-per-host/42335 "2025-05-01T23:37:36Z")

</div>

Hi, I’m currently using sshpiper (GitHub - tg123/sshpiper: The missing reverse proxy for ssh scp) to reverse proxy SSH into different target machines. The reason for this is that I can easily create a user/key combo in …

---

## [Win\_xml help cannot edit attributes](https://forum.ansible.com/t/win-xml-help-cannot-edit-attributes/42333)

<div class="topic-metadata">

**Author:** [@akansible](https://forum.ansible.com/u/akansible)\
**Replies:** 2\
**Last updated:** [May 1, 2025, 6:47pm UTC](https://forum.ansible.com/t/win-xml-help-cannot-edit-attributes/42333 "2025-05-01T18:47:35Z")

</div>

I am trying to use win\_xml module. Xml file is simple as following \<?xml version="1.0" encoding="UTF-8"?\> \<config\> \<setting name="mode" value="development"/\> \<setting name="timeout" value="30"/\> \</config\> Play is …

---

## [While running Playbook Ansible is not using the Proxy](https://forum.ansible.com/t/while-running-playbook-ansible-is-not-using-the-proxy/42323)

<div class="topic-metadata">

**Author:** [@pkhadka](https://forum.ansible.com/u/pkhadka)\
**Replies:** 2\
**Last updated:** [May 1, 2025, 5:24pm UTC](https://forum.ansible.com/t/while-running-playbook-ansible-is-not-using-the-proxy/42323 "2025-05-01T17:24:11Z")

</div>

I have setup Ansible in Win 11 via WSL. I have configured the Proxy setting: \*\* Config of my host file: \[remote\_node\] remote-node-1 ansible\_host=10.10.10.1 \[remote\_node:vars\] ansible\_ssh\_common\_args=‘-o ProxyJump…

---

## [Win\_ping issue "Could not find the shell plugin required"](https://forum.ansible.com/t/win-ping-issue-could-not-find-the-shell-plugin-required/42293)

<div class="topic-metadata">

**Author:** [@Rokas101](https://forum.ansible.com/u/Rokas101)\
**Replies:** 2\
**Last updated:** [May 1, 2025, 3:11pm UTC](https://forum.ansible.com/t/win-ping-issue-could-not-find-the-shell-plugin-required/42293 "2025-05-01T15:11:01Z")

</div>

I’m running WSL2 Ubuntu 24.04.2 LTS as Ansible host and a Windows 11 VM on Hyper-V as a remote node with SSH enabled. The VM is reachable from the host with ping and SSH, however when I run: ansible myhosts -m win\_ping…

---

## [Can AWX Operator use Aurora Serverless v2 as its database?](https://forum.ansible.com/t/can-awx-operator-use-aurora-serverless-v2-as-its-database/40966)

<div class="topic-metadata">

**Author:** [@satokom](https://forum.ansible.com/u/satokom)\
**Replies:** 1\
**Last updated:** [May 1, 2025, 9:55am UTC](https://forum.ansible.com/t/can-awx-operator-use-aurora-serverless-v2-as-its-database/40966 "2025-05-01T09:55:59Z")

</div>

Description of the Issue I am currently using AWX Operator 2.10.0, which, by default, provisions a PostgreSQL 13 database running as a StatefulSet within Kubernetes. This database is automatically managed by the AWX Oper…

---

## [Unable to import certificate on Cisco IOS](https://forum.ansible.com/t/unable-to-import-certificate-on-cisco-ios/42013)

<div class="topic-metadata">

**Author:** [@JLBrito](https://forum.ansible.com/u/JLBrito)\
**Replies:** 1\
**Last updated:** [April 30, 2025, 2:14pm UTC](https://forum.ansible.com/t/unable-to-import-certificate-on-cisco-ios/42013 "2025-04-30T14:14:26Z")

</div>

I’m currently trying to write a playbook in order to automate the process of importing an identity certificate into a Cisco IOS device. The issue is that after issuing the the command "crypto pki import {{ trustpoint }}…

---

## [How to run a play based on a variable](https://forum.ansible.com/t/how-to-run-a-play-based-on-a-variable/42267)

<div class="topic-metadata">

**Author:** [@rwagnergit](https://forum.ansible.com/u/rwagnergit)\
**Replies:** 4\
**Last updated:** [April 30, 2025, 2:01pm UTC](https://forum.ansible.com/t/how-to-run-a-play-based-on-a-variable/42267 "2025-04-30T14:01:22Z")

</div>

Hey all - I’m trying to figure out a way to run a play based on the value of a variable (i.e., if variable is set, run the play, otherwise skip the play). Scouring the internet, it looks like we used to be able to do th…

---

## [Ansible output jinja2 loop to a different files](https://forum.ansible.com/t/ansible-output-jinja2-loop-to-a-different-files/42264)

<div class="topic-metadata">

**Author:** [@Shiraz\_Kamal](https://forum.ansible.com/u/Shiraz_Kamal)\
**Replies:** 2\
**Last updated:** [April 30, 2025, 11:28am UTC](https://forum.ansible.com/t/ansible-output-jinja2-loop-to-a-different-files/42264 "2025-04-30T11:28:10Z")

</div>

I have the following in my vars file. aux: "SHR" cluster\_nodes: - { node\_name: sudora123a, node\_num: 1, inst\_num: "123A" } - { node\_name: sudora123b, node\_num: 2, inst\_num: "123B" } I am trying to loop t…

---

## [Delegate\_to: localhost is not working as expected](https://forum.ansible.com/t/delegate-to-localhost-is-not-working-as-expected/41995)

<div class="topic-metadata">

**Author:** [@SaravanaSelvaraj](https://forum.ansible.com/u/SaravanaSelvaraj)\
**Replies:** 12\
**Last updated:** [April 30, 2025, 8:33am UTC](https://forum.ansible.com/t/delegate-to-localhost-is-not-working-as-expected/41995 "2025-04-30T08:33:39Z")

</div>

delegate\_to: localhost is not working as expected.. Dear community, Looks like I am stuck in a loop.So I have a project which has the main playbook which calls a role for the GCP connection using IAP. My project is -…

---

## [Obtain github webhook payload in job template inside of job workflow](https://forum.ansible.com/t/obtain-github-webhook-payload-in-job-template-inside-of-job-workflow/42269)

<div class="topic-metadata">

**Author:** [@jye-aviatrix](https://forum.ansible.com/u/jye-aviatrix)\
**Replies:** 2\
**Last updated:** [April 30, 2025, 1:52am UTC](https://forum.ansible.com/t/obtain-github-webhook-payload-in-job-template-inside-of-job-workflow/42269 "2025-04-30T01:52:49Z")

</div>

I have a parent job workflow with webhook enabled, let’s say it’s called “GitHub Pull Request” It will be trigged by in the following action: Pull requests Pull request assigned, auto merge disabled, auto merge enable…

---

## [Any way to see ansible.builtin.debug messages while skipping OK hosts?](https://forum.ansible.com/t/any-way-to-see-ansible-builtin-debug-messages-while-skipping-ok-hosts/42252)

<div class="topic-metadata">

**Author:** [@grifferz](https://forum.ansible.com/u/grifferz)\
**Replies:** 2\
**Last updated:** [April 29, 2025, 1:06pm UTC](https://forum.ansible.com/t/any-way-to-see-ansible-builtin-debug-messages-while-skipping-ok-hosts/42252 "2025-04-29T13:06:25Z")

</div>

I normally run playbooks with display\_ok\_hosts = no as I don’t want to see a big list of tasks that didn’t do anything. That does mean that messages from ansible.builtin.debug tasks are also totally skipped. If I do rea…

---

## [AWX Postgres Ansible Setup Error](https://forum.ansible.com/t/awx-postgres-ansible-setup-error/41810)

<div class="topic-metadata">

**Author:** [@jeremytourville](https://forum.ansible.com/u/jeremytourville)\
**Replies:** 5\
**Last updated:** [April 29, 2025, 2:51pm UTC](https://forum.ansible.com/t/awx-postgres-ansible-setup-error/41810 "2025-04-29T14:51:12Z")

</div>

I am setting up AWX in a separate environment from our production one. I have setup the new K8s cluster and copied over the config values from AWX in production and changed hostnames and private repos as needed. When t…

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

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