mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-15 16:40:45 +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
|
# 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"
|
- name: "For '{{ application_id }}': load docker and db"
|
||||||
include_role:
|
include_role:
|
||||||
name: cmp-db-docker
|
name: cmp-db-docker
|
||||||
@ -8,5 +12,5 @@
|
|||||||
include_role:
|
include_role:
|
||||||
name: srv-proxy-6-6-domain
|
name: srv-proxy-6-6-domain
|
||||||
vars:
|
vars:
|
||||||
domain: "{{ domains | get_domain(application_id) }}"
|
domain: "{{ domains | get_domain(application_id) }}"
|
||||||
http_port: "{{ ports.localhost.http[application_id] }}"
|
http_port: "{{ ports.localhost.http[application_id] }}"
|
@ -3,6 +3,10 @@
|
|||||||
include_tasks: cleanup.yml
|
include_tasks: cleanup.yml
|
||||||
when: mode_cleanup | bool
|
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"
|
- name: "include role for {{ domain }} to receive certificates and do the modification routines"
|
||||||
include_role:
|
include_role:
|
||||||
name: srv-web-7-6-composer
|
name: srv-web-7-6-composer
|
||||||
@ -18,7 +22,7 @@
|
|||||||
uri:
|
uri:
|
||||||
url: "{{ domains | get_url(application_id, WEB_PROTOCOL) }}"
|
url: "{{ domains | get_url(application_id, WEB_PROTOCOL) }}"
|
||||||
register: site_check
|
register: site_check
|
||||||
failed_when: false
|
failed_when: false
|
||||||
changed_when: false
|
changed_when: false
|
||||||
when: not nginx_conf.changed
|
when: not nginx_conf.changed
|
||||||
|
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
when: run_once_svc_db_postgres is not defined
|
when: run_once_svc_db_postgres is not defined
|
||||||
|
|
||||||
- include_tasks: "{{ playbook_dir }}/tasks/utils/load_handlers.yml"
|
- include_tasks: "{{ playbook_dir }}/tasks/utils/load_handlers.yml"
|
||||||
|
# Necessary because docker handlers are overwritten by condition
|
||||||
vars:
|
vars:
|
||||||
handler_role_name: "docker-compose"
|
handler_role_name: "docker-compose"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user