salt/doc/example/templates/yaml-jinja.yml

24 lines
339 B
YAML

{% for item in 'vim','emacs','nano' %}
{{ item }}:
pkg:
- installed
{% endfor %}
salt:
pkg:
- installed
service:
- running
- require:
- pkg: salt
- names:
- salt-master
- salt-minion
cronie:
pkg:
- installed
service:
- enabled
- require:
- pkg: cronie
- name: crond