Commit 41985de1 authored by eric pellegrini's avatar eric pellegrini

fixed keycloak related variable naming error in plays

parent bc02d664
......@@ -12,9 +12,9 @@
vars:
jupyterhub_admin: "{{ cluster_users.1.name }}"
jupyterhub_admin_group: "{{ cluster_users.1.group }}"
keycloak_url: "{{ keycloak['url'] }}"
keycloak_admin: "{{ keycloak['admin'] }}"
keycloak_admin_password: "{{ keycloak['password'] }}"
keycloak_realm_name: "{{ keycloak['realm_name'] }}"
keycloak_port: "{{ keycloak['port'] }}"
keycloak_description: "{{ keycloak['description'] }}"
keycloak_url: "{{ jupyterhub.keycloak.url }}"
keycloak_admin: "{{ jupyterhub.keycloak.admin }}"
keycloak_admin_password: "{{ jupyterhub.keycloak.password }}"
keycloak_realm_name: "{{ jupyterhub.keycloak.realm_name }}"
keycloak_port: "{{ jupyterhub.keycloak.port }}"
keycloak_description: "{{ jupyterhub.keycloak.description }}"
......@@ -13,5 +13,5 @@
name: roles/nginx
vars:
temp: "{{ groups['jhub_servers'] | map('extract',hostvars,['ansible_default_ipv4','address']) | list }}"
balanced_servers: "{{ temp | map('string_postfix',':'+(keycloak['port']|string)) | list }}"
balanced_servers: "{{ temp | map('string_postfix',':'+(jupyterhub.keycloak.port | string)) | list }}"
nginx_server: "{{ ansible_default_ipv4.address }}"
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