
- name: integration/strategy/mixed_vanilla_mitogen.yml (linear->mitogen->linear)
  hosts: test-targets[0]
  tasks:
    - include_tasks: ../_mitogen_only.yml

    - connection: local
      environment:
        ANSIBLE_PYTHON_INTERPRETER: "{{ ansible_playbook_python }}"
        ANSIBLE_VERBOSITY: "{{ ansible_verbosity }}"
      vars:
        ansible_python_interpreter: "{{ ansible_playbook_python }}"
      command: |
        ansible-playbook
        {% for inv in ansible_inventory_sources %}
        -i "{{ inv }}"
        {% endfor %}
        integration/strategy/_mixed_mitogen_vanilla.yml
      args:
        chdir: ../..
      register: out

    - connection: local
      environment:
        ANSIBLE_VERBOSITY: "{{ ansible_verbosity }}"
      vars:
        ansible_python_interpreter: "{{ ansible_playbook_python }}"
      command: |
        ansible-playbook
        {% for inv in ansible_inventory_sources %}
        -i "{{ inv }}"
        {% endfor %}
        integration/strategy/_mixed_vanilla_mitogen.yml
      args:
        chdir: ../..
      register: out
  tags:
    - mixed_vanilla_mitogen
