Compare commits

..

1 Commits

Author SHA1 Message Date
ccca61945d
Manage salt-minion package, service and config
Restart the service after upgrading the package or modifying the minion
configuration file.

Signed-off-by: Joe Groocock <me@frebib.net>
2020-07-12 17:05:44 +01:00

View File

@ -10,10 +10,10 @@ salt-minion:
- file: /etc/salt/minion - file: /etc/salt/minion
restart-salt-minion: restart-salt-minion:
cmd.run: service.restart:
- name: "sleep 10 && systemctl restart salt-minion --no-block" - name: salt-minion
- bg: true
- order: last - order: last
- no_block: true
- watch: - watch:
- pkg: salt-minion - pkg: salt-minion
- file: /etc/salt/minion - file: /etc/salt/minion