diff --git a/roles/mash/playbook_base/tasks/validate_config.yml b/roles/mash/playbook_base/tasks/validate_config.yml index 7722a5e..e91b952 100644 --- a/roles/mash/playbook_base/tasks/validate_config.yml +++ b/roles/mash/playbook_base/tasks/validate_config.yml @@ -1,7 +1,7 @@ --- - name: Fail if required mash playbook settings not defined - fail: + ansible.builtin.fail: msg: >- You need to define a required configuration setting (`{{ item }}`) for using this role. when: "vars[item] == ''"