Added pattern support for package install

This commit is contained in:
Jonas Forsberg
2020-08-14 15:21:45 +02:00
parent 54e03c14f9
commit b741ad58fc
3 changed files with 6 additions and 1 deletions

View File

@@ -1,6 +1,8 @@
{% for package, args in pillar['packages'].items() %}
{% if args['status'] != 'ignore' %}
{{ package }}:
pkg.{{ args['status'] }}
pkg.{{ args['status'] }}:
- name: {{ package }}
- includes: [pattern]
{% endif %}
{% endfor %}