Commit b0286c8c authored by Florian Pritz's avatar Florian Pritz
Browse files

Remove angvp sudo access



Signed-off-by: Florian Pritz's avatarFlorian Pritz <bluewind@xinu.at>
parent c2c5fcf8
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
sudo_users: sudo_users:
- allan - allan
- angvp
- bluewind - bluewind
- bpiotrowski - bpiotrowski
- dan - dan
......
...@@ -3,6 +3,10 @@ ...@@ -3,6 +3,10 @@
- name: install sudo - name: install sudo
pacman: name=sudo state=present pacman: name=sudo state=present
# https://github.com/ansible/ansible/issues/11024
- name: remove all users from wheel group
command: groupmems -g wheel --purge
- name: add sudo users to wheel - name: add sudo users to wheel
user: name="{{ item }}" append=yes groups=wheel user: name="{{ item }}" append=yes groups=wheel
with_items: "{{ sudo_users }}" with_items: "{{ sudo_users }}"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment