mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-15 08:30:46 +02:00
Solved some handler reloading bugs
This commit is contained in:
parent
22c8c395f0
commit
8e0341c120
@ -1,5 +1,9 @@
|
||||
# run_once_cmp_db_docker_proxy: deactivated
|
||||
|
||||
- include_tasks: "{{ playbook_dir }}/tasks/utils/load_handlers.yml"
|
||||
vars:
|
||||
handler_role_name: "svc-prx-openresty"
|
||||
|
||||
- name: "For '{{ application_id }}': load docker and db"
|
||||
include_role:
|
||||
name: cmp-db-docker
|
||||
@ -8,5 +12,5 @@
|
||||
include_role:
|
||||
name: srv-proxy-6-6-domain
|
||||
vars:
|
||||
domain: "{{ domains | get_domain(application_id) }}"
|
||||
http_port: "{{ ports.localhost.http[application_id] }}"
|
||||
domain: "{{ domains | get_domain(application_id) }}"
|
||||
http_port: "{{ ports.localhost.http[application_id] }}"
|
@ -3,6 +3,10 @@
|
||||
include_tasks: cleanup.yml
|
||||
when: mode_cleanup | bool
|
||||
|
||||
- include_tasks: "{{ playbook_dir }}/tasks/utils/load_handlers.yml"
|
||||
vars:
|
||||
handler_role_name: "svc-prx-openresty"
|
||||
|
||||
- name: "include role for {{ domain }} to receive certificates and do the modification routines"
|
||||
include_role:
|
||||
name: srv-web-7-6-composer
|
||||
@ -18,7 +22,7 @@
|
||||
uri:
|
||||
url: "{{ domains | get_url(application_id, WEB_PROTOCOL) }}"
|
||||
register: site_check
|
||||
failed_when: false
|
||||
failed_when: false
|
||||
changed_when: false
|
||||
when: not nginx_conf.changed
|
||||
|
||||
|
@ -26,6 +26,7 @@
|
||||
when: run_once_svc_db_postgres is not defined
|
||||
|
||||
- include_tasks: "{{ playbook_dir }}/tasks/utils/load_handlers.yml"
|
||||
# Necessary because docker handlers are overwritten by condition
|
||||
vars:
|
||||
handler_role_name: "docker-compose"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user