2022-02-05 20:32:54 +00:00
|
|
|
---
|
2019-01-12 15:53:00 +00:00
|
|
|
- import_tasks: "{{ role_path }}/tasks/init.yml"
|
|
|
|
tags:
|
|
|
|
- always
|
|
|
|
|
2019-01-17 11:32:46 +00:00
|
|
|
# Always validating the configuration, even if `matrix_nginx_proxy: false`.
|
|
|
|
# This role performs actions even if the role is disabled, so we need
|
|
|
|
# to ensure there's a valid configuration in any case.
|
|
|
|
- import_tasks: "{{ role_path }}/tasks/validate_config.yml"
|
2019-05-21 15:25:59 +00:00
|
|
|
when: run_setup|bool
|
2019-01-17 11:32:46 +00:00
|
|
|
tags:
|
|
|
|
- setup-all
|
|
|
|
- setup-nginx-proxy
|
|
|
|
|
2019-01-12 15:53:00 +00:00
|
|
|
- import_tasks: "{{ role_path }}/tasks/ssl/main.yml"
|
2019-05-21 15:25:59 +00:00
|
|
|
when: run_setup|bool
|
2019-01-12 15:53:00 +00:00
|
|
|
tags:
|
|
|
|
- setup-all
|
|
|
|
- setup-nginx-proxy
|
|
|
|
- setup-ssl
|
|
|
|
|
|
|
|
- import_tasks: "{{ role_path }}/tasks/setup_nginx_proxy.yml"
|
2019-05-21 15:25:59 +00:00
|
|
|
when: run_setup|bool
|
2019-01-12 15:53:00 +00:00
|
|
|
tags:
|
|
|
|
- setup-all
|
|
|
|
- setup-nginx-proxy
|
|
|
|
|
|
|
|
- import_tasks: "{{ role_path }}/tasks/self_check_well_known.yml"
|
|
|
|
delegate_to: 127.0.0.1
|
|
|
|
become: false
|
2019-05-21 15:25:59 +00:00
|
|
|
when: run_self_check|bool
|
2019-01-12 15:53:00 +00:00
|
|
|
tags:
|
2019-01-17 11:32:46 +00:00
|
|
|
- self-check
|
|
|
|
|
|
|
|
- name: Mark matrix-nginx-proxy role as executed
|
|
|
|
set_fact:
|
|
|
|
matrix_nginx_proxy_role_executed: true
|
|
|
|
tags:
|
2022-02-05 20:32:54 +00:00
|
|
|
- always
|