The salt-api service is configured using the master config files but is not restarted when the master is restarted. We need the salt-api service to watch the master config files to ensure that any config changes are picked up.tags/v0.57.0
- 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 |