fix(haproxy): haproxy needs to be configured after the "services"

This commit is contained in:
Philippe Caseiro 2023-02-13 11:42:36 +01:00
parent 294fa3f66e
commit e6e58a3fd3
1 changed files with 10 additions and 10 deletions

View File

@ -54,15 +54,6 @@
ansible.builtin.include_tasks: hydra-database.yml
when: not hydra_use_external_database
- name: Configure HAProxy
template:
src: haproxy.cfg.j2
dest: /etc/haproxy/haproxy.cfg
validate: "haproxy -c -f %s"
notify:
- Restart HAProxy
become: true
- name: Create hydra-clients
template:
src: hydra-client.json.j2
@ -122,3 +113,12 @@
- name: Stop OIDC Test app if disabled
ansible.builtin.include_tasks: stop-oidc-test.yml
when: not enable_oidc_test_app
- name: Configure HAProxy
template:
src: haproxy.cfg.j2
dest: /etc/haproxy/haproxy.cfg
validate: "haproxy -c -f %s"
notify:
- Restart HAProxy
become: true