--- - import_tasks: checks.yml when: - services.gitolite.enable is defined - services.gitolite.enable is true - import_tasks: install.yml when: - services.gitolite.enable is defined - services.gitolite.enable is true - import_tasks: configure.yml when: - services.gitolite.enable is defined - services.gitolite.enable is true - import_tasks: remove.yml when: - services.gitolite.enable is defined - services.gitolite.enable is false