Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
infra
ansible-shared
samba
Commits
c6ba5ad9
Commit
c6ba5ad9
authored
Sep 21, 2017
by
Lars Beckers
Browse files
ad-auth: make admin group configurable
parent
a76cd8bb
Changes
4
Hide whitespace changes
Inline
Side-by-side
ad-auth/defaults/main.yml
0 → 100644
View file @
c6ba5ad9
---
ad_admin_group
:
admin
ad-auth/files/sudo/admin
deleted
100644 → 0
View file @
a76cd8bb
%admin ALL=(ALL:ALL) ALL
ad-auth/tasks/sudo.yml
View file @
c6ba5ad9
...
...
@@ -2,7 +2,7 @@
# file: roles/ad-auth/tasks/sudo.yml
-
name
:
ensure users of group admin are in the sudoers
copy
:
src=sudo
/admin
dest=/etc/sudoers.d/admin owner=root group=root mode=0440
template
:
src=sudo
.j2
dest=/etc/sudoers.d/admin owner=root group=root mode=0440
notify
:
-
check sudo config
tags
:
...
...
ad-auth/templates/sudo.j2
0 → 100644
View file @
c6ba5ad9
%{{ ad_admin_group }} ALL=(ALL:ALL) ALL
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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