Servers config should require available/enabled dirstags/v0.55.0
'disabled_postfix': '.disabled', | 'disabled_postfix': '.disabled', | ||||
'symlink_opts': {}, | 'symlink_opts': {}, | ||||
'rename_opts': {}, | 'rename_opts': {}, | ||||
'managed_opts': {}, | |||||
'managed_opts': { | |||||
'makedirs': True, | |||||
}, | |||||
'dir_opts': { | 'dir_opts': { | ||||
'makedirs': True, | 'makedirs': True, | ||||
}, | }, |
- name: {{ server_curpath(server) }} | - name: {{ server_curpath(server) }} | ||||
- source: {{ source_path }} | - source: {{ source_path }} | ||||
- template: jinja | - template: jinja | ||||
- require_in: | |||||
- service: nginx_service | |||||
{% if 'source_path' not in settings.config %} | {% if 'source_path' not in settings.config %} | ||||
- context: | - context: | ||||
config: {{ settings.config|json() }} | config: {{ settings.config|json() }} |