# Ansible Project

**URL:** https://forum.ansible.com/c/archives/ansible-project/30.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

---

## [Search key in Dictionaries and compare with variable](https://forum.ansible.com/t/search-key-in-dictionaries-and-compare-with-variable/37432)

<div class="topic-metadata">

**Author:** [@Emanuel\_Gonzalez](https://forum.ansible.com/u/Emanuel_Gonzalez)\
**Replies:** 3\
**Last updated:** [December 7, 2022, 5:21pm UTC](https://forum.ansible.com/t/search-key-in-dictionaries-and-compare-with-variable/37432 "2022-12-07T17:21:17Z")

</div>

Hi, I need your help, this is my stage. Good morning I need your help, I want to run a playbook using a console variable and compare it with a dictionary, example: ansible-playbook --extra-vars “SERVER=new” example.yam…

---

## [Ansible 7.1.0 has been released!](https://forum.ansible.com/t/ansible-7-1-0-has-been-released/37439)

<div class="topic-metadata">

**Author:** [@Christian\_Adams](https://forum.ansible.com/u/Christian_Adams)\
**Replies:** 0\
**Last updated:** [December 7, 2022, 4:22pm UTC](https://forum.ansible.com/t/ansible-7-1-0-has-been-released/37439 "2022-12-07T16:22:51Z")

</div>

Hi all, We’re happy to announce that the Ansible 7.1.0 package has been released! Ansible 7.1.0 will include ansible-core 2.14.1 as well as a curated set of Ansible collections to provide a vast number of modules and …

---

## [Fix the bug for saving Ansible ping results to a local file](https://forum.ansible.com/t/fix-the-bug-for-saving-ansible-ping-results-to-a-local-file/37437)

<div class="topic-metadata">

**Author:** [@Frank\_Ling](https://forum.ansible.com/u/Frank_Ling)\
**Replies:** 11\
**Last updated:** [December 7, 2022, 1:36pm UTC](https://forum.ansible.com/t/fix-the-bug-for-saving-ansible-ping-results-to-a-local-file/37437 "2022-12-07T13:36:09Z")

</div>

I need some helps for fixing the bug of saving the Ansible ping results to a local file. Appreciate your help. Thanks in advance. Frank After running the playbook, I got this weird result: cat /tmp/file.txt {“ping”…

---

## [AWX - deploy nginx.conf updates from git](https://forum.ansible.com/t/awx-deploy-nginx-conf-updates-from-git/13803)

<div class="topic-metadata">

**Author:** [@steve\_flitcroft](https://forum.ansible.com/u/steve_flitcroft)\
**Replies:** 3\
**Last updated:** [December 6, 2022, 11:01pm UTC](https://forum.ansible.com/t/awx-deploy-nginx-conf-updates-from-git/13803 "2022-12-06T23:01:56Z")

</div>

Hi, I am new to awx and ansible. Could someone show me the best way to pull the latest nginx conf file from a git repo and deploy across a cluster of nginx boxes. Do I have to clone the repo to the ansible server then do…

---

## [New releases: ansible-core 2.14.1](https://forum.ansible.com/t/new-releases-ansible-core-2-14-1/37438)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 0\
**Last updated:** [December 6, 2022, 10:47pm UTC](https://forum.ansible.com/t/new-releases-ansible-core-2-14-1/37438 "2022-12-06T22:47:38Z")

</div>

Hi all- we’re happy to announce the general release of: ansible-core 2.14.1 How to get it

---

## [using domain user account for ansible\_user on inventory](https://forum.ansible.com/t/using-domain-user-account-for-ansible-user-on-inventory/37431)

<div class="topic-metadata">

**Author:** [@Da\_Ye](https://forum.ansible.com/u/Da_Ye)\
**Replies:** 1\
**Last updated:** [December 6, 2022, 8:45pm UTC](https://forum.ansible.com/t/using-domain-user-account-for-ansible-user-on-inventory/37431 "2022-12-06T20:45:28Z")

</div>

Can someone let me know if I can using Windows AD domain user account for the ansilbe\_user on the inventory file. I have no problem using the windows local user account , but could not establish connection using AD accou…

---

## [Ansible custom module - DIY Missing pre-requisite](https://forum.ansible.com/t/ansible-custom-module-diy-missing-pre-requisite/37417)

<div class="topic-metadata">

**Author:** [@Phillip\_Wu](https://forum.ansible.com/u/Phillip_Wu)\
**Replies:** 1\
**Last updated:** [December 6, 2022, 6:23pm UTC](https://forum.ansible.com/t/ansible-custom-module-diy-missing-pre-requisite/37417 "2022-12-06T18:23:36Z")

</div>

The documentation for Ansible module development says the prerequistes are: build-essential libssl-dev libffi-dev python-dev I’m on Open SUSE and these packages do not exist \[all of them!\] Do you know where I can get …

---

## [ansible billing model and any reference for chef to ansible](https://forum.ansible.com/t/ansible-billing-model-and-any-reference-for-chef-to-ansible/37433)

<div class="topic-metadata">

**Author:** [@Amit\_Kumar1](https://forum.ansible.com/u/Amit_Kumar1)\
**Replies:** 2\
**Last updated:** [December 6, 2022, 6:08pm UTC](https://forum.ansible.com/t/ansible-billing-model-and-any-reference-for-chef-to-ansible/37433 "2022-12-06T18:08:35Z")

</div>

Hi Ansible group, I need to know what is billing mechanism for Ansible? is it per control node or managed node? I want to migrate current chef to ansible for 100K VMs, What should be potential points need to be checked…

---

## [How to best manage several containers in ansible](https://forum.ansible.com/t/how-to-best-manage-several-containers-in-ansible/37430)

<div class="topic-metadata">

**Author:** [@Stefan\_Rasmusson](https://forum.ansible.com/u/Stefan_Rasmusson)\
**Replies:** 1\
**Last updated:** [December 6, 2022, 2:14pm UTC](https://forum.ansible.com/t/how-to-best-manage-several-containers-in-ansible/37430 "2022-12-06T14:14:41Z")

</div>

I have a home server where I run 15+ containers. Some use common databases and some write to volumes. I have some tasks that need to be run before some of the containers and some tasks used to pull configuration from the…

---

## [Ansible 2.9.7 on RHEL 7.9 - Upgrade plan](https://forum.ansible.com/t/ansible-2-9-7-on-rhel-7-9-upgrade-plan/37424)

<div class="topic-metadata">

**Author:** [@Ramkumar\_A](https://forum.ansible.com/u/Ramkumar_A)\
**Replies:** 3\
**Last updated:** [December 6, 2022, 12:41pm UTC](https://forum.ansible.com/t/ansible-2-9-7-on-rhel-7-9-upgrade-plan/37424 "2022-12-06T12:41:53Z")

</div>

Hi, Ansible 2.9.7 is running on RHEL 7.9 server. We are planning to upgrade the Ansible to latest version. As per documentation, there are many Ansible versions released after 2.9.7 and latest one is Ansible 7 (ansibl…

---

## [ansible-morpheus integration](https://forum.ansible.com/t/ansible-morpheus-integration/37428)

<div class="topic-metadata">

**Author:** [@Varalakshmi\_Tarini](https://forum.ansible.com/u/Varalakshmi_Tarini)\
**Replies:** 0\
**Last updated:** [December 6, 2022, 7:17am UTC](https://forum.ansible.com/t/ansible-morpheus-integration/37428 "2022-12-06T07:17:53Z")

</div>

while giving both private and public key iam getting this error. can you give solution for this?

---

## [New releases: ansible-core 2.13.7](https://forum.ansible.com/t/new-releases-ansible-core-2-13-7/37423)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 0\
**Last updated:** [December 5, 2022, 5:26pm UTC](https://forum.ansible.com/t/new-releases-ansible-core-2-13-7/37423 "2022-12-05T17:26:16Z")

</div>

Hi all- we’re happy to announce the general release of: ansible-core 2.13.7 How to get it

---

## [How to Downgrade RHSA Security Patch with Playbook](https://forum.ansible.com/t/how-to-downgrade-rhsa-security-patch-with-playbook/37405)

<div class="topic-metadata">

**Author:** [@Fabiuscom](https://forum.ansible.com/u/Fabiuscom)\
**Replies:** 2\
**Last updated:** [December 3, 2022, 5:31pm UTC](https://forum.ansible.com/t/how-to-downgrade-rhsa-security-patch-with-playbook/37405 "2022-12-03T17:31:11Z")

</div>

Hi, after install a RHSA security patch, I want to downgrade it with an ansible’s playbook. How to do this? Because I know that yum can downgrade package with the package’s name or history ID, but if i want downgrade wit…

---

## [Unable to execute script on remote system as another user](https://forum.ansible.com/t/unable-to-execute-script-on-remote-system-as-another-user/30195)

<div class="topic-metadata">

**Author:** [@Joe\_G2](https://forum.ansible.com/u/Joe_G2)\
**Replies:** 8\
**Last updated:** [December 2, 2022, 8:29pm UTC](https://forum.ansible.com/t/unable-to-execute-script-on-remote-system-as-another-user/30195 "2022-12-02T20:29:44Z")

</div>

I’m new to ansible and have been trying to figure this out for a day with no resolution. I’m sure this has been addressed here before and I’m sorry to rehash this, but I’ve googled and searched around for hours and tried…

---

## [Ansible can't sudo to unprivileged user](https://forum.ansible.com/t/ansible-cant-sudo-to-unprivileged-user/37413)

<div class="topic-metadata">

**Author:** [@Darkhan](https://forum.ansible.com/u/Darkhan)\
**Replies:** 1\
**Last updated:** [December 2, 2022, 4:26pm UTC](https://forum.ansible.com/t/ansible-cant-sudo-to-unprivileged-user/37413 "2022-12-02T16:26:20Z")

</div>

Hello, I have a use case where ansible has to connect with an automation user, which is deployed on all the servers, and the sudo to a service user that runs on that particular machine. The service users are all differe…

---

## [Selectively running tasks but using static includes](https://forum.ansible.com/t/selectively-running-tasks-but-using-static-includes/37409)

<div class="topic-metadata">

**Author:** [@Mark\_Faine](https://forum.ansible.com/u/Mark_Faine)\
**Replies:** 2\
**Last updated:** [December 2, 2022, 3:17pm UTC](https://forum.ansible.com/t/selectively-running-tasks-but-using-static-includes/37409 "2022-12-02T15:17:48Z")

</div>

This is a terrible weakness in Ansible for me. I don’t want to choose between dynamic and static imports. I want to be able to do both. I want to be able to use features like --list-tasks and --list-tags but I also want…

---

## [Ansible Expect - Program under control has same prompt](https://forum.ansible.com/t/ansible-expect-program-under-control-has-same-prompt/37399)

<div class="topic-metadata">

**Author:** [@Phillip\_Wu](https://forum.ansible.com/u/Phillip_Wu)\
**Replies:** 5\
**Last updated:** [December 2, 2022, 4:27am UTC](https://forum.ansible.com/t/ansible-expect-program-under-control-has-same-prompt/37399 "2022-12-02T04:27:23Z")

</div>

Hi, I want to run a program on a remote server where after login, the program will ask for more input using the same prompt. This is the basic flow: Read Username Read Password Read commands ← these get echoed back …

---

## [Ansible Expect Prompt set to a variable in Host not working](https://forum.ansible.com/t/ansible-expect-prompt-set-to-a-variable-in-host-not-working/37406)

<div class="topic-metadata">

**Author:** [@Phillip\_Wu](https://forum.ansible.com/u/Phillip_Wu)\
**Replies:** 2\
**Last updated:** [December 2, 2022, 2:01am UTC](https://forum.ansible.com/t/ansible-expect-prompt-set-to-a-variable-in-host-not-working/37406 "2022-12-02T02:01:31Z")

</div>

Hi, I’m trying to set Ansible Expect prompt to a variable in host file. However this does not work. You can see that Ansible is not sending a response to the prompt. The prompt is defined as the contents of a variabl…

---

## [Change VLAN using interactive playbook with prompt](https://forum.ansible.com/t/change-vlan-using-interactive-playbook-with-prompt/37410)

<div class="topic-metadata">

**Author:** [@Hossein\_Malakooti](https://forum.ansible.com/u/Hossein_Malakooti)\
**Replies:** 0\
**Last updated:** [December 1, 2022, 9:45pm UTC](https://forum.ansible.com/t/change-vlan-using-interactive-playbook-with-prompt/37410 "2022-12-01T21:45:53Z")

</div>

Hello Dear Fellows I am a newbie to Ansible I searched for in existing discussions but I couldn’t find a clear answer , I was hoping you could help me find a write Config I am trying to write a playbook who prompt user…

---

## [Ansible Roles - Concept](https://forum.ansible.com/t/ansible-roles-concept/37380)

<div class="topic-metadata">

**Author:** [@RG1](https://forum.ansible.com/u/RG1)\
**Replies:** 2\
**Last updated:** [December 1, 2022, 1:39pm UTC](https://forum.ansible.com/t/ansible-roles-concept/37380 "2022-12-01T13:39:38Z")

</div>

i’d like to migrate my playbooks into ansible roles. I started but a basic question raises. E.g. I’d like to implement nfs in a bunch of of linux machines. on one machine i’ve to configure the nfs-sharing and on the ot…

---

## [Access to different gateways by using a list of passwords.](https://forum.ansible.com/t/access-to-different-gateways-by-using-a-list-of-passwords/37400)

<div class="topic-metadata">

**Author:** [@Niyazi\_Gokberg\_Gundu](https://forum.ansible.com/u/Niyazi_Gokberg_Gundu)\
**Replies:** 2\
**Last updated:** [November 30, 2022, 11:29am UTC](https://forum.ansible.com/t/access-to-different-gateways-by-using-a-list-of-passwords/37400 "2022-11-30T11:29:44Z")

</div>

Hi, I have over 300 gateways which I need to connect by using passwords which is a list of couple different passwords for the first time, then I will deploy the ssh keys. To connect those gateways, I need to loop over a …

---

## [vmware\_guest error: Unable to access the virtual machine configuration: Unable to access file](https://forum.ansible.com/t/vmware-guest-error-unable-to-access-the-virtual-machine-configuration-unable-to-access-file/36304)

<div class="topic-metadata">

**Author:** [@Jason\_B](https://forum.ansible.com/u/Jason_B)\
**Replies:** 5\
**Last updated:** [November 29, 2022, 1:00pm UTC](https://forum.ansible.com/t/vmware-guest-error-unable-to-access-the-virtual-machine-configuration-unable-to-access-file/36304 "2022-11-29T13:00:07Z")

</div>

SUMMARY When attempting to provision a new vmware VM using the vmware\_guest module to VSAN storage, I am getting the following error: msg": "Failed to create a virtual machine : Unable to access the virtual machine con…

---

## [Netscaler Citrix ServiceGroup binding issue](https://forum.ansible.com/t/netscaler-citrix-servicegroup-binding-issue/37393)

<div class="topic-metadata">

**Author:** [@Sayantan\_Laha](https://forum.ansible.com/u/Sayantan_Laha)\
**Replies:** 0\
**Last updated:** [November 28, 2022, 5:38pm UTC](https://forum.ansible.com/t/netscaler-citrix-servicegroup-binding-issue/37393 "2022-11-28T17:38:16Z")

</div>

Dear Team, it is observed that while binding any service or servicegroup to an existing VIP ( where a service or servicegroup a;ready exists) then its unbinding old service or service group and bind the latest one. how…

---

## [why does this loop/when fail](https://forum.ansible.com/t/why-does-this-loop-when-fail/37365)

<div class="topic-metadata">

**Author:** [@rjwagner.dba](https://forum.ansible.com/u/rjwagner.dba)\
**Replies:** 5\
**Last updated:** [November 28, 2022, 2:44pm UTC](https://forum.ansible.com/t/why-does-this-loop-when-fail/37365 "2022-11-28T14:44:30Z")

</div>

Hey all - I think I’m losing my mind. Can anyone explain why every iteration of task 3 is being skipped (compare w/ task 2, especially)? (ansible2\_12\_8) rowagn@mlb656 client % cat d.yml hosts: all gather\_facts: no v…

---

## [Passing Dictionaries of Dictonaries in Ansible](https://forum.ansible.com/t/passing-dictionaries-of-dictonaries-in-ansible/37391)

<div class="topic-metadata">

**Author:** [@rameume](https://forum.ansible.com/u/rameume)\
**Replies:** 6\
**Last updated:** [November 28, 2022, 2:11pm UTC](https://forum.ansible.com/t/passing-dictionaries-of-dictonaries-in-ansible/37391 "2022-11-28T14:11:41Z")

</div>

I wanted to simulate the JINJA template bheaviour using set\_facts for WIndows Patching using Ansible. I am doing the below however, getting error Sorry New to Ansible here. Attcahed Screenshots. name: Sample Dictio…

---

## [Ansible trigering Python Code to Merge CSV's into Excel](https://forum.ansible.com/t/ansible-trigering-python-code-to-merge-csvs-into-excel/37390)

<div class="topic-metadata">

**Author:** [@rameume](https://forum.ansible.com/u/rameume)\
**Replies:** 3\
**Last updated:** [November 28, 2022, 2:09pm UTC](https://forum.ansible.com/t/ansible-trigering-python-code-to-merge-csvs-into-excel/37390 "2022-11-28T14:09:52Z")

</div>

is it possible to run python code (from ansible) to combine two csv files (generated by ansible) in to excel sheet and make ansible to send that excel file via email

---

## [The powershell shell family is incompatible with the sudo become plugin](https://forum.ansible.com/t/the-powershell-shell-family-is-incompatible-with-the-sudo-become-plugin/37389)

<div class="topic-metadata">

**Author:** [@Operation\_Consultant](https://forum.ansible.com/u/Operation_Consultant)\
**Replies:** 1\
**Last updated:** [November 28, 2022, 9:24am UTC](https://forum.ansible.com/t/the-powershell-shell-family-is-incompatible-with-the-sudo-become-plugin/37389 "2022-11-28T09:24:33Z")

</div>

Getting - “The powershell shell family is incompatible with the sudo become plugin” Error message. \[ops@test02 ~\]$ ansible --version ansible 2.9.27 #$$$ I’m using adhoc command ansible -i /home/aiops/ansible\_dir/win…

---

## [Ansible roles - setup concept](https://forum.ansible.com/t/ansible-roles-setup-concept/37381)

<div class="topic-metadata">

**Author:** [@Walter\_Rowe](https://forum.ansible.com/u/Walter_Rowe)\
**Replies:** 19\
**Last updated:** [November 26, 2022, 10:16am UTC](https://forum.ansible.com/t/ansible-roles-setup-concept/37381 "2022-11-26T10:16:59Z")

</div>

It sounds like you want one NFS role that can do both NFS server and NFS client tasks. Were I designing such a role I think I would use a variable or tag to identify which “persona” you want the role to configure, and us…

---

## [Ansible 7.0.0 has been released!](https://forum.ansible.com/t/ansible-7-0-0-has-been-released/37378)

<div class="topic-metadata">

**Author:** [@Christian\_Adams](https://forum.ansible.com/u/Christian_Adams)\
**Replies:** 2\
**Last updated:** [November 25, 2022, 2:00pm UTC](https://forum.ansible.com/t/ansible-7-0-0-has-been-released/37378 "2022-11-25T14:00:00Z")

</div>

Hi all, We’re happy to announce that the Ansible 7.0.0 package has been released! Ansible 7.0.0 will include ansible-core 2.14.0 as well as a curated set of Ansible collections to provide a vast number of modules and …

---

## ["timeout" vs "async/poll" when provisioning containers via community.general.proxmox](https://forum.ansible.com/t/timeout-vs-async-poll-when-provisioning-containers-via-community-general-proxmox/37386)

<div class="topic-metadata">

**Author:** [@jsabater](https://forum.ansible.com/u/jsabater)\
**Replies:** 0\
**Last updated:** [November 25, 2022, 9:06am UTC](https://forum.ansible.com/t/timeout-vs-async-poll-when-provisioning-containers-via-community-general-proxmox/37386 "2022-11-25T09:06:26Z")

</div>

Hey everyone! I have a playbook that successfully provisions a number of LXC in my Proxmox cluster using community.general.proxmox. I have been using either the timeout: 30 option from the module or the combination of a…

[Previous page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=29)

[Next page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=31)
