--- - fail: msg="This Role currently only works on AlpineLinux!" when: - ansible_distribution != "Alpine" - fail: msg="This Role only works when Option 'system.enableOwnRepos' is true!" when: - system.enableOwnRepos is false - services.mbusd.enable is true - fail: msg="Option 'services.maddy.hostname' has to be set!" when: - services.maddy.hostname is not defined - fail: msg="Option 'services.maddy.ssl_cert' has to be set!" when: - services.maddy.ssl_cert is not defined - fail: msg="Option 'services.maddy.ssl_privkey' has to be set!" when: - services.maddy.ssl_privkey is not defined #todo: check that ssl files exist