# Archives

**URL:** https://forum.ansible.com/c/archives/31.md?page=1

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

**Page:** 2

---

## [Get role names for multiple plays in the same playbook file](https://forum.ansible.com/t/get-role-names-for-multiple-plays-in-the-same-playbook-file/38837)

<div class="topic-metadata">

**Author:** [@ricardobarbosams](https://forum.ansible.com/u/ricardobarbosams)\
**Replies:** 2\
**Last updated:** [July 31, 2024, 9:19pm UTC](https://forum.ansible.com/t/get-role-names-for-multiple-plays-in-the-same-playbook-file/38837 "2024-07-31T21:19:36Z")

</div>

Hello everyone I have a playbook called “play.yml” with three plays and I would like to get the names of the roles that are applied to a certain host. Let’s say I have a host called host01 and this host is in the two gr…

---

## [New Release: ansible-core v2.16.9](https://forum.ansible.com/t/new-release-ansible-core-v2-16-9/38836)

<div class="topic-metadata">

**Author:** [@ansible-announce](https://forum.ansible.com/u/ansible-announce)\
**Replies:** 0\
**Last updated:** [July 29, 2024, 1:18pm UTC](https://forum.ansible.com/t/new-release-ansible-core-v2-16-9/38836 "2024-07-29T13:18:27Z")

</div>

ansible-core v2.16.9 View this release on: GitHub PyPI Changelog See the full changelog for the changes included in this release. Release Artifacts- Built Distribution: ansible\_core-2.16.9-py3-none-any.whl - ‌2252041…

---

## [New Release: ansible-core v2.17.2](https://forum.ansible.com/t/new-release-ansible-core-v2-17-2/38835)

<div class="topic-metadata">

**Author:** [@ansible-announce](https://forum.ansible.com/u/ansible-announce)\
**Replies:** 0\
**Last updated:** [July 29, 2024, 1:17pm UTC](https://forum.ansible.com/t/new-release-ansible-core-v2-17-2/38835 "2024-07-29T13:17:25Z")

</div>

ansible-core v2.17.2 View this release on: GitHub PyPI Changelog See the full changelog for the changes included in this release. Release Artifacts- Built Distribution: ansible\_core-2.17.2-py3-none-any.whl - ‌2192973…

---

## [New Prerelease: ansible-core v2.17.2rc2](https://forum.ansible.com/t/new-prerelease-ansible-core-v2-17-2rc2/38834)

<div class="topic-metadata">

**Author:** [@ansible-announce](https://forum.ansible.com/u/ansible-announce)\
**Replies:** 0\
**Last updated:** [July 29, 2024, 1:16pm UTC](https://forum.ansible.com/t/new-prerelease-ansible-core-v2-17-2rc2/38834 "2024-07-29T13:16:24Z")

</div>

ansible-core v2.17.2rc2 View this release on: GitHub PyPI Changelog See the full changelog for the changes included in this release. Release Artifacts- Built Distribution: ansible\_core-2.17.2rc2-py3-none-any.whl - ‌2…

---

## [New Prerelease: ansible-core v2.16.9rc1](https://forum.ansible.com/t/new-prerelease-ansible-core-v2-16-9rc1/38833)

<div class="topic-metadata">

**Author:** [@ansible-announce](https://forum.ansible.com/u/ansible-announce)\
**Replies:** 0\
**Last updated:** [July 29, 2024, 1:15pm UTC](https://forum.ansible.com/t/new-prerelease-ansible-core-v2-16-9rc1/38833 "2024-07-29T13:15:23Z")

</div>

ansible-core v2.16.9rc1 View this release on: GitHub PyPI Changelog See the full changelog for the changes included in this release. Release Artifacts- Built Distribution: ansible\_core-2.16.9rc1-py3-none-any.whl - 22…

---

## [New Prerelease: ansible-core v2.17.2rc1](https://forum.ansible.com/t/new-prerelease-ansible-core-v2-17-2rc1/38832)

<div class="topic-metadata">

**Author:** [@ansible-announce](https://forum.ansible.com/u/ansible-announce)\
**Replies:** 0\
**Last updated:** [July 29, 2024, 1:14pm UTC](https://forum.ansible.com/t/new-prerelease-ansible-core-v2-17-2rc1/38832 "2024-07-29T13:14:21Z")

</div>

ansible-core v2.17.2rc1 View this release on: GitHub PyPI Changelog See the full changelog for the changes included in this release. Release Artifacts- Built Distribution: ansible\_core-2.17.2rc1-py3-none-any.whl - ‌2…

---

## [\[FEATURE REQUEST\] Custom path for group\_vars and host\_vars in ansible.cfg](https://forum.ansible.com/t/feature-request-custom-path-for-group-vars-and-host-vars-in-ansible-cfg/20527)

<div class="topic-metadata">

**Author:** [@muffinsk](https://forum.ansible.com/u/muffinsk)\
**Replies:** 4\
**Last updated:** [July 26, 2024, 1:50pm UTC](https://forum.ansible.com/t/feature-request-custom-path-for-group-vars-and-host-vars-in-ansible-cfg/20527 "2024-07-26T13:50:17Z")

</div>

Hi all, I’ve been wondering on how am I going to move the contents of my group\_vars and host\_vars to a different location then I found https://github.com/ansible/ansible/issues/13051 which basically was rejected. My us…

---

## [Any tool can convert puppet code to ansible code](https://forum.ansible.com/t/any-tool-can-convert-puppet-code-to-ansible-code/38830)

<div class="topic-metadata">

**Author:** [@Pushparaj\_Gothandam](https://forum.ansible.com/u/Pushparaj_Gothandam)\
**Replies:** 2\
**Last updated:** [July 24, 2024, 2:37pm UTC](https://forum.ansible.com/t/any-tool-can-convert-puppet-code-to-ansible-code/38830 "2024-07-24T14:37:10Z")

</div>

Hi Team, Any tool available can convert puppet code to ansible code,? Thanks Raj

---

## [Variable interpolation syntax](https://forum.ansible.com/t/variable-interpolation-syntax/38831)

<div class="topic-metadata">

**Author:** [@Chris\_Bachmeyer](https://forum.ansible.com/u/Chris_Bachmeyer)\
**Replies:** 0\
**Last updated:** [July 24, 2024, 1:59pm UTC](https://forum.ansible.com/t/variable-interpolation-syntax/38831 "2024-07-24T13:59:29Z")

</div>

Hi, community, I’m setting a fact there to grab the JSON dict of the template from the content library. name: vm-create | Use the name to identify library item set\_fact: rhel8\_9template: “{{ lib\_items.value | select…

---

## [ansible\_facts\['device\_links'\]\['ids'\] empty for RHEL9 on AWS](https://forum.ansible.com/t/ansible-facts-device-links-ids-empty-for-rhel9-on-aws/38828)

<div class="topic-metadata">

**Author:** [@Walter\_Rowe](https://forum.ansible.com/u/Walter_Rowe)\
**Replies:** 2\
**Last updated:** [July 17, 2024, 6:52pm UTC](https://forum.ansible.com/t/ansible-facts-device-links-ids-empty-for-rhel9-on-aws/38828 "2024-07-17T18:52:15Z")

</div>

I am querying ansible facts of AWS EC2s to get volume IDs without having to use the AWS API. Prior to Red Hat 9 I could use ansible\_device\_links\[‘ids’\]\[device name\] to get the associated volume ID. REDHAT 8 “ansible\_fa…

---

## [Release announcement: Ansible community package 10.2.0](https://forum.ansible.com/t/release-announcement-ansible-community-package-10-2-0/38827)

<div class="topic-metadata">

**Author:** [@felixfontein](https://forum.ansible.com/u/felixfontein)\
**Replies:** 0\
**Last updated:** [July 16, 2024, 6:16pm UTC](https://forum.ansible.com/t/release-announcement-ansible-community-package-10-2-0/38827 "2024-07-16T18:16:10Z")

</div>

Hello everyone, We're happy to announce the release of the Ansible 10.2.0 package! Ansible 10.2.0 depends on ansible-core 2.17.2 and includes a curated set of Ansible collections that provide a vast number of modules, …

---

## [Release announcement: Ansible community package 9.8.0](https://forum.ansible.com/t/release-announcement-ansible-community-package-9-8-0/38826)

<div class="topic-metadata">

**Author:** [@felixfontein](https://forum.ansible.com/u/felixfontein)\
**Replies:** 0\
**Last updated:** [July 16, 2024, 6:15pm UTC](https://forum.ansible.com/t/release-announcement-ansible-community-package-9-8-0/38826 "2024-07-16T18:15:13Z")

</div>

Hello everyone, We're happy to announce the release of the Ansible 9.8.0 package! Ansible 9.8.0 depends on ansible-core 2.16.9 and includes a curated set of Ansible collections that provide a vast number of modules, pl…

---

## [Create inventory in a Workflow and then use in subsequent playbooks](https://forum.ansible.com/t/create-inventory-in-a-workflow-and-then-use-in-subsequent-playbooks/38824)

<div class="topic-metadata">

**Author:** [@Chris\_Bachmeyer](https://forum.ansible.com/u/Chris_Bachmeyer)\
**Replies:** 3\
**Last updated:** [July 10, 2024, 4:55pm UTC](https://forum.ansible.com/t/create-inventory-in-a-workflow-and-then-use-in-subsequent-playbooks/38824 "2024-07-10T16:55:19Z")

</div>

Hi, community, I am creating a deployment workflow using the Ansible Automation Platform (AAP) and, right now, the workflow is composed of two job templates. The first job template creates the actual vms and the the sec…

---

## [ansible-galaxy no longer working](https://forum.ansible.com/t/ansible-galaxy-no-longer-working/38818)

<div class="topic-metadata">

**Author:** [@Andrew\_Meyer1](https://forum.ansible.com/u/Andrew_Meyer1)\
**Replies:** 4\
**Last updated:** [July 10, 2024, 4:04am UTC](https://forum.ansible.com/t/ansible-galaxy-no-longer-working/38818 "2024-07-10T04:04:14Z")

</div>

Hello, About a week ago I updated ansible and am getting the following error: \[ansible@jump04 ansible1\]$ /usr/bin/ansible-galaxy install --force -p roles -r /opt/syseng/automation/ansible1/roles.yml --ignore-errors St…

---

## [Have problems with PB make API calls](https://forum.ansible.com/t/have-problems-with-pb-make-api-calls/38823)

<div class="topic-metadata">

**Author:** [@williamflow](https://forum.ansible.com/u/williamflow)\
**Replies:** 1\
**Last updated:** [July 8, 2024, 7:46pm UTC](https://forum.ansible.com/t/have-problems-with-pb-make-api-calls/38823 "2024-07-08T19:46:03Z")

</div>

I have a new project I am working on and could use some help. The project is from upper management they want me to write a Playbook that can turn outlets on and off using an APC APDU10450SM with the API I looked and cou…

---

## [This topic needs a title](https://forum.ansible.com/t/this-topic-needs-a-title/38822)

<div class="topic-metadata">

**Author:** [@Deepak\_B\_K](https://forum.ansible.com/u/Deepak_B_K)\
**Replies:** 0\
**Last updated:** [July 5, 2024, 5:10am UTC](https://forum.ansible.com/t/this-topic-needs-a-title/38822 "2024-07-05T05:10:58Z")

</div>

Hi Team, I am using RHEL v8.10 and I have written ansible playbook to partition disk /dev/sda3 created, logical volume vg-system-home and vg-system-var which i wanted to extend to 100G and 20G but since this two are mou…

---

## [j2 child template renders but parent does not](https://forum.ansible.com/t/j2-child-template-renders-but-parent-does-not/38821)

<div class="topic-metadata">

**Author:** [@Darkhan](https://forum.ansible.com/u/Darkhan)\
**Replies:** 1\
**Last updated:** [July 3, 2024, 12:20am UTC](https://forum.ansible.com/t/j2-child-template-renders-but-parent-does-not/38821 "2024-07-03T00:20:24Z")

</div>

Hello, I have a j2 template that looks like this:

---

## [build groups based on hosts and host-variables](https://forum.ansible.com/t/build-groups-based-on-hosts-and-host-variables/38820)

<div class="topic-metadata">

**Author:** [@astrakid](https://forum.ansible.com/u/astrakid)\
**Replies:** 5\
**Last updated:** [July 2, 2024, 8:35pm UTC](https://forum.ansible.com/t/build-groups-based-on-hosts-and-host-variables/38820 "2024-07-02T20:35:59Z")

</div>

hi, i would like to organize my inventory (which is set up and maintained manually): one inventory file per os (currently linux and windows) with one group in each file (e.g. alllinux and allwindows) put group-informa…

---

## [Windows Domain Join Issue](https://forum.ansible.com/t/windows-domain-join-issue/38819)

<div class="topic-metadata">

**Author:** [@Akshay\_Kaushik](https://forum.ansible.com/u/Akshay_Kaushik)\
**Replies:** 0\
**Last updated:** [June 25, 2024, 7:25pm UTC](https://forum.ansible.com/t/windows-domain-join-issue/38819 "2024-06-25T19:25:05Z")

</div>

Hi team, I am facing issue while trying to join the domain with ansible playbook, getting below error “changed”: true, “msg”: “failed to join domain: Computer ‘TestingIIS-2’ failed to join domain ‘hampersoft.local’ fr…

---

## [unreachable host comes in failed task](https://forum.ansible.com/t/unreachable-host-comes-in-failed-task/38817)

<div class="topic-metadata">

**Author:** [@Azadeh\_Amirhosseini](https://forum.ansible.com/u/Azadeh_Amirhosseini)\
**Replies:** 0\
**Last updated:** [June 24, 2024, 9:00am UTC](https://forum.ansible.com/t/unreachable-host-comes-in-failed-task/38817 "2024-06-24T09:00:39Z")

</div>

Hi All, I am usning ansible-core 2.16.7 when there exists an unreachable host in the hostname list by inventory, say the ip-address is wrong, in the output of the playbook, it comes under failed task, but i expect it t…

---

## [Release announcement: Ansible community package 10.1.0](https://forum.ansible.com/t/release-announcement-ansible-community-package-10-1-0/38816)

<div class="topic-metadata">

**Author:** [@felixfontein](https://forum.ansible.com/u/felixfontein)\
**Replies:** 0\
**Last updated:** [June 18, 2024, 11:28am UTC](https://forum.ansible.com/t/release-announcement-ansible-community-package-10-1-0/38816 "2024-06-18T11:28:54Z")

</div>

Hello everyone, We're happy to announce the release of the Ansible 10.1.0 package! Ansible 10.1.0 depends on ansible-core 2.17.1 and includes a curated set of Ansible collections that provide a vast number of modules, …

---

## [Release announcement: Ansible community package 9.7.0](https://forum.ansible.com/t/release-announcement-ansible-community-package-9-7-0/38815)

<div class="topic-metadata">

**Author:** [@felixfontein](https://forum.ansible.com/u/felixfontein)\
**Replies:** 0\
**Last updated:** [June 18, 2024, 11:28am UTC](https://forum.ansible.com/t/release-announcement-ansible-community-package-9-7-0/38815 "2024-06-18T11:28:02Z")

</div>

Hello everyone, We're happy to announce the release of the Ansible 9.7.0 package! Ansible 9.7.0 depends on ansible-core 2.16.8 and includes a curated set of Ansible collections that provide a vast number of modules, pl…

---

## [New Release: ansible-core v2.17.1](https://forum.ansible.com/t/new-release-ansible-core-v2-17-1/38814)

<div class="topic-metadata">

**Author:** [@ansible-announce](https://forum.ansible.com/u/ansible-announce)\
**Replies:** 0\
**Last updated:** [June 17, 2024, 6:32pm UTC](https://forum.ansible.com/t/new-release-ansible-core-v2-17-1/38814 "2024-06-17T18:32:09Z")

</div>

ansible-core v2.17.1 View this release on: GitHub PyPI Changelog See the full changelog for the changes included in this release. Release Artifacts- Built Distribution: ansible\_core-2.17.1-py3-none-any.whl - 2192561 …

---

## [New Release: ansible-core v2.16.8](https://forum.ansible.com/t/new-release-ansible-core-v2-16-8/38813)

<div class="topic-metadata">

**Author:** [@ansible-announce](https://forum.ansible.com/u/ansible-announce)\
**Replies:** 0\
**Last updated:** [June 17, 2024, 6:31pm UTC](https://forum.ansible.com/t/new-release-ansible-core-v2-16-8/38813 "2024-06-17T18:31:06Z")

</div>

ansible-core v2.16.8 View this release on: GitHub PyPI Changelog See the full changelog for the changes included in this release. Release Artifacts- Built Distribution: ansible\_core-2.16.8-py3-none-any.whl - 2251689 …

---

## [Using Vault in microsoft.ad.ldap.yml](https://forum.ansible.com/t/using-vault-in-microsoft-ad-ldap-yml/38809)

<div class="topic-metadata">

**Author:** [@Caroline\_Kiel](https://forum.ansible.com/u/Caroline_Kiel)\
**Replies:** 1\
**Last updated:** [June 17, 2024, 2:22pm UTC](https://forum.ansible.com/t/using-vault-in-microsoft-ad-ldap-yml/38809 "2024-06-17T14:22:42Z")

</div>

Hi everyone, I searched this list but couldn’t find a valid answer. I want to use the MS plugin microsoft.ad.ldap.yml inside a playbook. As long, as I enter the LDAP username and password as clear text in the yml, eve…

---

## [How to access the playbook execution log file at run time?](https://forum.ansible.com/t/how-to-access-the-playbook-execution-log-file-at-run-time/38812)

<div class="topic-metadata">

**Author:** [@Luiz\_Gustavo](https://forum.ansible.com/u/Luiz_Gustavo)\
**Replies:** 1\
**Last updated:** [June 16, 2024, 3:20pm UTC](https://forum.ansible.com/t/how-to-access-the-playbook-execution-log-file-at-run-time/38812 "2024-06-16T15:20:39Z")

</div>

Hey guys, How to access the playbook execution log file at run time? I would need to email it after running the playbook. For example, a simple playbook:

---

## [Unknown Error HTTPSConnection.\_\_init\_\_](https://forum.ansible.com/t/unknown-error-httpsconnection-init/38811)

<div class="topic-metadata">

**Author:** [@jcpetro](https://forum.ansible.com/u/jcpetro)\
**Replies:** 2\
**Last updated:** [June 16, 2024, 2:19pm UTC](https://forum.ansible.com/t/unknown-error-httpsconnection-init/38811 "2024-06-16T14:19:23Z")

</div>

Hi all… So posting here in a last resort because my google searches have turned up nothing, or solutions that did not work for me. I have an ansible control-node that is running ubuntu 20.04. Everything has been working…

---

## [Failed to connect to a Windows server using Ansible](https://forum.ansible.com/t/failed-to-connect-to-a-windows-server-using-ansible/38722)

<div class="topic-metadata">

**Author:** [@denilson\_hernandez\_s](https://forum.ansible.com/u/denilson_hernandez_s)\
**Replies:** 2\
**Last updated:** [June 14, 2024, 8:30pm UTC](https://forum.ansible.com/t/failed-to-connect-to-a-windows-server-using-ansible/38722 "2024-06-14T20:30:45Z")

</div>

Hello community. I hope you are doing well. I’m using Ansible to automate tasks from my windows servers, but it’s giving me an error like this. Does anyone know how I can fix it? fatal: \[xxxxxxx\]: UNREACHABLE! =\> { “…

---

## [Problems connecting to a server via WINRM in Ansible](https://forum.ansible.com/t/problems-connecting-to-a-server-via-winrm-in-ansible/38810)

<div class="topic-metadata">

**Author:** [@denilson\_hernandez\_s](https://forum.ansible.com/u/denilson_hernandez_s)\
**Replies:** 0\
**Last updated:** [June 14, 2024, 8:26pm UTC](https://forum.ansible.com/t/problems-connecting-to-a-server-via-winrm-in-ansible/38810 "2024-06-14T20:26:28Z")

</div>

Hello community, I hope you are very well I am currently implementing some Ansible servers with WINRM. For this I enabled winrm and enabled HTTPS transport. But when I run the ansible file it gives me this error \[WA…

---

## [Windows Defender Installation on multiple windows server using Ansible](https://forum.ansible.com/t/windows-defender-installation-on-multiple-windows-server-using-ansible/38808)

<div class="topic-metadata">

**Author:** [@Mohammad\_Shazid\_Khan](https://forum.ansible.com/u/Mohammad_Shazid_Khan)\
**Replies:** 0\
**Last updated:** [June 12, 2024, 7:26am UTC](https://forum.ansible.com/t/windows-defender-installation-on-multiple-windows-server-using-ansible/38808 "2024-06-12T07:26:38Z")

</div>

Hi, New to Ansible. I am looking for a way to install windows defender ATP on large number of windows servers using ansible. Can any one help me to write the playbook for the above task? Thanks Shazid

[Previous page](https://forum.ansible.com/c/archives/31.md)

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