]> git.phdru.name Git - ansible.git/commitdiff
Fix(init-logcheck): Become root
authorOleg Broytman <phd@phdru.name>
Mon, 8 Jun 2026 18:02:19 +0000 (21:02 +0300)
committerOleg Broytman <phd@phdru.name>
Mon, 8 Jun 2026 18:02:19 +0000 (21:02 +0300)
`/etc/logcheck` is only visible for users `toot` and `logcheck`.

playbooks/roles/debian/init-logcheck/tasks/main.yaml

index a0960a59a3851dc5cd9cf0e482e1be507455b7ea..bade3f58d4cc52b43bbdfa030d32dd529fe580cf 100644 (file)
@@ -1,4 +1,5 @@
 - name: Check logcheck
+  become: true
   stat:
     path: /etc/logcheck/logcheck.conf
   register: logcheck_exists