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.
15 lines
435 B
YAML
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
|