Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
ansible_cluster_in_a_box
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chris Hines
ansible_cluster_in_a_box
Commits
1664affc
Commit
1664affc
authored
Feb 10, 2016
by
Chris Hines
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
a new role to allow one of our ldap groups to sudo. Define a variable called sudo_group to use
parent
9b3ead76
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
roles/enable_sudo_group/tasks/main.yml
roles/enable_sudo_group/tasks/main.yml
+4
-0
roles/enable_sudo_group/templates/10-admin_group.j2
roles/enable_sudo_group/templates/10-admin_group.j2
+1
-0
No files found.
roles/enable_sudo_group/tasks/main.yml
0 → 100644
View file @
1664affc
---
-
name
:
template sudoers file
template
:
src=10-admin_group.j2 dest=/etc/sudoers.d/10-admin_group
become
:
true
roles/enable_sudo_group/templates/10-admin_group.j2
0 → 100644
View file @
1664affc
%{{ sudo_group }} ALL=(ALL) ALL
Write
Preview
Markdown
is supported
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