From: Oleg Broytman Date: Mon, 8 Jun 2026 18:02:19 +0000 (+0300) Subject: Fix(init-logcheck): Become root X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=e1bcdc60e8af062e34627db980efb2fdb575bc0f;p=ansible.git Fix(init-logcheck): Become root `/etc/logcheck` is only visible for users `toot` and `logcheck`. --- diff --git a/playbooks/roles/debian/init-logcheck/tasks/main.yaml b/playbooks/roles/debian/init-logcheck/tasks/main.yaml index a0960a5..bade3f5 100644 --- a/playbooks/roles/debian/init-logcheck/tasks/main.yaml +++ b/playbooks/roles/debian/init-logcheck/tasks/main.yaml @@ -1,4 +1,5 @@ - name: Check logcheck + become: true stat: path: /etc/logcheck/logcheck.conf register: logcheck_exists