28 lines
853 B
YAML
28 lines
853 B
YAML
---
|
|
- hosts: all
|
|
gather_facts: false
|
|
tasks:
|
|
- name: Include config tasks
|
|
include: ./lib/config.yml
|
|
|
|
- name: Include vault tasks
|
|
include: ./lib/vault.yml
|
|
|
|
- name: Include domain tasks
|
|
include: ./lib/domain.yml
|
|
|
|
- name: Configure the dokku app environment
|
|
dokku_config:
|
|
app: keycloak
|
|
restart: false
|
|
config:
|
|
DB_ADDR: "dokku-mariadb-keycloak:3306"
|
|
DB_DATABASE: "keycloak"
|
|
DB_PASSWORD: "{{ db_passwd }}"
|
|
DB_USER: "mariadb" # https://github.com/dokku/dokku-mariadb/issues/89
|
|
DB_VENDOR: "mariadb"
|
|
DOKKU_LETSENCRYPT_EMAIL: "{{ autonomic_admin_mail }}"
|
|
KEYCLOAK_PASSWORD: "{{ autonomic_admin_pass }}"
|
|
KEYCLOAK_USER: "{{ autonomic_admin_user }}"
|
|
PROXY_ADDRESS_FORWARDING: "{{ proxy_address_forwarding }}"
|