toansible: Add mode to sudoers

This commit is contained in:
flyingscorpio@clevo 2022-02-22 15:54:29 +01:00
parent dd63aa5da8
commit 3e7ed378a1
2 changed files with 2 additions and 6 deletions

View file

@ -1,9 +1,3 @@
sudoers:
- run:
- sudo sed "s/\$USER/$USER/g" dotfiles/sudoers.d/* | sudo tee /etc/sudoers.d/setup-cockpit >/dev/null 2>&1
- run:
- sudo chmod 600 /etc/sudoers.d/setup-cockpit
grub:
- install:
arch:

View file

@ -5,9 +5,11 @@
template:
src: bye.j2
dest: /etc/sudoers.d/bye
mode: 0600
- name: Copy sudoers files
become: true
copy:
src: insults
dest: /etc/sudoers.d/insults
mode: 0600