Recopie initiale
This commit is contained in:
18
windows/update.sls
Normal file
18
windows/update.sls
Normal file
@@ -0,0 +1,18 @@
|
||||
{% if grains['kernel'] == 'Windows' }
|
||||
# Update the system using the state defaults
|
||||
update_system:
|
||||
wua.up_to_date
|
||||
|
||||
# Update the drivers
|
||||
update_drivers:
|
||||
wua.up_to_date:
|
||||
- software: False
|
||||
- drivers: True
|
||||
- skip_reboot: False
|
||||
|
||||
# Apply all critical updates
|
||||
update_critical:
|
||||
wua.up_to_date:
|
||||
- severities:
|
||||
- Critical
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user