--- - name: Cosmos Server Pipeline hosts: all become: yes vars: iso_only: true roles: - role: cosmos_init when: not refresh_special | bool - role: docker_workstation when: install_docker | bool and not refresh_special | bool - role: nvidia_drivers when: install_nvidia | bool and not refresh_special | bool and not skip_nvidia | bool - role: ldap_client when: install_LDAP | bool and not refresh_special | bool # - role: "{{ special_server }}" # when: '"none" not in special_server' tasks: - name: "Run {{ special_server }} role" include_role: name: "{{ special_server }}" when: '"none" not in special_server' ...