From 91c6d7018407355f30fe14e80dc184febac433cf Mon Sep 17 00:00:00 2001 From: Lorenzo Bettini Date: Tue, 24 May 2022 14:29:56 +0200 Subject: [PATCH] "mode: 0644" in the README example When using ansible-lint it would complain about "risky-file-permissions: File permissions unset or incorrect". Making the `mode` explicit avoids the problem --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index f6c6144..847bcb8 100644 --- a/README.md +++ b/README.md @@ -109,6 +109,7 @@ This user can be created in an Ansible task with the following actions: path: /etc/sudoers.d/11-install-aur_builder line: 'aur_builder ALL=(ALL) NOPASSWD: /usr/bin/pacman' create: yes + mode: 0644 validate: 'visudo -cf %s' ```