-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathupdate_windows.yml
67 lines (56 loc) · 1.7 KB
/
update_windows.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
---
- name: Update Windows
hosts: all
become: false
gather_facts: false
collections:
- myllynen.windows_ansible_roles
vars:
#
# Ansible WinRM configuration
#
ansible_connection: winrm
ansible_pipelining: true
ansible_winrm_port: 5985
ansible_winrm_scheme: http
ansible_winrm_transport: ntlm
ansible_winrm_message_encryption: always
ansible_winrm_server_cert_validation: ignore
ansible_winrm_user: winrm
ansible_winrm_password: Foobar_12
ansible_become_method: runas
#
# Ansible Windows/SSH configuration
#
#ansible_shell_type: powershell
#ansible_become_method: runas
#
# system_update
#
# Retry attempts and delay between retries
# for applying updates in case of failures
system_update_retry_count: 3
system_update_retry_delay: 30
# Retry applying updates also if updates were
# installed, subject to the above retry count
system_update_retry_after_install: true
# Parameters for win_updates
system_update_categories: '*'
system_update_accept_list: []
system_update_reject_list: []
system_update_skip_optional: false
system_update_state: installed
# Display update results
system_update_display_results: true
# Reboot if needed after updates
system_update_reboot: true
system_update_reboot_timeout: 1200
# Compile all installed assemblies
# This will happen only after updates
system_update_compile_assemblies: true
# Trigger compilation only when updates with
# the following description were part of the
# installed updates. Use '.*' for everything.
system_update_compile_filter: Cumulative Update
roles:
- system_update