File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 5151 - docker-py
5252 - docker-compose
5353
54+ jupyter_notebook_config_py_url : " https://raw.githubusercontent.com/chusiang/ansible-jupyter.dockerfile/master/files/jupyter_notebook_config.py"
5455 ssh_private_key_url : " https://raw.githubusercontent.com/chusiang/ansible-jupyter.dockerfile/master/files/ssh/id_rsa"
5556 ansible_cfg_url : " https://raw.githubusercontent.com/chusiang/ansible-jupyter.dockerfile/master/ansible.cfg"
5657 inventory_url : " https://raw.githubusercontent.com/chusiang/ansible-jupyter.dockerfile/master/inventory"
129130 - name : install the jupyter notebook
130131 pip : name=jupyter version=1.0.0 state=present
131132
133+ # Disable Jupyter authentication of token.
134+ - name : create `/root/.jupyter` directory
135+ file : path=/root/.jupyter state=directory mode=0700
136+
137+ - name : get the jupyter_notebook_config.py
138+ get_url : >
139+ url={{ jupyter_notebook_config_py_url }} dest=/root/.jupyter/jupyter_notebook_config.py mode=0644
140+ checksum=md5:c663914a24281ddf10df6bc9e7238b07
141+
132142 # Create `ssh_config` directory.
133143 - name : create `/root/.ssh` directory
134144 file : path=/root/.ssh state=directory mode=0700
You can’t perform that action at this time.
0 commit comments