Have salt-api service watch the master config filesmaster
- name: {{ salt_settings.api_service }} | - name: {{ salt_settings.api_service }} | ||||
- require: | - require: | ||||
- service: {{ salt_settings.master_service }} | - service: {{ salt_settings.master_service }} | ||||
{% if salt_settings.install_packages %} | |||||
- watch: | - watch: | ||||
{% if salt_settings.install_packages %} | |||||
- pkg: salt-api | - pkg: salt-api | ||||
{% endif %} | {% endif %} | ||||
- file: salt-master |