# Ensure 'local' connections are grabbed.

- name: integration/connection_loader/local_blemished.yml
  hosts: test-targets
  tasks:
    - determine_strategy:

    - custom_python_detect_environment:
      delegate_to: localhost
      register: out

    - assert:
        that: (not not out.mitogen_loaded) == (not not is_mitogen)
        fail_msg: |
          out={{ out }}
  tags:
    - local
    - local_blemished
