Skip to content

Commit

Permalink
privileged userをsudoersに追加する
Browse files Browse the repository at this point in the history
  • Loading branch information
piny940 committed Feb 22, 2025
1 parent af7ae2c commit 50439a5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ansible/home-cluster/roles/k0s/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,10 @@
mode: "0644"
notify: restart_sshd
become: true
- name: Add privileged user to sudoers
community.general.sudoers:
commands: ALL
name: privileged
nopassword: true
state: present
user: privileged

0 comments on commit 50439a5

Please sign in to comment.