-
-
Save anonymous/487d9e5af7a911d1dec6dae3c037a861 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## some basic host checking to confirm its a windows box | |
{% if grains['os_family'] == 'Windows' %} | |
## should install all windows updates appears to be skipping already downloaded causing issues | |
stuff: | |
win_update.installed: | |
- name: update | |
- categories: | |
- 'Critical Updates' | |
- 'Security Updates' | |
- 'Updates' | |
- 'Update Rollups' | |
- 'Windows Server 2012 R2' | |
- skips: | |
- downloaded: False | |
- retries: 1 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sotestsaltwin01: | |
---------- | |
ID: stuff | |
Function: win_update.installed | |
Name: update | |
Result: True | |
Comment: Search was done without error. | |
Download was done without error. | |
Install was done without error. | |
Started: 17:48:20.681000 | |
Duration: 6198.0 ms | |
Changes: | |
Summary for sotestsaltwin01 | |
------------ | |
Succeeded: 1 | |
Failed: 0 | |
------------ | |
Total states run: 1 | |
SOTESTSALT01:/srv/sal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment