new demo choco

This commit is contained in:
David Rojas
2020-09-23 15:18:55 -07:00
parent 5164840816
commit bdda66ee2c

View File

@@ -0,0 +1,17 @@
---
- name: install chocolatey package on Windows host
hosts: windows
vars:
choco_packages: git
app_state: present
collections:
- chocolatey.chocolatey
tasks:
- name: Install multiple packages
win_chocolatey:
name: "{{ choco_packages }}"
state: "{{ app_state }}"