- hosts: localhost tasks: - block: - import_role: name: emit-job-header - import_role: name: log-inventory vars: zuul_log_url: "https://sfop.me/logs" - hosts: all tasks: - include_role: name=start-zuul-console - block: - include_role: name=validate-host - include_role: name=prepare-workspace - include_role: name=add-build-sshkey when: "ansible_connection != 'kubectl'" - block: - include_role: name=prepare-workspace-openshift - include_role: name=remove-zuul-sshkey run_once: true when: "ansible_connection == 'kubectl'" - import_role: name=ensure-output-dirs when: ansible_user_dir is defined