„windowssample.yml“ ändern
This commit is contained in:
		@ -1,5 +1,13 @@
 | 
			
		||||
---
 | 
			
		||||
- hosts: lokal_2019:mws_win
 | 
			
		||||
- hosts: mws_win
 | 
			
		||||
  vars
 | 
			
		||||
    ansible_user=mws\Administrator
 | 
			
		||||
    ansible_password=Edv#Mws
 | 
			
		||||
    ansible_connection=ssh
 | 
			
		||||
    ansible_shell_type=cmd
 | 
			
		||||
    ansible_ssh_common_args=-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null
 | 
			
		||||
    ansible_ssh_retries=3
 | 
			
		||||
    
 | 
			
		||||
  tasks:
 | 
			
		||||
     - name: Install all updates and reboot as many times as needed
 | 
			
		||||
       ansible.windows.win_updates:
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user