„windowssample.yml“ ändern
This commit is contained in:
		@ -2,21 +2,21 @@
 | 
				
			|||||||
- hosts: windows
 | 
					- hosts: windows
 | 
				
			||||||
#  vars:
 | 
					#  vars:
 | 
				
			||||||
#    remote_user: Administrator
 | 
					#    remote_user: Administrator
 | 
				
			||||||
  tasks:
 | 
					#  tasks:
 | 
				
			||||||
  - name: Choose which Windows updates to install
 | 
					#  - name: Choose which Windows updates to install
 | 
				
			||||||
    win_updates:
 | 
					#    win_updates:
 | 
				
			||||||
      category_names:
 | 
					#      category_names:
 | 
				
			||||||
        - SecurityUpdates
 | 
					#        - SecurityUpdates
 | 
				
			||||||
        - CriticalUpdates
 | 
					#        - CriticalUpdates
 | 
				
			||||||
        - UpdateRollups
 | 
					#        - UpdateRollups
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#---
 | 
					#---
 | 
				
			||||||
#  hosts: all
 | 
					#  hosts: all
 | 
				
			||||||
#  tasks:
 | 
					   tasks:
 | 
				
			||||||
#    - name: Install all updates and reboot as many times as needed
 | 
					     - name: Install all updates and reboot as many times as needed
 | 
				
			||||||
#      ansible.windows.win_updates:
 | 
					       ansible.windows.win_updates:
 | 
				
			||||||
#        category_names: '*'
 | 
					         category_names: '*'
 | 
				
			||||||
#        reboot: true
 | 
					         reboot: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#- name: Install all security, critical, and rollup updates without a scheduled task
 | 
					#- name: Install all security, critical, and rollup updates without a scheduled task
 | 
				
			||||||
#  ansible.windows.win_updates:
 | 
					#  ansible.windows.win_updates:
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user