From a3ee42d1dde090c5baad512ff8707f7e2c068433 Mon Sep 17 00:00:00 2001 From: uvok cheetah Date: Sun, 9 Feb 2025 17:57:14 +0100 Subject: Linting --- deploy-reboot.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'deploy-reboot.yml') diff --git a/deploy-reboot.yml b/deploy-reboot.yml index de7bed7..078d6cd 100644 --- a/deploy-reboot.yml +++ b/deploy-reboot.yml @@ -1,7 +1,7 @@ --- - name: Deploy conditional reboot service and timer hosts: all - become: yes + become: true tasks: - name: Copy conditional-reboot.service file @@ -14,8 +14,9 @@ [Service] Type=oneshot ExecStart=/bin/sh -c 'if [ -f /var/run/reboot-required ]; then reboot; fi' + mode: "0640" notify: - - reload systemd + - Reload systemd - name: Copy conditional-reboot.timer file copy: @@ -30,17 +31,17 @@ [Install] WantedBy=timers.target + mode: "0640" notify: - - reload systemd + - Reload systemd - name: Enable and start conditional-reboot.timer systemd: name: conditional-reboot.timer - enabled: yes + enabled: true state: started handlers: - - name: reload systemd + - name: Reload systemd systemd: - daemon_reload: yes - + daemon_reload: true -- cgit v1.2.3