1
1
Fork 0
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-05-20 01:56:30 +02:00
infrastructure/roles/common/handlers/main.yml
Leonidas Spyropoulos eed477869d
Replace ansible.builtin.service with ansible.builtin.systemd
The daemon_reload is specific to systemd and produce a warning in
ansible-lint

Signed-off-by: Leonidas Spyropoulos <artafinde@archlinux.org>
2023-02-13 12:08:47 +00:00

13 lines
291 B
YAML

- name: Restart journald
systemd:
name: systemd-journald
state: restarted
daemon_reload: true
- name: Systemd daemon-reload
systemd:
daemon_reload: true
- name: Restart systemd-zram-setup@zram0
systemd: name=systemd-zram-setup@zram0 state=restarted daemon_reload=yes