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
7
roles/nginx/tasks/main/01_validate_config_names.yaml
Normal file
7
roles/nginx/tasks/main/01_validate_config_names.yaml
Normal file
|
@ -0,0 +1,7 @@
|
|||
- name: Ensure that the given configuration names are valid
|
||||
ansible.builtin.fail:
|
||||
msg: "You used one of the reserved configuration names: '{{ item.name }}'."
|
||||
when: item.name == "tls"
|
||||
or item.name == "redirect"
|
||||
or item.name == "logging"
|
||||
loop: "{{ nginx__configurations }}"
|
Loading…
Add table
Add a link
Reference in a new issue