„windowssample.yml“ ändern

This commit is contained in:
Ralf-Peter Wolff 2023-06-16 16:28:33 +02:00
parent 8264c5e15d
commit 9ae7566d86

View File

@ -2,21 +2,21 @@
- hosts: windows
# vars:
# remote_user: Administrator
tasks:
- name: Choose which Windows updates to install
win_updates:
category_names:
- SecurityUpdates
- CriticalUpdates
- UpdateRollups
# tasks:
# - name: Choose which Windows updates to install
# win_updates:
# category_names:
# - 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
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
# ansible.windows.win_updates: