Added pattern support for package install
This commit is contained in:
parent
54e03c14f9
commit
b741ad58fc
@ -4,6 +4,8 @@ include:
|
|||||||
packages:
|
packages:
|
||||||
teams: { status: installed }
|
teams: { status: installed }
|
||||||
python3-susepubliccloudinfo: { status: installed }
|
python3-susepubliccloudinfo: { status: installed }
|
||||||
|
pattern:kvm_server: { status: installed }
|
||||||
|
pattern:kvm_tools: { status: installed }
|
||||||
|
|
||||||
firefox:
|
firefox:
|
||||||
addons:
|
addons:
|
||||||
|
@ -14,3 +14,4 @@ packages:
|
|||||||
# vim-instant-markdown
|
# vim-instant-markdown
|
||||||
xdg-utils: { status: installed }
|
xdg-utils: { status: installed }
|
||||||
nodejs10: { status: installed }
|
nodejs10: { status: installed }
|
||||||
|
pattern:devel_basis: { status: installed }
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
{% for package, args in pillar['packages'].items() %}
|
{% for package, args in pillar['packages'].items() %}
|
||||||
{% if args['status'] != 'ignore' %}
|
{% if args['status'] != 'ignore' %}
|
||||||
{{ package }}:
|
{{ package }}:
|
||||||
pkg.{{ args['status'] }}
|
pkg.{{ args['status'] }}:
|
||||||
|
- name: {{ package }}
|
||||||
|
- includes: [pattern]
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
Reference in New Issue
Block a user