Exclude require statement when install_packages is False.master
- name: {{ salt_settings.config_path }}/roster | - name: {{ salt_settings.config_path }}/roster | ||||
- source: salt://salt/files/roster.jinja | - source: salt://salt/files/roster.jinja | ||||
- template: jinja | - template: jinja | ||||
- require: | |||||
{% if salt_settings.install_packages %} | {% if salt_settings.install_packages %} | ||||
- require: | |||||
- pkg: ensure salt-ssh is installed | - pkg: ensure salt-ssh is installed | ||||
{% endif %} | {% endif %} |