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
restart-salt-minion:
cmd.run:
- name: "sleep 10 && systemctl restart salt-minion --no-block"
- bg: true
service.restart:
- name: salt-minion
- order: last
- no_block: true
- watch:
- pkg: salt-minion
- file: /etc/salt/minion