only manage service file if the right salt version is installed

This commit is contained in:
m0duspwnens
2021-04-14 15:48:33 -04:00
parent d42cd52ae1
commit 71d7ca8958

View File

@@ -46,6 +46,7 @@ salt_minion_service_unit_file:
- module: systemd_reload
- listen_in:
- service: salt_minion_service
- onlyif: test "{{INSTALLEDSALTVERSION}}" == "{{SALTVERSION}}"
salt_minion_service:
service.running: