Update All Windows Apps With Ansible

In this blog post, I will show you how to update all the installed Windows applications using Ansible.

In the previous blog post, I have shown you how to install Google Chrome with chocolatey and explained how you can use chocolatey to install many apps on Windows managed machines.

This post will show you how to update all the applications that were installed using Chocolatey with Ansible.

Playbook

The following playbook will update all the apps using a single playbook run with Ansible.

---
- name: "Chocolatey"
  hosts: windows
  tasks:
    - name: update
      win_chocolatey:
           name: all
           state: latest
           ignore_checksums: yes

Posted

in

by