oidc-parent/deployment/playbooks/01_install_cacert_oidc.yml
Jan Dittberner f0d279789a Setup Hydra systemd service
- run migrations before start
- register systemd unit
- start service
- define localhost as default listening address
2022-08-16 16:22:36 +02:00

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