# Get Help

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

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

**Page:** 62

---

## [Ansible idempotency](https://forum.ansible.com/t/ansible-idempotency/8462)

<div class="topic-metadata">

**Author:** [@Chandra\_Mukherjee](https://forum.ansible.com/u/Chandra_Mukherjee)\
**Replies:** 6\
**Last updated:** [September 12, 2024, 7:06pm UTC](https://forum.ansible.com/t/ansible-idempotency/8462 "2024-09-12T19:06:44Z")

</div>

I have a use case to execute DDL scripts on a GCP cloud SQL instance using Ansible. Below is the source code of the playbook: name: Check postgreSQL version hosts: localhost gather\_facts: no become: yes tasks: n…

---

## [Is it possible to defer action resolution to run time?](https://forum.ansible.com/t/is-it-possible-to-defer-action-resolution-to-run-time/8469)

<div class="topic-metadata">

**Author:** [@opoplawski](https://forum.ansible.com/u/opoplawski)\
**Replies:** 2\
**Last updated:** [September 12, 2024, 5:12pm UTC](https://forum.ansible.com/t/is-it-possible-to-defer-action-resolution-to-run-time/8469 "2024-09-12T17:12:40Z")

</div>

I have a role that can be run against both WIndows and Linux hosts. It has a handler for restarting a service on windows using win\_service. This is breaking ansible-pull for us: ansible-pull\[7939\]: ERROR! couldn't res…

---

## [Incorrect sudo password](https://forum.ansible.com/t/incorrect-sudo-password/8465)

<div class="topic-metadata">

**Author:** [@Indirajith\_V](https://forum.ansible.com/u/Indirajith_V)\
**Replies:** 1\
**Last updated:** [September 12, 2024, 3:09pm UTC](https://forum.ansible.com/t/incorrect-sudo-password/8465 "2024-09-12T15:09:15Z")

</div>

I am trying to use sudo for on worker nodes to execute a task. Even with the correct password, ansible fails with incorrect sudo password error. Can anyone please help me understand the problem? fatal: \[g1\]: FAILED! =\> …

---

## [Create a hashed password with 'debug'](https://forum.ansible.com/t/create-a-hashed-password-with-debug/8280)

<div class="topic-metadata">

**Author:** [@dulhaver](https://forum.ansible.com/u/dulhaver)\
**Replies:** 9\
**Last updated:** [September 12, 2024, 2:28pm UTC](https://forum.ansible.com/t/create-a-hashed-password-with-debug/8280 "2024-09-12T14:28:02Z")

</div>

as per advise from the documentation of the user module I try to create a hased password like ansible all -i localhost, -m debug -a "msg={{ 'Start-1234!' | password\_hash('sha512', 'mysecretsalt') }} that does not seem …

---

## [Backup LDAP configuration](https://forum.ansible.com/t/backup-ldap-configuration/8461)

<div class="topic-metadata">

**Author:** [@avalou](https://forum.ansible.com/u/avalou)\
**Replies:** 0\
**Last updated:** [September 12, 2024, 10:07am UTC](https://forum.ansible.com/t/backup-ldap-configuration/8461 "2024-09-12T10:07:31Z")

</div>

Hello, My AWX production instance runs with docker-compose, and I would like to backup my LDAP configuration as I set it manually with the GUI once the installation is done. Where can I find - in what DB table or file -…

---

## [Why doesn't Ansible have mv/rename?](https://forum.ansible.com/t/why-doesnt-ansible-have-mv-rename/7914)

<div class="topic-metadata">

**Author:** [@LoftyGoals](https://forum.ansible.com/u/LoftyGoals)\
**Replies:** 2\
**Last updated:** [September 11, 2024, 8:20pm UTC](https://forum.ansible.com/t/why-doesnt-ansible-have-mv-rename/7914 "2024-09-11T20:20:34Z")

</div>

I already know how do move or rename a file. I’m just wondering why there isn’t a specific module that does this. It seems like a very specific design decision… does anyone know what the reason was?

---

## [Pass custom credential values to dynamic yaml inventory](https://forum.ansible.com/t/pass-custom-credential-values-to-dynamic-yaml-inventory/8396)

<div class="topic-metadata">

**Author:** [@jen.wirth](https://forum.ansible.com/u/jen.wirth)\
**Replies:** 7\
**Last updated:** [September 11, 2024, 3:18pm UTC](https://forum.ansible.com/t/pass-custom-credential-values-to-dynamic-yaml-inventory/8396 "2024-09-11T15:18:31Z")

</div>

I made a custom credential Vault-Token For the Injector configuration it has extra\_vars: ansible\_hashi\_vault\_url: '{{ vault\_address }}' ansible\_hashi\_vault\_token: '{{ secret\_id }}' Inside my inventory source i am …

---

## [Git Project Sync Failure in AWX](https://forum.ansible.com/t/git-project-sync-failure-in-awx/8431)

<div class="topic-metadata">

**Author:** [@husnain\_taja](https://forum.ansible.com/u/husnain_taja)\
**Replies:** 0\
**Last updated:** [September 11, 2024, 9:48am UTC](https://forum.ansible.com/t/git-project-sync-failure-in-awx/8431 "2024-09-11T09:48:13Z")

</div>

Hi, When we execute project sync in AWX so it is failing with the below error. Details: 1.) AWX: 17.1.0 2.) Ansible: 2.9.18 3.) Deployment\_type: Docker 4.) Containers: awx\_task awx\_web awx\_redis awx\_postgre…

---

## [Deploying awx-operator with Kustomize gives error](https://forum.ansible.com/t/deploying-awx-operator-with-kustomize-gives-error/8430)

<div class="topic-metadata">

**Author:** [@xibriz](https://forum.ansible.com/u/xibriz)\
**Replies:** 0\
**Last updated:** [September 11, 2024, 7:44am UTC](https://forum.ansible.com/t/deploying-awx-operator-with-kustomize-gives-error/8430 "2024-09-11T07:44:31Z")

</div>

When deploying the awx-operator for the first time on a new K3s cluster, i use the following command: kubectl apply -k . This procudes the following output: namespace/awx created customresourcedefinition.apiextensions.…

---

## [Failed to import the required Python library (netaddr)](https://forum.ansible.com/t/failed-to-import-the-required-python-library-netaddr/8429)

<div class="topic-metadata">

**Author:** [@szelga](https://forum.ansible.com/u/szelga)\
**Replies:** 0\
**Last updated:** [September 11, 2024, 7:43am UTC](https://forum.ansible.com/t/failed-to-import-the-required-python-library-netaddr/8429 "2024-09-11T07:43:09Z")

</div>

AWX 24.6.1 is installed via awx-operator in k8s. community.zabbix.zabbix\_agent role suddenly stopped working. the error is the following: fatal: \[host-XYZ\]: FAILED! =\> {"msg": "Failed to import the required Python libr…

---

## [AAP 2.4 Microsoft AD LDAP Plugin Credential Type Ignored](https://forum.ansible.com/t/aap-2-4-microsoft-ad-ldap-plugin-credential-type-ignored/8382)

<div class="topic-metadata">

**Author:** [@asmagana](https://forum.ansible.com/u/asmagana)\
**Replies:** 1\
**Last updated:** [September 11, 2024, 7:24am UTC](https://forum.ansible.com/t/aap-2-4-microsoft-ad-ldap-plugin-credential-type-ignored/8382 "2024-09-11T07:24:42Z")

</div>

Hello folks i was looking at microsoft.ad.ldap inventory plugin and it can work with my project with username and password in the yaml file but the credential type that Autodotes https://www.youtube.com/watch?v=a0S62vI7d…

---

## [Updating the AWX version 23.3.1 to 24.6.1](https://forum.ansible.com/t/updating-the-awx-version-23-3-1-to-24-6-1/8418)

<div class="topic-metadata">

**Author:** [@Think\_Different](https://forum.ansible.com/u/Think_Different)\
**Replies:** 0\
**Last updated:** [September 10, 2024, 9:13pm UTC](https://forum.ansible.com/t/updating-the-awx-version-23-3-1-to-24-6-1/8418 "2024-09-10T21:13:40Z")

</div>

I want a study to be done on updating the AWX version 23.3.1 to 24.6.1 In order to evaluate the duration of an AWX update in production. expected : migration procedure from the current version to the latest. Impacts …

---

## [Systemd exact commands for sudoers file](https://forum.ansible.com/t/systemd-exact-commands-for-sudoers-file/8366)

<div class="topic-metadata">

**Author:** [@nilshee](https://forum.ansible.com/u/nilshee)\
**Replies:** 3\
**Last updated:** [September 10, 2024, 4:21pm UTC](https://forum.ansible.com/t/systemd-exact-commands-for-sudoers-file/8366 "2024-09-10T16:21:50Z")

</div>

Hello everyone, I’m currently trying to update a couple of configuration scripts of a server. The steps I want to do: Stop service Copy new configuration files for this service Start service I have a sudoers file th…

---

## [Ansible\_ssh\_private\_key from variable, not from file](https://forum.ansible.com/t/ansible-ssh-private-key-from-variable-not-from-file/8403)

<div class="topic-metadata">

**Author:** [@dnmvisser](https://forum.ansible.com/u/dnmvisser)\
**Replies:** 0\
**Last updated:** [September 10, 2024, 3:33pm UTC](https://forum.ansible.com/t/ansible-ssh-private-key-from-variable-not-from-file/8403 "2024-09-10T15:33:33Z")

</div>

Hii As part of our workflow, we receive VMs that are spun up by another team. The VMs contain a single SSH public key, to which we have the private key, which allows us to further deploy them. Part of this process is t…

---

## [Win\_get\_url doesn't download the file when run with \`--check\`?](https://forum.ansible.com/t/win-get-url-doesnt-download-the-file-when-run-with-check/8401)

<div class="topic-metadata">

**Author:** [@paulmossman](https://forum.ansible.com/u/paulmossman)\
**Replies:** 0\
**Last updated:** [September 10, 2024, 2:44pm UTC](https://forum.ansible.com/t/win-get-url-doesnt-download-the-file-when-run-with-check/8401 "2024-09-10T14:44:37Z")

</div>

Can someone confirm that ansible.windows.win\_get\_url does not download the file when run with --check? The documentation for ansible.builtin.get\_url states that (since 2.4) the file is not downloaded when run with --che…

---

## [Azure.azcollection:2.6.0 still using az-cli to authenticate even when using service principal way of doing it](https://forum.ansible.com/t/azure-azcollection-2-6-0-still-using-az-cli-to-authenticate-even-when-using-service-principal-way-of-doing-it/8294)

<div class="topic-metadata">

**Author:** [@mayank\_gupta](https://forum.ansible.com/u/mayank_gupta)\
**Replies:** 7\
**Last updated:** [September 10, 2024, 12:25pm UTC](https://forum.ansible.com/t/azure-azcollection-2-6-0-still-using-az-cli-to-authenticate-even-when-using-service-principal-way-of-doing-it/8294 "2024-09-10T12:25:25Z")

</div>

we are trying to upload a txt file to a azure blob storage using ansible playbook. We are using azure.azcollection.azure\_rm\_storageblob package to perform the upload. My azure.azcollection version is 2.6.0 auto@32fb1b…

---

## [Job output is not getting refreshed automatically](https://forum.ansible.com/t/job-output-is-not-getting-refreshed-automatically/8392)

<div class="topic-metadata">

**Author:** [@SaravanaSelvaraj](https://forum.ansible.com/u/SaravanaSelvaraj)\
**Replies:** 0\
**Last updated:** [September 10, 2024, 12:03pm UTC](https://forum.ansible.com/t/job-output-is-not-getting-refreshed-automatically/8392 "2024-09-10T12:03:32Z")

</div>

\*\*Hello Community, We are using AWX version AWX 22.1.0 . In this version we can observe that Job output is not getting refreshed automatically and it requires a manual refresh at browser level. I see in GitHub that this…

---

## [How to disable Delete and Edit button for a User in AWX Job Templates](https://forum.ansible.com/t/how-to-disable-delete-and-edit-button-for-a-user-in-awx-job-templates/8390)

<div class="topic-metadata">

**Author:** [@SaravanaSelvaraj](https://forum.ansible.com/u/SaravanaSelvaraj)\
**Replies:** 0\
**Last updated:** [September 10, 2024, 11:51am UTC](https://forum.ansible.com/t/how-to-disable-delete-and-edit-button-for-a-user-in-awx-job-templates/8390 "2024-09-10T11:51:53Z")

</div>

Hello Community , How can we disable Edit and Delete buttons for a normal user in Job Templates Screen. Please find the screenshot FYR. The same behavior we can see in Credentials tab too. We are using AWX 22.1.0 vers…

---

## [Using ansible.builtin.expect fails with python error](https://forum.ansible.com/t/using-ansible-builtin-expect-fails-with-python-error/8386)

<div class="topic-metadata">

**Author:** [@ktg2810](https://forum.ansible.com/u/ktg2810)\
**Replies:** 1\
**Last updated:** [September 10, 2024, 10:03am UTC](https://forum.ansible.com/t/using-ansible-builtin-expect-fails-with-python-error/8386 "2024-09-10T10:03:28Z")

</div>

code snippet name: Execute test expect ansible.builtin.expect: command: /home/paul/test.sh responses: enter name: “Peter” become: true become\_user: Paul Fails with below error { “exception”: "Traceback (most rec…

---

## [Remote error: ERROR: could not parse response: ERROR: work type did not expect a signature](https://forum.ansible.com/t/remote-error-error-could-not-parse-response-error-work-type-did-not-expect-a-signature/8389)

<div class="topic-metadata">

**Author:** [@manohar-kummari\_nttl](https://forum.ansible.com/u/manohar-kummari_nttl)\
**Replies:** 0\
**Last updated:** [September 10, 2024, 9:52am UTC](https://forum.ansible.com/t/remote-error-error-could-not-parse-response-error-work-type-did-not-expect-a-signature/8389 "2024-09-10T09:52:01Z")

</div>

execution is unavailable after install and giving below error in the AWX UI. error: Remote error: ERROR: could not parse response: ERROR: work type did not expect a signature awx ui version: \< AWX 24.5.0 \> troubles…

---

## [Win\_updates module working ok on one server - fails on another](https://forum.ansible.com/t/win-updates-module-working-ok-on-one-server-fails-on-another/8261)

<div class="topic-metadata">

**Author:** [@shrutebattlestargala](https://forum.ansible.com/u/shrutebattlestargala)\
**Replies:** 8\
**Last updated:** [September 9, 2024, 9:57pm UTC](https://forum.ansible.com/t/win-updates-module-working-ok-on-one-server-fails-on-another/8261 "2024-09-09T21:57:49Z")

</div>

Hello - I have two Windows 2022 servers that i am executing the same playbook on. One is working ok - the other fails. I tried to use psrp plugin for the ansible connection but it failed for all the Windows hosts so cant…

---

## [Feedback on my playbook](https://forum.ansible.com/t/feedback-on-my-playbook/8375)

<div class="topic-metadata">

**Author:** [@maxbrc](https://forum.ansible.com/u/maxbrc)\
**Replies:** 2\
**Last updated:** [September 9, 2024, 6:19pm UTC](https://forum.ansible.com/t/feedback-on-my-playbook/8375 "2024-09-09T18:19:25Z")

</div>

This is not a problem but rather a nice question. I am very new to Ansible and want to automate my parts of my online business. I just developed this playbook (all variables are highly dynamic and get set via the cli). …

---

## [Trouble authenticating to a Windows host Using ntlm](https://forum.ansible.com/t/trouble-authenticating-to-a-windows-host-using-ntlm/8343)

<div class="topic-metadata">

**Author:** [@Avinash](https://forum.ansible.com/u/Avinash)\
**Replies:** 2\
**Last updated:** [September 9, 2024, 3:58pm UTC](https://forum.ansible.com/t/trouble-authenticating-to-a-windows-host-using-ntlm/8343 "2024-09-09T15:58:06Z")

</div>

We’re having issues establishing a WinRM session to a windows workstation. As a test I’m using win\_ping to attempt to get a response. I’ve tried basic and ntlm transport methods which both failed. What changes should i …

---

## [Ansible installation did not create /etc/ansible directory](https://forum.ansible.com/t/ansible-installation-did-not-create-etc-ansible-directory/8368)

<div class="topic-metadata">

**Author:** [@desertdenizen](https://forum.ansible.com/u/desertdenizen)\
**Replies:** 2\
**Last updated:** [September 9, 2024, 3:42pm UTC](https://forum.ansible.com/t/ansible-installation-did-not-create-etc-ansible-directory/8368 "2024-09-09T15:42:12Z")

</div>

I am running rhel 8.9 server. I installed ansible-4.10 as my username this morning. Everything seems to have installed correctly, but I don’t have an /etc/ansible directory. I used the command 'pip3 install --user ansi…

---

## [How to check settings](https://forum.ansible.com/t/how-to-check-settings/8237)

<div class="topic-metadata">

**Author:** [@bcoca](https://forum.ansible.com/u/bcoca)\
**Replies:** 2\
**Last updated:** [September 9, 2024, 10:21am UTC](https://forum.ansible.com/t/how-to-check-settings/8237 "2024-09-09T10:21:32Z")

</div>

I’m not sure this is the right place for it, I’m also looking at the doc site and we have some of this there, but not all. There are many cases in which people report ‘X’ is not working event though I configured/set/pas…

---

## [How to change dns resolver used by playbook?](https://forum.ansible.com/t/how-to-change-dns-resolver-used-by-playbook/8193)

<div class="topic-metadata">

**Author:** [@numpty-boy](https://forum.ansible.com/u/numpty-boy)\
**Replies:** 5\
**Last updated:** [September 9, 2024, 7:13am UTC](https://forum.ansible.com/t/how-to-change-dns-resolver-used-by-playbook/8193 "2024-09-09T07:13:38Z")

</div>

Hi Team I have a playbook i run in several different situations, in each case with a different inventory file. The inventory files use FQDNs. In each case i have to edit /etc/resolv.conf to change the dns resolver bef…

---

## [Priviledge escalation failing when no enable password is configured](https://forum.ansible.com/t/priviledge-escalation-failing-when-no-enable-password-is-configured/8323)

<div class="topic-metadata">

**Author:** [@albert21](https://forum.ansible.com/u/albert21)\
**Replies:** 0\
**Last updated:** [September 7, 2024, 9:47pm UTC](https://forum.ansible.com/t/priviledge-escalation-failing-when-no-enable-password-is-configured/8323 "2024-09-07T21:47:01Z")

</div>

I m using ansible 2.9.6 to run playbooks on Cisco devices within GNS3. I ve observed that if the devices do not have the enable password (or secret) configured prior to running the playbooks, ansible cannot move past th…

---

## [Having azure.azcollection 2.6.0 installed and using service principle auth but still using azure cli dependency](https://forum.ansible.com/t/having-azure-azcollection-2-6-0-installed-and-using-service-principle-auth-but-still-using-azure-cli-dependency/8313)

<div class="topic-metadata">

**Author:** [@mayank\_gupta](https://forum.ansible.com/u/mayank_gupta)\
**Replies:** 0\
**Last updated:** [September 7, 2024, 11:55am UTC](https://forum.ansible.com/t/having-azure-azcollection-2-6-0-installed-and-using-service-principle-auth-but-still-using-azure-cli-dependency/8313 "2024-09-07T11:55:49Z")

</div>

We are trying to make a azure blob connection using azure.azcollection.azure\_rm\_storageblob package in ansibel. Below is the ansible playbook. name: Upload file to Azure Blob hosts: localhost tasks: name: Upload file…

---

## [Issues running older version of ansible and core with python version](https://forum.ansible.com/t/issues-running-older-version-of-ansible-and-core-with-python-version/8289)

<div class="topic-metadata">

**Author:** [@dmastrop](https://forum.ansible.com/u/dmastrop)\
**Replies:** 2\
**Last updated:** [September 7, 2024, 2:17am UTC](https://forum.ansible.com/t/issues-running-older-version-of-ansible-and-core-with-python-version/8289 "2024-09-07T02:17:55Z")

</div>

hi I am working on a project that requires a much older version of ansible and ansible core (ansible 4.8.0 and core 2.11.12) I installed this in a virtual environment initially with a more recent version of ansible cor…

---

## [Trying run playbook on fortigate firewalls, getting api error](https://forum.ansible.com/t/trying-run-playbook-on-fortigate-firewalls-getting-api-error/8304)

<div class="topic-metadata">

**Author:** [@moinshaikh.sa](https://forum.ansible.com/u/moinshaikh.sa)\
**Replies:** 0\
**Last updated:** [September 6, 2024, 7:46pm UTC](https://forum.ansible.com/t/trying-run-playbook-on-fortigate-firewalls-getting-api-error/8304 "2024-09-06T19:46:39Z")

</div>

Hi Experts, i am new to anisble, i am trying to run playbook against fortigate firewall to get the list of policies which are having zero hits. ansible - 2.17.1 python 2.11.9 Below mentioned are my host file and play…

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

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