--- - fail: msg="Gitolite depends on OpenSSH, which is not enabled!" when: - services.gitolite.enable is true - services.openssh.enable is false - fail: msg="Option 'gitolite.initalKey' has to be defined!" when: - services.gitolite.enable is true - services.gitolite.initialKey is not defined