// Aula 24 - Usando o Chocolatey https://chocolatey.org/ Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1')) https://chocolatey.org/install # vim google-chorme-ansible.yml # google-chorme-ansible.yml --- - hosts: windows gather_facts: no become_method: runas become_user: SYSTEM tasks: - name: Install Google Chrome win_chocolatey: name: googlechrome state: present ignore_checksums: yes # ansible-playbook google-chorme-ansible.yml # java-ansible.yml --- - hosts: windows gather_facts: no become_method: runas become_user: SYSTEM tasks: - name: Install Java win_chocolatey: name: javaruntime state: present ignore_checksums: yes # ansible-playbook java-ansible.yml