Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
J
jupyter-deploy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
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
nanahira
jupyter-deploy
Commits
30c33481
Commit
30c33481
authored
Nov 11, 2020
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix permissions
parent
7fa19986
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
ansible/deploy.yaml
ansible/deploy.yaml
+12
-0
No files found.
ansible/deploy.yaml
View file @
30c33481
...
@@ -19,6 +19,7 @@
...
@@ -19,6 +19,7 @@
-
'
{{jupyter_root}}/nginx/conf.d'
-
'
{{jupyter_root}}/nginx/conf.d'
-
'
{{jupyter_root}}/instances'
-
'
{{jupyter_root}}/instances'
-
'
{{jupyter_root}}/instances/config'
-
'
{{jupyter_root}}/instances/config'
-
'
{{jupyter_root}}/instances/data'
-
name
:
docker-compose file
-
name
:
docker-compose file
template
:
template
:
src
:
'
./docker-compose.yml.j2'
src
:
'
./docker-compose.yml.j2'
...
@@ -48,11 +49,22 @@
...
@@ -48,11 +49,22 @@
perms
:
yes
perms
:
yes
notify
:
restart_nginx
notify
:
restart_nginx
-
name
:
instance configs
-
name
:
instance configs
become
:
true
copy
:
copy
:
content
:
'
{{
item.notebookConfig
|
to_json
}}'
content
:
'
{{
item.notebookConfig
|
to_json
}}'
dest
:
'
{{jupyter_root}}/instances/config/{{item.name}}.json'
dest
:
'
{{jupyter_root}}/instances/config/{{item.name}}.json'
owner
:
1000
group
:
1000
with_items
:
'
{{instances}}'
with_items
:
'
{{instances}}'
notify
:
restart_all
notify
:
restart_all
-
name
:
create directory
become
:
true
file
:
path
:
'
{{jupyter_root}}/instances/data/{{item.name}}'
state
:
directory
owner
:
1000
group
:
1000
with_items
:
'
{{instances}}'
-
name
:
docker-compose up -d
-
name
:
docker-compose up -d
docker_compose
:
docker_compose
:
project_src
:
'
{{
jupyter_root
}}'
project_src
:
'
{{
jupyter_root
}}'
...
...
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