# Ensure 'ssh' connections are grabbed. - name: integration/connection_loader__ssh_blemished.yml hosts: test-targets any_errors_fatal: true tasks: - determine_strategy: - custom_python_detect_environment: connection: ssh register: out - assert: that: (not not out.mitogen_loaded) == (not not is_mitogen) fail_msg: out={{out}}