Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
visa-jupyter
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PaNOSC
Data Analysis Services
visa-jupyter
Commits
35ab3d39
Commit
35ab3d39
authored
Jul 04, 2019
by
eric pellegrini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added playbook for disabling sudo password
parent
092540ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
jupyterhub-kubespawner/playbooks/disable_sudo_password.yml
jupyterhub-kubespawner/playbooks/disable_sudo_password.yml
+15
-0
No files found.
jupyterhub-kubespawner/playbooks/disable_sudo_password.yml
0 → 100644
View file @
35ab3d39
---
# To be run using the following command:
# ansible-playbook -i my-inventory disable_sudo_password.yml -b -K
-
hosts
:
all
tasks
:
-
lineinfile
:
path
:
/etc/sudoers
state
:
present
regexp
:
'
^%sudo'
line
:
'
%sudo
ALL=(ALL)
NOPASSWD:
ALL'
validate
:
'
visudo
-cf
%s'
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