Add systemd role for restarting multiple services in same transaction
This commit is contained in:
9
roles/systemd/README.md
Normal file
9
roles/systemd/README.md
Normal file
@@ -0,0 +1,9 @@
|
||||
Adds systemd-related notifiable handlers
|
||||
|
||||
- Reload systemd daemon
|
||||
- Reloads all systemd unit files
|
||||
- Apply systemd unit restarts
|
||||
- Restarts multiple systemd units in a single transaction
|
||||
- Units to be restarted are defined in the `systemd_restart_units` variable of type list
|
||||
- The variable should be set using `ansible.builtin.set_fact`
|
||||
- The list must not be overridden, but appended (`systemd_restart_units: "{{ systemd_restart_units + ['restartme.service'] }}"`
|
||||
Reference in New Issue
Block a user