Following my blog post about installing Google Chrome on Windows hosts with Ansible, today, I will show you how to update Google Chrome using Ansible.
If you have not seen the blog post about installing Chrome, please visit the following post to understand how to get installed.
To update Google Chrome using Ansible, I will use a playbook that is similar to the one I used to install chrome, but this time I will use the state option to check for the latest version.
The playbook is shown below.
--- - name: "Chocolatey" hosts: windows tasks: - name: Update Google Chrome win_chocolatey: name: googlechrome state: latest ignore_checksums: yes
If you new to Ansible and Windows please visit the blog series on this topic.
Success! You're on the list.
Whoops! There was an error and we couldn't process your subscription. Please reload the page and try again.