ansible-infra/roles/nginx/tasks/main.yaml
June 7420ed6010
nginx(role): split up repo setup and install task lists to estab. conv.
Split up repo setup and package installation after all to establish this
as a convention (its already done this way in the docker role and was
done this way in the nginx role before) to highlight that an external
repo is used.
2025-02-18 05:43:39 +01:00

15 lines
435 B
YAML

- name: Ensure valid configuration names
ansible.builtin.import_tasks:
file: main/01_validate_config_names.yaml
- name: Ensure NGINX repo is set up
ansible.builtin.import_tasks:
file: main/02_repo_setup.yaml
- name: Ensure nginx is installed
ansible.builtin.import_tasks:
file: main/03_nginx_install.yaml
- name: Ensure configuration deployment
ansible.builtin.import_tasks:
file: main/04_config_deploy.yaml