2024-01-29 17:53:50 +00:00
|
|
|
---
|
|
|
|
# task/main file for deploy_haproxy
|
2024-01-30 22:20:26 +00:00
|
|
|
- name: "Import prerequisites.yml"
|
|
|
|
ansible.builtin.include_tasks: prerequisites.yml
|
|
|
|
|
|
|
|
- name: "Import install_host.yml"
|
|
|
|
ansible.builtin.include_tasks: install_host.yml
|
2024-02-01 22:05:41 +00:00
|
|
|
when: deploy_haproxy_deploy_method == 'host'
|
2024-01-31 20:01:49 +00:00
|
|
|
|
|
|
|
- name: "Import configure.yml"
|
|
|
|
ansible.builtin.include_tasks: configure.yml
|
2024-02-01 22:05:41 +00:00
|
|
|
|
|
|
|
- name: "Import install_docker.yml"
|
|
|
|
ansible.builtin.include_tasks: "install_docker.yml"
|
|
|
|
when: deploy_haproxy_deploy_method == 'docker'
|
|
|
|
|
|
|
|
- name: "Flush handlers"
|
|
|
|
ansible.builtin.meta: flush_handlers
|