Merge pull request #45 from danrodrig/fix-service-restart

fix: Service restart handling with watch requisite
This commit is contained in:
Imran Iqbal 2021-06-04 16:20:50 +01:00 committed by GitHub
commit 862369145b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,6 +12,9 @@ include:
keepalived-service-running-service-running: keepalived-service-running-service-running:
service.running: service.running:
- name: {{ keepalived.service.name }} - name: {{ keepalived.service.name }}
- enable: True
- watch: - watch:
- sls: {{ sls_config_file }} - sls: {{ sls_config_file }}
keepalived-service-running-service-enabled:
service.enabled:
- name: {{ keepalived.service.name }}