Changeset 049a8a9b in darkpeak-services


Ignore:
Timestamp:
Dec 16, 2019, 12:06:51 AM (12 months ago)
Author:
Mat Booth <mbooth@…>
Branches:
keycloak
Parents:
ec98d8f8
Message:

keycloak: add administrative user on installation

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • dev-playbook-template.yml

    rec98d8f8 r049a8a9b  
    5454    ldap_group_basedn: "cn=groups,cn=accounts,{{ ldap_basedn }}"
    5555
     56    keycloack_admin_pass: "correcthorsebatterystaple"
    5657    ttrss_postgresql_password: "correcthorsebatterystaple"
    5758    sabredav_mysql_password: "correcthorsebatterystaple"
  • roles/keycloak/tasks/main.yml

    rec98d8f8 r049a8a9b  
    8989    - restart keycloak
    9090
     91- name: Add administrative user to keycloak
     92  command: "/opt/keycloak/bin/add-user-keycloak.sh -r master -u admin -p {{ keycloack_admin_pass }}"
     93  notify:
     94    - restart keycloak
     95
  • roles/keycloak/templates/keycloak.service.j2

    rec98d8f8 r049a8a9b  
    77User={{ service_name }}
    88Group={{ service_name }}
    9 ExecStart={{ inst_dir }}/bin/standalone.sh -b 0.0.0.0 -Djboss.server.data.dir={{ data_dir }} -Djboss.server.log.dir={{ logs_dir }} -Djboss.server.temp.dir=/tmp -Djboss.socket.binding.port-offset=-72 -Dkeycloak.frontendUrl=https://{{ domain }}
     9ExecStart={{ inst_dir }}/bin/standalone.sh -b 0.0.0.0 -Djboss.server.data.dir={{ data_dir }} -Djboss.server.log.dir={{ logs_dir }} -Djboss.server.temp.dir=/tmp -Djboss.socket.binding.port-offset=-72
    1010TimeoutStartSec=600
    1111TimeoutStopSec=600
Note: See TracChangeset for help on using the changeset viewer.