-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Description
Area
Ansible Windows Automation Workshop
Proposed Changes
In the following section, the documentation incorrectly sets up the category_names and reboot parameters.
Section 2 – Write Your Playbook
Edit site.yml and add the following:
- hosts: windows
name: This is my Windows patching playbook
tasks:- name: Install Windows Updates
win_updates:
category_names: ""
reboot: ""
- name: Install Windows Updates
Instead it should be this instead as noted here: https://github.com/ansible/workshops/tree/devel/exercises/ansible_windows/7-win-patch#section-2--write-your-playbook
- hosts: windows
name: This is my Windows patching playbook
tasks:- name: Install Windows Updates
win_updates:
category_names: "{{ categories | default(omit) }}"
reboot: "{{ reboot_server | default(true) }}"
- name: Install Windows Updates
Metadata
Metadata
Assignees
Labels
No labels