Commit 9770f106 authored by eric pellegrini's avatar eric pellegrini

refactored in5_config.yml

parent a795aa7f
---
os_vms_commons:
vm_admin: ubuntu
#############################################
# ansible controller
#############################################
ansible_controller:
identity_files:
- private: ~/downloads/jupyterhub
host:
- 192.168.13.*
- private: "{{ ssh_keypair }}"
host: "{{ ssh_hosts }}"
#############################################
# users
......@@ -19,15 +14,10 @@ ansible_controller:
cluster_users_commons:
passwordless_sudo: True
identity_files:
- identity_file: "{{ ansible_controller['identity_files'][0]['private'] }}"
add_private: False
add_public: True
cluster_users:
vm_admin:
name: ubuntu
name: "{{ vm_admin }}"
new: False
jupyterhub_admin:
......@@ -56,10 +46,9 @@ ntp:
#############################################
mysql:
localhost: False
localhost: True
bind_server: '127.0.0.1'
bind_server: jhub-haproxy
databases:
- jupyterhub_db
......@@ -68,26 +57,31 @@ mysql:
- name: jupyterhub_db_user
password: "{{ vault_mysql_user }}"
priv: "jupyterhub_db.*:ALL"
host: "localhost"
host: ""{{ mysql_host }}"
#############################################
# load_balancer
#############################################
load_balancer:
proxy_server: haproxy_server
proxy_server: jhub-haproxy
pem_file: /etc/ssl/certs/star.ill.fr.pem
#############################################
# sssd
#############################################
sssd:
local_homes:
- user: "{{ cluster_users.vm_admin.name }}"
home: "/localhome/{{ cluster_users.vm_admin.name }}"
#############################################
# jupyterhub
#############################################
jupyterhub:
cookie_secret: "{{ vault_cookie_secret }}"
proxy_authentication_token: "{{ vault_proxy_authentication_token }}"
......
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