We always just want the latest anyway and therefore don't use it, so no need to keep the complexity introduced by that setting. Also merge repo_setup and nginx_install task lists into one nginx_install task list as keeping two files isn't necessary. Finally improving naming a bit.
14 lines
421 B
YAML
14 lines
421 B
YAML
- name: make sure nginx configuration names are valid
|
|
ansible.builtin.include_role:
|
|
name: nginx
|
|
tasks_from: make_sure_nginx_configuration_names_are_valid
|
|
|
|
- name: ensure NGINX is installed
|
|
ansible.builtin.include_role:
|
|
name: nginx
|
|
tasks_from: main/nginx_install
|
|
|
|
- name: make sure desirable NGINX configs are deployed
|
|
ansible.builtin.include_role:
|
|
name: nginx
|
|
tasks_from: main/config_deploy
|