ansible-playbook-static-sit.../roles/static-server/tasks/validate_config.yml
2023-11-10 14:21:47 +01:00

9 lines
238 B
YAML

---
- name: Fail if required static_site_server settings not defined
ansible.builtin.fail:
msg: >
You need to define a required configuration setting (`{{ item }}`).
when: "vars[item] == ''"
with_items:
- static_sites