fix(haproxy): haproxy needs to be configured after the "services"
This commit is contained in:
parent
294fa3f66e
commit
e6e58a3fd3
|
@ -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
|
Loading…
Reference in New Issue