2025-02-18 04:07:07 +01:00
|
|
|
- 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 }}"
|
2025-02-18 06:07:47 +01:00
|
|
|
loop_control:
|
|
|
|
label: "{{ item.name }}"
|