„windowssample.yml“ ändern

This commit is contained in:
Ralf-Peter Wolff 2023-06-14 14:11:35 +02:00
parent b50df086f2
commit 9500a1bd4e

View File

@ -1,10 +1,20 @@
--- ---
hosts: all - hosts: all
tasks: tasks:
- name: Install all updates and reboot as many times as needed - name: Choose which Windows updates to install
ansible.windows.win_updates: win_updates:
category_names: '*' category_names:
reboot: true - SecurityUpdates
- CriticalUpdates
- UpdateRollups
#---
# hosts: all
# tasks:
# - name: Install all updates and reboot as many times as needed
# ansible.windows.win_updates:
# category_names: '*'
# reboot: true
#- name: Install all security, critical, and rollup updates without a scheduled task #- name: Install all security, critical, and rollup updates without a scheduled task
# ansible.windows.win_updates: # ansible.windows.win_updates: