nginx(role): use better naming, wording and file structure
This commit is contained in:
parent
9b2ef55f86
commit
344dd78981
6 changed files with 55 additions and 58 deletions
|
@ -1,14 +1,11 @@
|
|||
- 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 valid configuration names
|
||||
ansible.builtin.import_tasks:
|
||||
file: main/01_validate_config_names.yaml
|
||||
|
||||
- name: ensure NGINX is installed
|
||||
ansible.builtin.include_role:
|
||||
name: nginx
|
||||
tasks_from: main/nginx_install
|
||||
- name: Ensure nginx is installed
|
||||
ansible.builtin.import_tasks:
|
||||
file: main/02_nginx_install.yaml
|
||||
|
||||
- name: make sure desirable NGINX configs are deployed
|
||||
ansible.builtin.include_role:
|
||||
name: nginx
|
||||
tasks_from: main/config_deploy
|
||||
- name: Ensure configuration deployment
|
||||
ansible.builtin.import_tasks:
|
||||
file: main/03_config_deploy.yaml
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue