Jan Dittberner
f0d279789a
- run migrations before start - register systemd unit - start service - define localhost as default listening address
30 lines
486 B
YAML
30 lines
486 B
YAML
---
|
|
- name: Setup database
|
|
hosts: pgsqlserver
|
|
become: true
|
|
|
|
pre_tasks:
|
|
|
|
- name: Install python3-psycopg2
|
|
ansible.builtin.package:
|
|
name: python3-psycopg2
|
|
state: present
|
|
|
|
roles:
|
|
- hydra_database
|
|
|
|
- name: Install authorization server
|
|
hosts: authserver
|
|
become: true
|
|
|
|
roles:
|
|
- hydra_server
|
|
- oidc_idp
|
|
- oidc_client_registration
|
|
|
|
- name: Install demo application
|
|
hosts: demoserver
|
|
become: true
|
|
|
|
roles:
|
|
- oidc_demo_application
|