--- - name: Create Hosted Resources - registry hosts: oo_first_master tasks: - import_role: name: openshift_hosted tasks_from: registry.yml when: - openshift_hosted_manage_registry | default(True) | bool