toansible: Add mode to sudoers
This commit is contained in:
parent
dd63aa5da8
commit
3e7ed378a1
2 changed files with 2 additions and 6 deletions
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue