fix: add ignore and fix states options
This commit is contained in:
parent
e2ed6fb9b5
commit
4915f4792d
1 changed files with 6 additions and 1 deletions
|
@ -20,9 +20,14 @@ apply Dependency "{{ name }}" to Service {
|
|||
{% endif %}
|
||||
{% endfor %}
|
||||
{% if dependency.states is defined %}
|
||||
states = [ {{ value | join(', ') }} ]
|
||||
states = [ {{ dependency.states | join(', ') }} ]
|
||||
{% endif %}
|
||||
|
||||
{% if dependency.assign is defined %}
|
||||
assign where {{ dependency.assign }}
|
||||
{% endif %}
|
||||
{% if dependency.ignore is defined %}
|
||||
ignore where {{ dependency.ignore }}
|
||||
{% endif %}
|
||||
}
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in a new issue