--- - name: Shinyproxy as a standalone service ansible.builtin.import_tasks: shinyproxy_vm.yml when: not shinyproxy_as_docker_service - name: Shinyproxy as a standalone container ansible.builtin.import_tasks: shinyproxy_docker_service.yml when: - shinyproxy_as_docker_service - shinyproxy_container_backend == 'docker' - name: Shinyproxy as a Docker Swarm stack ansible.builtin.import_tasks: shinyproxy_docker_stack_service.yml when: - shinyproxy_as_docker_service - shinyproxy_container_backend == 'docker-swarm'