mirror of https://github.com/ansible/ansible.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
503 B
YAML
27 lines
503 B
YAML
7 years ago
|
---
|
||
|
- 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
|