0962a0d816
* win_updates: removed scheduled task to use become instead * updated docs to remove scheduled task info * fix issue with only installing last update in group
26 lines
503 B
YAML
26 lines
503 B
YAML
---
|
|
- name: ensure test folder exists
|
|
win_file:
|
|
path: '{{win_updates_dir}}'
|
|
state: directory
|
|
|
|
- name: ensure WUA service is running
|
|
win_service:
|
|
name: wuauserv
|
|
state: started
|
|
start_mode: manual
|
|
|
|
- block:
|
|
- include_tasks: tests.yml
|
|
|
|
always:
|
|
- name: ensure test folder is deleted
|
|
win_file:
|
|
path: '{{win_updates_dir}}'
|
|
state: absent
|
|
|
|
- name: ensure WUA service is running
|
|
win_service:
|
|
name: wuauserv
|
|
state: started
|
|
start_mode: manual
|