„windowssample.yml“ ändern
This commit is contained in:
		@ -1,5 +1,11 @@
 | 
			
		||||
---
 | 
			
		||||
- hosts: windows
 | 
			
		||||
  tasks:
 | 
			
		||||
     - name: Install all updates and reboot as many times as needed
 | 
			
		||||
       ansible.windows.win_updates:
 | 
			
		||||
         category_names: '*'
 | 
			
		||||
         reboot: true
 | 
			
		||||
 | 
			
		||||
#  vars:
 | 
			
		||||
#    remote_user: Administrator
 | 
			
		||||
#  tasks:
 | 
			
		||||
@ -12,11 +18,11 @@
 | 
			
		||||
 | 
			
		||||
#---
 | 
			
		||||
#  hosts: all
 | 
			
		||||
   tasks:
 | 
			
		||||
     - name: Install all updates and reboot as many times as needed
 | 
			
		||||
       ansible.windows.win_updates:
 | 
			
		||||
         category_names: '*'
 | 
			
		||||
         reboot: true
 | 
			
		||||
#   tasks:
 | 
			
		||||
#     - name: Install all updates and reboot as many times as needed
 | 
			
		||||
#       ansible.windows.win_updates:
 | 
			
		||||
#         category_names: '*'
 | 
			
		||||
#         reboot: true
 | 
			
		||||
 | 
			
		||||
#- name: Install all security, critical, and rollup updates without a scheduled task
 | 
			
		||||
#  ansible.windows.win_updates:
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user