# Latest

**URL:** https://forum.ansible.com/latest.md?page=273

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

**Page:** 274

---

## [Ansible Playbook for Windows Patching](https://forum.ansible.com/t/ansible-playbook-for-windows-patching/35985)

<div class="topic-metadata">

**Author:** [@Jitendra\_Ingale](https://forum.ansible.com/u/Jitendra_Ingale)\
**Replies:** 6\
**Last updated:** [November 12, 2021, 6:35am UTC](https://forum.ansible.com/t/ansible-playbook-for-windows-patching/35985 "2021-11-12T06:35:15Z")

</div>

Folks, I am using below pasted playbook for windows server patching which has variable file defined along with. It is supposed to take KB number mentioned in variable file and install it on server, followed by server r…

---

## [how to read a yaml file and update itself ?](https://forum.ansible.com/t/how-to-read-a-yaml-file-and-update-itself/35969)

<div class="topic-metadata">

**Author:** [@Eric\_Chang](https://forum.ansible.com/u/Eric_Chang)\
**Replies:** 4\
**Last updated:** [November 12, 2021, 1:43am UTC](https://forum.ansible.com/t/how-to-read-a-yaml-file-and-update-itself/35969 "2021-11-12T01:43:07Z")

</div>

let’s said I have a yaml file like centers.yml centers: center\_id: ABC123 center\_password: 123456789 center\_id: 123ABC center\_password: “” now I want to read the centers.yml , and update center\_password with pwgen…

---

## [Ansible Control Node Configuration](https://forum.ansible.com/t/ansible-control-node-configuration/35987)

<div class="topic-metadata">

**Author:** [@jcpetro](https://forum.ansible.com/u/jcpetro)\
**Replies:** 1\
**Last updated:** [November 11, 2021, 7:16pm UTC](https://forum.ansible.com/t/ansible-control-node-configuration/35987 "2021-11-11T19:16:37Z")

</div>

Good Afternoon, My team is in the process of doing a review of our current environment. The question came up, that since the ansible control node has the “keys to the kingdom” that it should not live on public IP space.…

---

## [Unable to locate 'tower.log" in /var/log/tower directory in awx container](https://forum.ansible.com/t/unable-to-locate-tower-log-in-var-log-tower-directory-in-awx-container/35988)

<div class="topic-metadata">

**Author:** [@swathi\_t1](https://forum.ansible.com/u/swathi_t1)\
**Replies:** 0\
**Last updated:** [November 11, 2021, 1:52pm UTC](https://forum.ansible.com/t/unable-to-locate-tower-log-in-var-log-tower-directory-in-awx-container/35988 "2021-11-11T13:52:17Z")

</div>

Hi, I am using AWX 15.0.0. As part of the documentation we should have callback\_receiver.log, dispatcher.log,task\_system.log,rsyslog.err,management\_playbooks.log,rbac\_migrations.log,tower\_system\_tracking\_migrations.log,…

---

## [Regarding Stopping Execution if condition met](https://forum.ansible.com/t/regarding-stopping-execution-if-condition-met/35982)

<div class="topic-metadata">

**Author:** [@Akshay\_Jadhav](https://forum.ansible.com/u/Akshay_Jadhav)\
**Replies:** 2\
**Last updated:** [November 10, 2021, 6:56pm UTC](https://forum.ansible.com/t/regarding-stopping-execution-if-condition-met/35982 "2021-11-10T18:56:41Z")

</div>

Hi Guys, I want to add a condition to stop execution of playbook if “vlan not found”. I am attaching my playbook tasks below: name: check vlan availability ios\_command: commands: show vlan id {{ vlan1 }} regist…

---

## [Question about template module](https://forum.ansible.com/t/question-about-template-module/35984)

<div class="topic-metadata">

**Author:** [@jcpetro](https://forum.ansible.com/u/jcpetro)\
**Replies:** 2\
**Last updated:** [November 10, 2021, 6:14pm UTC](https://forum.ansible.com/t/question-about-template-module/35984 "2021-11-10T18:14:36Z")

</div>

Good morning!! I have a quick question about how the template module works under the hood, that I wasn’t able to find any information on, and was asked about by a coworker. So, let’s say I have a role where I created a…

---

## [Unarchive and FreeBSD](https://forum.ansible.com/t/unarchive-and-freebsd/35986)

<div class="topic-metadata">

**Author:** [@Norman\_Gray](https://forum.ansible.com/u/Norman_Gray)\
**Replies:** 1\
**Last updated:** [November 10, 2021, 6:05pm UTC](https://forum.ansible.com/t/unarchive-and-freebsd/35986 "2021-11-10T18:05:46Z")

</div>

Greetings. I recently raised issue \<https://github.com/ansible/ansible/issues/76264&gt;, connected to the behaviour of the \`unarchive\` module on FreeBSD. It was closed as a duplicate and, in effect, not-a-bug, with the…

---

## [Classifying authentication errors within modules as an error instead of unreachable](https://forum.ansible.com/t/classifying-authentication-errors-within-modules-as-an-error-instead-of-unreachable/35967)

<div class="topic-metadata">

**Author:** [@Jimmy\_Fort](https://forum.ansible.com/u/Jimmy_Fort)\
**Replies:** 2\
**Last updated:** [November 10, 2021, 5:49pm UTC](https://forum.ansible.com/t/classifying-authentication-errors-within-modules-as-an-error-instead-of-unreachable/35967 "2021-11-10T17:49:41Z")

</div>

For some background, this was initially an RFE that was opened from a Red Hat support ticket. https://github.com/ansible/ansible/issues/76227. Here’s where I’m struggling with this. I have a playbook that creates a VM i…

---

## [Ansible Playbook for Windows Patching](https://forum.ansible.com/t/ansible-playbook-for-windows-patching/35983)

<div class="topic-metadata">

**Author:** [@Jitendra\_Ingale](https://forum.ansible.com/u/Jitendra_Ingale)\
**Replies:** 0\
**Last updated:** [November 10, 2021, 1:24pm UTC](https://forum.ansible.com/t/ansible-playbook-for-windows-patching/35983 "2021-11-10T13:24:40Z")

</div>

Folks, I am using below pasted playbook for windows server patching which has variable file defined along with. It is supposed to take KB number mentioned in variable file and install it on server, followed by server r…

---

## [Ansible 5.0.0b1 available for testing](https://forum.ansible.com/t/ansible-5-0-0b1-available-for-testing/35981)

<div class="topic-metadata">

**Author:** [@David\_Moreau\_Simard2](https://forum.ansible.com/u/David_Moreau_Simard2)\
**Replies:** 2\
**Last updated:** [November 9, 2021, 10:14pm UTC](https://forum.ansible.com/t/ansible-5-0-0b1-available-for-testing/35981 "2021-11-09T22:14:34Z")

</div>

Hi all, We're happy to announce that the Ansible 5.0.0 beta1 package is now available! This version is based on the newly released ansible-core 2.12.0 which is a major update from ansible-core 2.11.x used in Ansible 4…

---

## [ansible-core 2.12 - changes to "to\_nice\_yaml" output](https://forum.ansible.com/t/ansible-core-2-12-changes-to-to-nice-yaml-output/35979)

<div class="topic-metadata">

**Author:** [@ClausHolbechArista](https://forum.ansible.com/u/ClausHolbechArista)\
**Replies:** 3\
**Last updated:** [November 9, 2021, 4:17pm UTC](https://forum.ansible.com/t/ansible-core-2-12-changes-to-to-nice-yaml-output/35979 "2021-11-09T16:17:57Z")

</div>

We are seeing a small change to the output of “to\_nice\_yaml” and “to\_yaml” when using ansible-core 2.12 versus 2.11.5 and older. The changes are only about escaping for wrapped multi-line strings. If this in on purpose,…

---

## [How to append the new group to the existing AllowGroups line in /etc/ssh/sshd\_config](https://forum.ansible.com/t/how-to-append-the-new-group-to-the-existing-allowgroups-line-in-etc-ssh-sshd-config/35935)

<div class="topic-metadata">

**Author:** [@Suresh\_Karpurapu](https://forum.ansible.com/u/Suresh_Karpurapu)\
**Replies:** 5\
**Last updated:** [November 9, 2021, 12:27pm UTC](https://forum.ansible.com/t/how-to-append-the-new-group-to-the-existing-allowgroups-line-in-etc-ssh-sshd-config/35935 "2021-11-09T12:27:57Z")

</div>

Hi Experts, I would like to append the new group to the existing AllowGroups in /etc/ssh/sshd\_config file without disturbing the existing group. I tried with lineinfile module but unfortunately its failing or overwritin…

---

## [HTTPS Certificate Validation](https://forum.ansible.com/t/https-certificate-validation/35980)

<div class="topic-metadata">

**Author:** [@Clinton\_Ryan\_Manigsa](https://forum.ansible.com/u/Clinton_Ryan_Manigsa)\
**Replies:** 0\
**Last updated:** [November 9, 2021, 10:45am UTC](https://forum.ansible.com/t/https-certificate-validation/35980 "2021-11-09T10:45:54Z")

</div>

Hello, Is it possible to use only 1 certificate for all my windows servers? That way I do not have to generate and signed each one of them. I have about 100+ servers so it can be a bit difficult to maintain.

---

## ["Webhook previously received, aborting."](https://forum.ansible.com/t/webhook-previously-received-aborting/35978)

<div class="topic-metadata">

**Author:** [@joaodlf](https://forum.ansible.com/u/joaodlf)\
**Replies:** 0\
**Last updated:** [November 9, 2021, 9:35am UTC](https://forum.ansible.com/t/webhook-previously-received-aborting/35978 "2021-11-09T09:35:03Z")

</div>

I’m getting a Webhook previously received, aborting. when running a GitHub webhook for a template , I suspect coming from here: https://github.com/ansible/awx/blob/eec4f8dcc27428cd1aeb1c251d43052a3ea780e8/awx/api/views/…

---

## [win\_dns\_record credentials](https://forum.ansible.com/t/win-dns-record-credentials/35973)

<div class="topic-metadata">

**Author:** [@Elio\_Lopez](https://forum.ansible.com/u/Elio_Lopez)\
**Replies:** 1\
**Last updated:** [November 9, 2021, 1:22am UTC](https://forum.ansible.com/t/win-dns-record-credentials/35973 "2021-11-09T01:22:32Z")

</div>

Hello there, I’m using the win\_dns\_record module in tower 3.8.3 in Openshift, but it doesn’t seem to have an option to put the credentials to be used, or at least not documented. The only way to fill in the required “a…

---

## [New major release: ansible-core 2.12.0](https://forum.ansible.com/t/new-major-release-ansible-core-2-12-0/35977)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 0\
**Last updated:** [November 8, 2021, 3:48pm UTC](https://forum.ansible.com/t/new-major-release-ansible-core-2-12-0/35977 "2021-11-08T15:48:12Z")

</div>

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

---

## [How to render boolean true in j2 file?](https://forum.ansible.com/t/how-to-render-boolean-true-in-j2-file/35976)

<div class="topic-metadata">

**Author:** [@Neil\_Young](https://forum.ansible.com/u/Neil_Young)\
**Replies:** 1\
**Last updated:** [November 8, 2021, 2:33pm UTC](https://forum.ansible.com/t/how-to-render-boolean-true-in-j2-file/35976 "2021-11-08T14:33:02Z")

</div>

I’m not entirely sure if this is a YAML problem or an Ansible thing. Trying to render a configuration json file from a j2 template. Template.j2 { “test”: {{ boolean\_test }} } default.yml: boolean\_test: true Resul…

---

## [missing wait option in amazon.aws.ec2\_spot\_instance module](https://forum.ansible.com/t/missing-wait-option-in-amazon-aws-ec2-spot-instance-module/35975)

<div class="topic-metadata">

**Author:** [@Rahul\_Gupta2](https://forum.ansible.com/u/Rahul_Gupta2)\
**Replies:** 0\
**Last updated:** [November 8, 2021, 7:46am UTC](https://forum.ansible.com/t/missing-wait-option-in-amazon-aws-ec2-spot-instance-module/35975 "2021-11-08T07:46:55Z")

</div>

Hi, amazon.aws.ec2 module has wait option which wait for the instance to reach its desired state before returning this is applicable for spot and non spot. But the new module amazon.aws.ec2\_spot\_instance doesnt have a w…

---

## [Reversible include\_tasks - A feature for Ansible](https://forum.ansible.com/t/reversible-include-tasks-a-feature-for-ansible/35974)

<div class="topic-metadata">

**Author:** [@Tim\_Eisler](https://forum.ansible.com/u/Tim_Eisler)\
**Replies:** 2\
**Last updated:** [November 6, 2021, 11:55pm UTC](https://forum.ansible.com/t/reversible-include-tasks-a-feature-for-ansible/35974 "2021-11-06T23:55:17Z")

</div>

Hello. I have added a feature to my fork that allows a task file to be shared by a block and a rescue but to run the tasks in reverse order in rescue to achieve an undo. I did this because it was a great exercise to st…

---

## [How to connect ansible with switch exos](https://forum.ansible.com/t/how-to-connect-ansible-with-switch-exos/35972)

<div class="topic-metadata">

**Author:** [@Fabiano\_Pamplona](https://forum.ansible.com/u/Fabiano_Pamplona)\
**Replies:** 0\
**Last updated:** [November 5, 2021, 5:05pm UTC](https://forum.ansible.com/t/how-to-connect-ansible-with-switch-exos/35972 "2021-11-05T17:05:05Z")

</div>

Hi all, I’m new with ansible and I trying to connect ansible version 2.9 runs on CentOS with EXOS switch. I tried to connect via SSH using certificates, I put the pub certificate into EXOS switch and try to use command …

---

## [Cannot resolve community.general modules](https://forum.ansible.com/t/cannot-resolve-community-general-modules/35971)

<div class="topic-metadata">

**Author:** [@Tony1](https://forum.ansible.com/u/Tony1)\
**Replies:** 0\
**Last updated:** [November 5, 2021, 12:19pm UTC](https://forum.ansible.com/t/cannot-resolve-community-general-modules/35971 "2021-11-05T12:19:08Z")

</div>

AWX 19.3.0 on k3s Unable to resolve modules in community.general. vmware is there already. Anyone have any idea how I can add this in?

---

## [Run Ansible via Shell Command on Remote GCP Servers](https://forum.ansible.com/t/run-ansible-via-shell-command-on-remote-gcp-servers/35968)

<div class="topic-metadata">

**Author:** [@Philip\_Shangguan](https://forum.ansible.com/u/Philip_Shangguan)\
**Replies:** 0\
**Last updated:** [November 5, 2021, 1:09am UTC](https://forum.ansible.com/t/run-ansible-via-shell-command-on-remote-gcp-servers/35968 "2021-11-05T01:09:10Z")

</div>

I have 3 Linux servers A, B and C in GCP. A is where all the developers use, B is a Ansible server that has a playbook, C is the target server that I need to run some tasks. This is the frame of the playbook - play.yml: …

---

## [Ansible-Pull Copy Error](https://forum.ansible.com/t/ansible-pull-copy-error/35962)

<div class="topic-metadata">

**Author:** [@Paul1](https://forum.ansible.com/u/Paul1)\
**Replies:** 6\
**Last updated:** [November 4, 2021, 10:58pm UTC](https://forum.ansible.com/t/ansible-pull-copy-error/35962 "2021-11-04T22:58:09Z")

</div>

I was following a tutorial from a year ago so perhaps something in Ansible has changed. My issue is I get this error: TASK \[copy sudoers\_ansible\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* fatal: \[localhost\]:…

---

## [LDAP via FreeIPA + 2fa](https://forum.ansible.com/t/ldap-via-freeipa-2fa/35927)

<div class="topic-metadata">

**Author:** [@Simon\_O\_Kell](https://forum.ansible.com/u/Simon_O_Kell)\
**Replies:** 1\
**Last updated:** [November 4, 2021, 10:51pm UTC](https://forum.ansible.com/t/ldap-via-freeipa-2fa/35927 "2021-11-04T22:51:35Z")

</div>

Hi, I am trying to implement AWX webui ldap authentication using FreeIPA + 2fa. I am most of the way there and the initial login works, however subsequent logins thereafter fail with invalid username/password. Another…

---

## [FORKS --- not working as expected and also discrepecies in playbook profile task prints](https://forum.ansible.com/t/forks-not-working-as-expected-and-also-discrepecies-in-playbook-profile-task-prints/35890)

<div class="topic-metadata">

**Author:** [@Aprameya\_NDS](https://forum.ansible.com/u/Aprameya_NDS)\
**Replies:** 5\
**Last updated:** [November 4, 2021, 9:29pm UTC](https://forum.ansible.com/t/forks-not-working-as-expected-and-also-discrepecies-in-playbook-profile-task-prints/35890 "2021-11-04T21:29:23Z")

</div>

Hi, We have about 500 hosts and we were testing the ssh connections that run in parallel at a given point before running the actual playbooks as we were hitting bottlenecks. Ansible version being used: 2.10.5 Its a si…

---

## [Looping over email addresses in Mail module](https://forum.ansible.com/t/looping-over-email-addresses-in-mail-module/35966)

<div class="topic-metadata">

**Author:** [@david.burtton](https://forum.ansible.com/u/david.burtton)\
**Replies:** 2\
**Last updated:** [November 4, 2021, 8:45pm UTC](https://forum.ansible.com/t/looping-over-email-addresses-in-mail-module/35966 "2021-11-04T20:45:50Z")

</div>

Hey everyone, I’m still a bit new to Ansible, so sorry if this has an obvious answer Basically, I’ve got a list of email addresses that I want to send an email to one at a time and I’m using the Community.General Mail …

---

## [Use loop control only when condition is met](https://forum.ansible.com/t/use-loop-control-only-when-condition-is-met/35953)

<div class="topic-metadata">

**Author:** [@Aleksandar\_Ilic](https://forum.ansible.com/u/Aleksandar_Ilic)\
**Replies:** 2\
**Last updated:** [November 4, 2021, 3:26pm UTC](https://forum.ansible.com/t/use-loop-control-only-when-condition-is-met/35953 "2021-11-04T15:26:36Z")

</div>

Hello everyone, Im new to ansible and im trying to use loop\_contorl pause only for specific item. Is this something that is possible to do ? Thanks

---

## [Ansible LVM module issue](https://forum.ansible.com/t/ansible-lvm-module-issue/35965)

<div class="topic-metadata">

**Author:** [@Jonathan\_Selormey](https://forum.ansible.com/u/Jonathan_Selormey)\
**Replies:** 0\
**Last updated:** [November 4, 2021, 3:25pm UTC](https://forum.ansible.com/t/ansible-lvm-module-issue/35965 "2021-11-04T15:25:43Z")

</div>

I’m having an issue with an ansible module, specifically the LVM module (lvol). When I execute my Ansible code from my local system everythinig works according but when I try it from an AWX job template I get the followi…

---

## [Azure sysprep image not accepting winrm](https://forum.ansible.com/t/azure-sysprep-image-not-accepting-winrm/35964)

<div class="topic-metadata">

**Author:** [@Nitrous](https://forum.ansible.com/u/Nitrous)\
**Replies:** 1\
**Last updated:** [November 4, 2021, 3:08pm UTC](https://forum.ansible.com/t/azure-sysprep-image-not-accepting-winrm/35964 "2021-11-04T15:08:13Z")

</div>

Has anyone ever come across and issue where , after the VM has been configured for winrm and then you sysprep your VM in azure using the generalize option, shutdown and then capture using azure, ansible won’t connect to …

---

## [Ansible playbook syntax](https://forum.ansible.com/t/ansible-playbook-syntax/35959)

<div class="topic-metadata">

**Author:** [@Mauricio\_Maldonado](https://forum.ansible.com/u/Mauricio_Maldonado)\
**Replies:** 1\
**Last updated:** [November 4, 2021, 2:38pm UTC](https://forum.ansible.com/t/ansible-playbook-syntax/35959 "2021-11-04T14:38:28Z")

</div>

Good morning, I need to make an automation to run on 600+ servers and the automation needs to send configuration files such as host, port, user and password, but I’m novice on the Ansible platform, how can I set up a pla…

[Previous page](https://forum.ansible.com/latest.md?page=272)

[Next page](https://forum.ansible.com/latest.md?page=274)
