]> git.phdru.name Git - ansible.git/commitdiff
Feat(playbooks/sudo): Do not add `phd` to `sudo`
authorOleg Broytman <phd@phdru.name>
Thu, 18 Dec 2025 14:20:42 +0000 (17:20 +0300)
committerOleg Broytman <phd@phdru.name>
Thu, 18 Dec 2025 14:20:42 +0000 (17:20 +0300)
playbooks/roles/sudo/tasks/main.yaml

index ee444a5a8d625e6d70e0390cb66a50013db74eee..338af66961d45903be105a93a935b1f1ec6d411e 100644 (file)
@@ -8,14 +8,6 @@
     update_cache: yes
   when: ansible_facts.os_family == 'Debian'
 
-- name: Add user phd to group sudo
-  become: true
-  user:
-    name: phd
-    append: yes
-    groups: sudo
-  when: ansible_facts.os_family == 'Debian'
-
 - name: Allow passwordless operations for phd
   become: true
   copy: