Commit 3b344455 authored by nanahira's avatar nanahira

formats

parent a7b580fe
...@@ -83,6 +83,7 @@ ...@@ -83,6 +83,7 @@
{{instance.name}}:{{instance.password}}:1000:1000 {{instance.name}}:{{instance.password}}:1000:1000
{% endfor %} {% endfor %}
dest: '{{jupyter_root}}/sftp_users.conf' dest: '{{jupyter_root}}/sftp_users.conf'
notify: restart_sftp
- name: docker-compose up -d - name: docker-compose up -d
docker_compose: docker_compose:
project_src: '{{ jupyter_root }}' project_src: '{{ jupyter_root }}'
...@@ -99,3 +100,9 @@ ...@@ -99,3 +100,9 @@
services: services:
- nginx - nginx
restarted: true restarted: true
- name: restart_sftp
docker_compose:
project_src: '{{ jupyter_root }}'
services:
- sftp
restarted: true
jupyter:
vars:
ansible_ssh_user: root
ansible_python_interpreter: python3
nginx_image: git-registry.mycard.moe/nanahira/docker-nginx-plus
jupyter_image: git-registry.mycard.moe/nanahira/docker-gdut-notebook:latest
data_file: ../output/gdut.yaml
certs_path: /path/to/certs/yuzurisa.com
jupyter_root: ~/jupyter
hosts:
jupyter.momobako.com:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment