# Ansible Project

**URL:** https://forum.ansible.com/c/archives/ansible-project/30.md?page=46

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

**Page:** 47

---

## [AWX/Ansible Tower unable to see playbooks in "tasks" role subdirectory?](https://forum.ansible.com/t/awx-ansible-tower-unable-to-see-playbooks-in-tasks-role-subdirectory/36582)

<div class="topic-metadata">

**Author:** [@Alex\_Walker](https://forum.ansible.com/u/Alex_Walker)\
**Replies:** 0\
**Last updated:** [May 1, 2022, 2:50pm UTC](https://forum.ansible.com/t/awx-ansible-tower-unable-to-see-playbooks-in-tasks-role-subdirectory/36582 "2022-05-01T14:50:51Z")

</div>

Hi All I’ve got a strange issue which I’m hoping somebody might be able to help with. Technically it relates to AWX so I hope I’m not too off topic posting here. I’m adding some of my Ansible playbooks into AWX, using …

---

## [Access by ssh to an ec2 instance after creating it](https://forum.ansible.com/t/access-by-ssh-to-an-ec2-instance-after-creating-it/36572)

<div class="topic-metadata">

**Author:** [@Emanuel\_Gonzalez](https://forum.ansible.com/u/Emanuel_Gonzalez)\
**Replies:** 5\
**Last updated:** [April 29, 2022, 5:59pm UTC](https://forum.ansible.com/t/access-by-ssh-to-an-ec2-instance-after-creating-it/36572 "2022-04-29T17:59:19Z")

</div>

Hi, I am creating an ec2 instance in AWS, but after creating it I need to log in via SSH and run some tasks on it. The instance takes a few minutes to be ready, as I do not know how long it takes to be ready and nor the…

---

## [Migrations error moving from awx 19.0.1  to 21.0.0](https://forum.ansible.com/t/migrations-error-moving-from-awx-19-0-1-to-21-0-0/36577)

<div class="topic-metadata">

**Author:** [@Buyongo\_Phiri](https://forum.ansible.com/u/Buyongo_Phiri)\
**Replies:** 0\
**Last updated:** [April 29, 2022, 3:04pm UTC](https://forum.ansible.com/t/migrations-error-moving-from-awx-19-0-1-to-21-0-0/36577 "2022-04-29T15:04:23Z")

</div>

Hello, Migrations seem to fail on this one, looks like the db changed. Is there a way to fix it? (awx) bash-5.1$ awx-manage migrate Operations to perform: Apply all migrations: auth, conf, contenttypes, main, oauth2\_…

---

## [Unable to connect to a single ansible client for unknown reasons](https://forum.ansible.com/t/unable-to-connect-to-a-single-ansible-client-for-unknown-reasons/36575)

<div class="topic-metadata">

**Author:** [@Veera](https://forum.ansible.com/u/Veera)\
**Replies:** 0\
**Last updated:** [April 29, 2022, 12:25pm UTC](https://forum.ansible.com/t/unable-to-connect-to-a-single-ansible-client-for-unknown-reasons/36575 "2022-04-29T12:25:04Z")

</div>

Hi, I am able to connect to all the clients in my new Linux environment, and however one of the client is failng . All the servers are running RHEL7 and one server is failing. zlib also installed in the server as like …

---

## [Ansible 5.7.0 has been released](https://forum.ansible.com/t/ansible-5-7-0-has-been-released/36564)

<div class="topic-metadata">

**Author:** [@David\_Moreau\_Simard2](https://forum.ansible.com/u/David_Moreau_Simard2)\
**Replies:** 1\
**Last updated:** [April 28, 2022, 11:24pm UTC](https://forum.ansible.com/t/ansible-5-7-0-has-been-released/36564 "2022-04-28T23:24:02Z")

</div>

Hi all, We're happy to announce that the Ansible 5.7.0 package has been released ! Ansible 5.7.0 includes ansible-core 2.12 as well as a curated set of Ansible collections to provide a vast number of modules and plugi…

---

## [get snmp config from windows](https://forum.ansible.com/t/get-snmp-config-from-windows/36573)

<div class="topic-metadata">

**Author:** [@John\_Veliss](https://forum.ansible.com/u/John_Veliss)\
**Replies:** 0\
**Last updated:** [April 28, 2022, 8:03pm UTC](https://forum.ansible.com/t/get-snmp-config-from-windows/36573 "2022-04-28T20:03:13Z")

</div>

Does anyone know if I can display the SNMP configuration on a windows server. I noticed there is a win\_snmp module, but the actions are only set, remove and add, there is no get action. I have a number of windows serve…

---

## [Questions regarding the ansible sops collection](https://forum.ansible.com/t/questions-regarding-the-ansible-sops-collection/36569)

<div class="topic-metadata">

**Author:** [@schoeppi](https://forum.ansible.com/u/schoeppi)\
**Replies:** 1\
**Last updated:** [April 27, 2022, 4:15pm UTC](https://forum.ansible.com/t/questions-regarding-the-ansible-sops-collection/36569 "2022-04-27T16:15:36Z")

</div>

Hello, I am relatively new to ansible and I want to use the sops collection to decrypt some sensible data for our ansible playbooks / roles that we want to store in a git repo. Unfortunatly things are not working as e…

---

## [Ansible run cmd\\powershell as admin doesnt change anything](https://forum.ansible.com/t/ansible-run-cmd-powershell-as-admin-doesnt-change-anything/36571)

<div class="topic-metadata">

**Author:** [@batchenr](https://forum.ansible.com/u/batchenr)\
**Replies:** 0\
**Last updated:** [April 27, 2022, 2:23pm UTC](https://forum.ansible.com/t/ansible-run-cmd-powershell-as-admin-doesnt-change-anything/36571 "2022-04-27T14:23:45Z")

</div>

Win 10 enterprise ansible 2.9 Using this playbook on a vm in order to change something in windows GPO : — - hosts: localhost connection: local vars: vars\_files: - vars.yml become\_method: runas tasks: name: “GPO c…

---

## [Corrected: New releases: ansible-core 2.12.5, ansible-core 2.11.11](https://forum.ansible.com/t/corrected-new-releases-ansible-core-2-12-5-ansible-core-2-11-11/36562)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 0\
**Last updated:** [April 25, 2022, 5:43pm UTC](https://forum.ansible.com/t/corrected-new-releases-ansible-core-2-12-5-ansible-core-2-11-11/36562 "2022-04-25T17:43:13Z")

</div>

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

---

## [New releases: ansible-base 2.12.5, ansible-base 2.11.11](https://forum.ansible.com/t/new-releases-ansible-base-2-12-5-ansible-base-2-11-11/36560)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 1\
**Last updated:** [April 25, 2022, 5:40pm UTC](https://forum.ansible.com/t/new-releases-ansible-base-2-12-5-ansible-base-2-11-11/36560 "2022-04-25T17:40:55Z")

</div>

Hi all- we’re happy to announce the general release of: ansible-base 2.12.5 ansible-base 2.11.11 How to get it

---

## [Ansible changed\_when syntax help](https://forum.ansible.com/t/ansible-changed-when-syntax-help/36557)

<div class="topic-metadata">

**Author:** [@Nitrous](https://forum.ansible.com/u/Nitrous)\
**Replies:** 4\
**Last updated:** [April 25, 2022, 1:30pm UTC](https://forum.ansible.com/t/ansible-changed-when-syntax-help/36557 "2022-04-25T13:30:39Z")

</div>

After installing a software on the remote machine, and registering the task called “register: InstallCSQS” , I did a debug message and got the following: ok: \[sqldisktest\] =\> { “msg”: { “changed”: true, “failed”: fal…

---

## [Please help me with ansible concatenation](https://forum.ansible.com/t/please-help-me-with-ansible-concatenation/36556)

<div class="topic-metadata">

**Author:** [@Rojali\_c](https://forum.ansible.com/u/Rojali_c)\
**Replies:** 2\
**Last updated:** [April 25, 2022, 10:26am UTC](https://forum.ansible.com/t/please-help-me-with-ansible-concatenation/36556 "2022-04-25T10:26:57Z")

</div>

Hi, I am generating a Azure storage account SAS token using the below command:

---

## [vmware\_guest module with disk extra parameter](https://forum.ansible.com/t/vmware-guest-module-with-disk-extra-parameter/36543)

<div class="topic-metadata">

**Author:** [@Daniel\_S](https://forum.ansible.com/u/Daniel_S)\
**Replies:** 2\
**Last updated:** [April 22, 2022, 1:19pm UTC](https://forum.ansible.com/t/vmware-guest-module-with-disk-extra-parameter/36543 "2022-04-22T13:19:28Z")

</div>

Hello everyone, i was using ansible 2.10.3, and all was working as well. I’ve tried to upgrade my project to ansible 4.10.0, but i’m facing this issue. I have the fallowing message: { “msg”: “Unsupported parameters f…

---

## [Is there a specific reason ansible-core lost compatibility with python 3.6?](https://forum.ansible.com/t/is-there-a-specific-reason-ansible-core-lost-compatibility-with-python-3-6/36544)

<div class="topic-metadata">

**Author:** [@Nico\_Kadel-Garcia](https://forum.ansible.com/u/Nico_Kadel-Garcia)\
**Replies:** 4\
**Last updated:** [April 21, 2022, 11:02pm UTC](https://forum.ansible.com/t/is-there-a-specific-reason-ansible-core-lost-compatibility-with-python-3-6/36544 "2022-04-21T23:02:48Z")

</div>

The system python on RHEL 7 and RHEL 8 is now python 3.6, and will be for the remaining lifespan of RHEL 7 for a few years, and of RHEL 8 for at least the next 8 years. It's especially hindered by the general dislike …

---

## [Active Directory as a dynamic inventory](https://forum.ansible.com/t/active-directory-as-a-dynamic-inventory/36554)

<div class="topic-metadata">

**Author:** [@Julien\_Deloubes](https://forum.ansible.com/u/Julien_Deloubes)\
**Replies:** 0\
**Last updated:** [April 21, 2022, 9:23pm UTC](https://forum.ansible.com/t/active-directory-as-a-dynamic-inventory/36554 "2022-04-21T21:23:31Z")

</div>

Hello, i think using AD as a dynamic inventory is a good option. Sometimes CMDB is not up to date and has a few or no API to use to retrieve a list of hosts. If you strictly join all your hosts to your AD then it can …

---

## [Setting task path](https://forum.ansible.com/t/setting-task-path/36553)

<div class="topic-metadata">

**Author:** [@Nitrous](https://forum.ansible.com/u/Nitrous)\
**Replies:** 6\
**Last updated:** [April 21, 2022, 7:40pm UTC](https://forum.ansible.com/t/setting-task-path/36553 "2022-04-21T19:40:47Z")

</div>

My current ansible playbook and roles are under /etc/Ansiblectrl01 When I try to build a new VM, using: ansible-playbook playbooks/newvm.yaml -e “hostname=xxx” -vvvv From: /etc/Ansiblectrl01, it errors: fatal: \[loca…

---

## [Variable error](https://forum.ansible.com/t/variable-error/36551)

<div class="topic-metadata">

**Author:** [@Melvin\_Satheesan](https://forum.ansible.com/u/Melvin_Satheesan)\
**Replies:** 0\
**Last updated:** [April 21, 2022, 4:39pm UTC](https://forum.ansible.com/t/variable-error/36551 "2022-04-21T16:39:06Z")

</div>

Hello Friends, Good day. I am in the middle of creating a global install/uninstall template for Windows. I have a survey form, user can select the product that he want to install from a pull down menu. Each product h…

---

## [Ansible setup for GCP winrm help](https://forum.ansible.com/t/ansible-setup-for-gcp-winrm-help/36550)

<div class="topic-metadata">

**Author:** [@Arunima\_Dhar](https://forum.ansible.com/u/Arunima_Dhar)\
**Replies:** 0\
**Last updated:** [April 21, 2022, 2:51pm UTC](https://forum.ansible.com/t/ansible-setup-for-gcp-winrm-help/36550 "2022-04-21T14:51:10Z")

</div>

Hi I am trying to setup ansible for gcp here is my dynamic inventory file

---

## [ansible.builtin.replace](https://forum.ansible.com/t/ansible-builtin-replace/36548)

<div class="topic-metadata">

**Author:** [@Meir\_Hazon](https://forum.ansible.com/u/Meir_Hazon)\
**Replies:** 5\
**Last updated:** [April 21, 2022, 1:57pm UTC](https://forum.ansible.com/t/ansible-builtin-replace/36548 "2022-04-21T13:57:28Z")

</div>

Hello, I would like to, copy a file (template) edit 2 lines based on regex I actually did it using copy and replace. The issue is that on the next ansible run, ansible identifies that the dest file does not matches …

---

## [Cant download anything with ansible](https://forum.ansible.com/t/cant-download-anything-with-ansible/36547)

<div class="topic-metadata">

**Author:** [@Ali\_Firoozi\_Zamani](https://forum.ansible.com/u/Ali_Firoozi_Zamani)\
**Replies:** 1\
**Last updated:** [April 21, 2022, 11:40am UTC](https://forum.ansible.com/t/cant-download-anything-with-ansible/36547 "2022-04-21T11:40:37Z")

</div>

https://github.com/ansible/ansible/issues/77592#issue-1210693740

---

## [Authentication to Windows servers](https://forum.ansible.com/t/authentication-to-windows-servers/36546)

<div class="topic-metadata">

**Author:** [@RROK](https://forum.ansible.com/u/RROK)\
**Replies:** 0\
**Last updated:** [April 20, 2022, 8:32pm UTC](https://forum.ansible.com/t/authentication-to-windows-servers/36546 "2022-04-20T20:32:47Z")

</div>

I am new to ansible and have a large number of computers to manage - my question is around authentication to computers I understand I need a local account on all machines which I can create at build time I would like t…

---

## [How to use tower\_ee\_extra\_volume\_mounts with custom ee and pvc](https://forum.ansible.com/t/how-to-use-tower-ee-extra-volume-mounts-with-custom-ee-and-pvc/36545)

<div class="topic-metadata">

**Author:** [@Buyongo\_Phiri](https://forum.ansible.com/u/Buyongo_Phiri)\
**Replies:** 0\
**Last updated:** [April 20, 2022, 9:53am UTC](https://forum.ansible.com/t/how-to-use-tower-ee-extra-volume-mounts-with-custom-ee-and-pvc/36545 "2022-04-20T09:53:06Z")

</div>

Hello, Has anyone got a write up on how to use the tower\_ee\_extra\_volume\_mounts with a pvc for a custom ee? I am struggling to get it working correctly, I would like to mount a directory that has configs/artifacts when …

---

## [Configure Winrm playbook issue](https://forum.ansible.com/t/configure-winrm-playbook-issue/36542)

<div class="topic-metadata">

**Author:** [@Nitrous](https://forum.ansible.com/u/Nitrous)\
**Replies:** 0\
**Last updated:** [April 19, 2022, 2:38pm UTC](https://forum.ansible.com/t/configure-winrm-playbook-issue/36542 "2022-04-19T14:38:23Z")

</div>

So I saw this example on github to configure remoting for ansible machines (https://docs.ansible.com/ansible/latest/collections/community/windows/psexec\_module.html), and try to make it work, but errors out: ERROR! play…

---

## [Error handling using block/rescue](https://forum.ansible.com/t/error-handling-using-block-rescue/36518)

<div class="topic-metadata">

**Author:** [@Fco\_Javier\_Lopez](https://forum.ansible.com/u/Fco_Javier_Lopez)\
**Replies:** 5\
**Last updated:** [April 18, 2022, 3:05pm UTC](https://forum.ansible.com/t/error-handling-using-block-rescue/36518 "2022-04-18T15:05:30Z")

</div>

Hello guys ! I have the following role created: name: Recover block: name: Starts the first node of the cluster in bootstrap mode shell: /etc/init.d/mysql bootstrap-pxc when: inventory\_hostname == groups.CD5525…

---

## [Reading in extra files, as or into dicts?](https://forum.ansible.com/t/reading-in-extra-files-as-or-into-dicts/36536)

<div class="topic-metadata">

**Author:** [@Richard\_Hector](https://forum.ansible.com/u/Richard_Hector)\
**Replies:** 4\
**Last updated:** [April 16, 2022, 7:31pm UTC](https://forum.ansible.com/t/reading-in-extra-files-as-or-into-dicts/36536 "2022-04-16T19:31:37Z")

</div>

Hi all, I have created a directory 'users' alongside my inventory. It has a directory 'user\_vars', intended to be used like host\_vars, but for users, obviously. In there, I have files like this:

---

## [Keeping inventory and other data separate from code](https://forum.ansible.com/t/keeping-inventory-and-other-data-separate-from-code/36502)

<div class="topic-metadata">

**Author:** [@Richard\_Hector](https://forum.ansible.com/u/Richard_Hector)\
**Replies:** 2\
**Last updated:** [April 16, 2022, 9:57am UTC](https://forum.ansible.com/t/keeping-inventory-and-other-data-separate-from-code/36502 "2022-04-16T09:57:55Z")

</div>

Hi all, Currently my inventory is stored in the same git repo as my play(book)s, roles etc, which I don't like. What are common ways to avoid this? Perhaps keep inventory in a subdir which is .gitignored, and make that…

---

## [\[OT?\] What do you call a container container?](https://forum.ansible.com/t/ot-what-do-you-call-a-container-container/36501)

<div class="topic-metadata">

**Author:** [@Richard\_Hector](https://forum.ansible.com/u/Richard_Hector)\
**Replies:** 2\
**Last updated:** [April 16, 2022, 9:54am UTC](https://forum.ansible.com/t/ot-what-do-you-call-a-container-container/36501 "2022-04-16T09:54:42Z")

</div>

Hi all, I have several leased VPS in which I run LXC containers. At the moment, the group I use for those is "lxc\_hosts", but that has a few problems: - Everything in inventory is a host, so lxc\_host could just as wel…

---

## [Define hostname for group based on index+1](https://forum.ansible.com/t/define-hostname-for-group-based-on-index-1/36535)

<div class="topic-metadata">

**Author:** [@dudu.c](https://forum.ansible.com/u/dudu.c)\
**Replies:** 3\
**Last updated:** [April 15, 2022, 10:55am UTC](https://forum.ansible.com/t/define-hostname-for-group-based-on-index-1/36535 "2022-04-15T10:55:51Z")

</div>

Hi, I have X amount of server inside a defined group (For example - web server) I want to loop the server a define there hostname based on index+1 For example, if the group have 3 server , so server one should be “web…

---

## [Vendor dependencies](https://forum.ansible.com/t/vendor-dependencies/36533)

<div class="topic-metadata">

**Author:** [@Michael5](https://forum.ansible.com/u/Michael5)\
**Replies:** 0\
**Last updated:** [April 14, 2022, 2:18pm UTC](https://forum.ansible.com/t/vendor-dependencies/36533 "2022-04-14T14:18:31Z")

</div>

Hi, im new in ansible and ansible developing. Now im trying to develop own collection and I wanna bring typing annotations. Some of them require typing-extensions. I’ve created a folder \_vendor in plugins, and import typ…

---

## [Run ConfigureRemotingForAnsible.ps1 script on remote machines](https://forum.ansible.com/t/run-configureremotingforansible-ps1-script-on-remote-machines/36531)

<div class="topic-metadata">

**Author:** [@Nitrous](https://forum.ansible.com/u/Nitrous)\
**Replies:** 0\
**Last updated:** [April 13, 2022, 8:27pm UTC](https://forum.ansible.com/t/run-configureremotingforansible-ps1-script-on-remote-machines/36531 "2022-04-13T20:27:37Z")

</div>

Is there a way, we can use ansible to run the "ConfigureRemotingForAnsible.ps1 script (https://github.com/ansible/ansible/blob/devel/examples/scripts/ConfigureRemotingForAnsible.ps1), on the target machine, before it eve…

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

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