„windowssample.yml“ ändern
This commit is contained in:
		@ -1,13 +1,5 @@
 | 
			
		||||
---
 | 
			
		||||
- hosts: mws_win
 | 
			
		||||
  vars:
 | 
			
		||||
    ansible_user: "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
 | 
			
		||||
    
 | 
			
		||||
- hosts: mws_win   
 | 
			
		||||
  tasks:
 | 
			
		||||
     - name: Install all updates and reboot as many times as needed
 | 
			
		||||
       ansible.windows.win_updates:
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user