"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
This commit is contained in:
Lorenzo Bettini
2022-05-24 14:29:56 +02:00
committed by GitHub
parent 9b25b11cea
commit 91c6d70184

View File

@@ -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'
```