add option to start minion service if master_type is set to disablemaster
- exclude_pat: _* | - exclude_pat: _* | ||||
- context: | - context: | ||||
standalone: True | standalone: True | ||||
{%- if salt_settings.minion.master_type is defined and salt_settings.minion.master_type == 'disable' %} | |||||
service.running: | |||||
{%- else %} | |||||
service.dead: | service.dead: | ||||
{%- endif %} | |||||
- enable: False | - enable: False | ||||
- name: {{ salt_settings.minion_service }} | - name: {{ salt_settings.minion_service }} | ||||
- require: | - require: |