Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Sébastien Luttringer
infrastructure
Commits
b0286c8c
Commit
b0286c8c
authored
Jun 06, 2018
by
Florian Pritz
Browse files
Remove angvp sudo access
Signed-off-by:
Florian Pritz
<
bluewind@xinu.at
>
parent
c2c5fcf8
Changes
2
Hide whitespace changes
Inline
Side-by-side
group_vars/all/sudo.yml
View file @
b0286c8c
...
...
@@ -2,7 +2,6 @@
sudo_users
:
-
allan
-
angvp
-
bluewind
-
bpiotrowski
-
dan
...
...
roles/sudo/tasks/main.yml
View file @
b0286c8c
...
...
@@ -3,6 +3,10 @@
-
name
:
install sudo
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
user
:
name="{{ item }}" append=yes groups=wheel
with_items
:
"
{{
sudo_users
}}"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment