Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
b3c55124
Commit
b3c55124
authored
May 31, 2016
by
Sven-Hendrik Haase
Browse files
Add sudo role
parent
6bb007dc
Changes
4
Hide whitespace changes
Inline
Side-by-side
group_vars/all/root_pubkeys.yml
View file @
b3c55124
---
root_ssh_keys
:
-
bpiotrowski.pub
-
bluewind.pub
-
bpiotrowski.pub
-
svenstaro.pub
group_vars/all/sudo.yml
0 → 100644
View file @
b3c55124
---
sudo_users
:
-
allan
-
bluewind
-
bpiotrowski
-
dan
-
dreisner
-
foutrelis
-
heftig
-
ioni
-
pierre
-
root
-
seblu
-
svenstaro
-
thomas
playbooks/orion.yml
View file @
b3c55124
...
...
@@ -13,3 +13,4 @@
-
{
role
:
postfix
}
-
archusers
-
dbscripts
-
sudo
roles/sudo/tasks/main.yml
0 → 100644
View file @
b3c55124
---
-
name
:
install sudo
pacman
:
name=sudo state=present
-
name
:
add sudo users to wheel
user
:
name="{{ item }}" append=yes groups=wheel
with_items
:
"
{{
sudo_users
}}"
-
name
:
allow wheel group to use sudo
lineinfile
:
dest=/etc/sudoers state=present regexp='^%wheel' line='%wheel ALL=(ALL) ALL' validate='visudo -cf %s'
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