Created
July 27, 2017 19:06
-
-
Save insanity54/1e2c268ee9cad2ebba71e4ffe9ab9b15 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: create array of installable package names | |
set_fact: | |
myItems: | |
- firefox | |
- googlechrome | |
- vcredist2008 | |
- vcredist2012 | |
- notepadplusplus | |
- adobereader | |
- 7zip | |
- libreoffice | |
- thunderbird | |
- vlc | |
- irfanview | |
- irfanviewplugins | |
- Ghostscript | |
- cutepdf | |
- name: Install office productivity software | |
win_chocolatey: | |
name: "{{ item }}" | |
state: present | |
with_items: "{{ myItems[0:3] }}" | |
- name: Install more stuff | |
win_chocolatey: | |
name: "{{ item }}" | |
state: present | |
with_items: "{{ myItems[3:6] }}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment