- name: integration/stub_connections/lxc.yml hosts: test-targets gather_facts: false tasks: - include_tasks: ../_mitogen_only.yml - custom_python_detect_environment: vars: ansible_connection: lxc mitogen_lxc_attach_path: stub-lxc-attach.py register: out - assert: that: - out.env.THIS_IS_STUB_LXC_ATTACH == '1' fail_msg: out={{out}} tags: - lxc - mitogen_only