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