This repository has been archived on 2020-05-07. You can view files and clone it, but cannot push or open issues or pull requests.
dokku-ansible-deploy/plays/pre_deploy.yml
2020-04-13 11:42:33 +02:00

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 }}"