diff --git a/windowssample.yml b/windowssample.yml index b747a94..2017834 100644 --- a/windowssample.yml +++ b/windowssample.yml @@ -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: