fix: force scope to system for systemd daemon-reload
All checks were successful
test / Linting (push) Successful in 14s
test / Molecule tests (default, debian11) (push) Successful in 1m12s
test / Molecule tests (default, ubuntu2004) (push) Successful in 1m45s
test / Molecule tests (with_custom_config, debian11) (push) Successful in 1m8s
test / Molecule tests (default, ubuntu2204) (push) Successful in 1m19s
test / Molecule tests (with_custom_config, ubuntu2004) (push) Successful in 1m23s
test / Molecule tests (with_custom_config, debian12) (push) Successful in 1m16s
test / Molecule tests (with_custom_config, ubuntu2204) (push) Successful in 1m42s
test / Molecule tests (default, debian12) (push) Successful in 1m12s

This commit is contained in:
Bertrand Lanson 2023-12-02 10:26:06 +01:00
parent 2873cd9e4c
commit 415c9af956

View File

@ -3,6 +3,7 @@
- name: "Reload service file"
ansible.builtin.systemd:
daemon_reload: true
scope: system
become: true
listen: "systemctl-daemon-reload"