mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2025-04-15 17:20:24 +00:00
Exclude require statement when install_packages is False.
The 'require' statement needs a list as input, but doesn't get any input when install_packages is set to False.
This commit is contained in:
parent
1f43b96a00
commit
462455ead9
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ ensure roster config:
|
|||
- name: {{ salt_settings.config_path }}/roster
|
||||
- source: salt://salt/files/roster.jinja
|
||||
- template: jinja
|
||||
- require:
|
||||
{% if salt_settings.install_packages %}
|
||||
- require:
|
||||
- pkg: ensure salt-ssh is installed
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Reference in a new issue