--- - name: include check_running_containers.yml include_tasks: check_running_containers.yml when: containerized_deployment - name: include check_socket_non_container.yml include_tasks: check_socket_non_container.yml when: not containerized_deployment