September 2018
Beginner to intermediate
214 pages
5h 53m
English
Chocolatey is a third-party package manager for Windows systems. It allows its users to install, remove, and update a huge number of Windows applications using standard commands. Ansible provides a module that makes sure that Chocolatey is installed on the system, then starts using it to install the selected tools from its packages gallery (https://chocolatey.org/packages). The following is a sample playbook that shows a few multiple usages of the win_chocolatey module:
- name: setup the latest version of firefox win_chocolatey: name: firefox state: latest - name: update all chocolatey installed tools win_chocolatey: name: all state: latest - name: remove 7zip win_chocolatey: name: 7zip state: absent
Read now
Unlock full access