new demo choco

This commit is contained in:
David Rojas
2020-09-23 13:53:13 -07:00
parent 91046425fc
commit 268aca7eee
4 changed files with 559 additions and 5 deletions

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 }}"