"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
pull/73/head
Lorenzo Bettini 2022-05-24 14:29:56 +02:00 committed by GitHub
parent 9b25b11cea
commit 91c6d70184
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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