2018-07-09 14:34:03 +00:00
|
|
|
|
|
|
|
# issue #294: ensure running mixed vanilla/Mitogen succeeds.
|
|
|
|
|
2018-07-10 16:52:20 +00:00
|
|
|
- name: integration/strategy/_mixed_mitogen_vanilla.yml (mitogen_linear)
|
2018-11-05 18:50:47 +00:00
|
|
|
hosts: test-targets[0]
|
2018-07-10 16:52:20 +00:00
|
|
|
strategy: mitogen_linear
|
2018-11-05 18:50:47 +00:00
|
|
|
run_once: true
|
2018-07-09 14:34:03 +00:00
|
|
|
tasks:
|
|
|
|
- custom_python_detect_environment:
|
|
|
|
register: out
|
|
|
|
- assert:
|
2018-07-10 16:52:20 +00:00
|
|
|
that: out.mitogen_loaded
|
2021-09-07 21:10:25 +00:00
|
|
|
fail_msg: out={{out}}
|
2018-07-09 14:34:03 +00:00
|
|
|
|
|
|
|
- determine_strategy:
|
|
|
|
- assert:
|
2018-07-10 16:52:20 +00:00
|
|
|
that: strategy == 'ansible.plugins.strategy.mitogen_linear.StrategyModule'
|
2021-09-07 21:10:25 +00:00
|
|
|
fail_msg: strategy={{strategy}}
|
2021-11-02 20:07:28 +00:00
|
|
|
tags:
|
|
|
|
- mitogen_linear
|
2018-11-05 18:50:47 +00:00
|
|
|
|
2018-07-10 16:52:20 +00:00
|
|
|
- name: integration/strategy/_mixed_mitogen_vanilla.yml (linear)
|
2018-11-05 18:50:47 +00:00
|
|
|
hosts: test-targets[0]
|
2018-07-10 16:52:20 +00:00
|
|
|
strategy: linear
|
2018-07-09 14:34:03 +00:00
|
|
|
tasks:
|
|
|
|
- custom_python_detect_environment:
|
|
|
|
register: out
|
|
|
|
- assert:
|
2018-07-10 16:52:20 +00:00
|
|
|
that: not out.mitogen_loaded
|
2021-09-07 21:10:25 +00:00
|
|
|
fail_msg: out={{out}}
|
2018-07-09 14:34:03 +00:00
|
|
|
|
|
|
|
- determine_strategy:
|
|
|
|
- assert:
|
2018-07-10 16:52:20 +00:00
|
|
|
that: strategy == 'ansible.plugins.strategy.linear.StrategyModule'
|
2021-09-07 21:10:25 +00:00
|
|
|
fail_msg: strategy={{strategy}}
|
2021-11-02 20:07:28 +00:00
|
|
|
tags:
|
|
|
|
- linear
|
2018-07-09 14:34:03 +00:00
|
|
|
|
2018-07-10 16:52:20 +00:00
|
|
|
- name: integration/strategy/_mixed_mitogen_vanilla.yml (mitogen_linear)
|
2018-11-05 18:50:47 +00:00
|
|
|
hosts: test-targets[0]
|
2018-07-10 16:52:20 +00:00
|
|
|
strategy: mitogen_linear
|
2018-07-09 14:34:03 +00:00
|
|
|
tasks:
|
|
|
|
- custom_python_detect_environment:
|
|
|
|
register: out
|
|
|
|
- assert:
|
2018-07-10 16:52:20 +00:00
|
|
|
that: out.mitogen_loaded
|
2021-09-07 21:10:25 +00:00
|
|
|
fail_msg: out={{out}}
|
2018-07-09 14:34:03 +00:00
|
|
|
|
|
|
|
- determine_strategy:
|
|
|
|
- assert:
|
2018-07-10 16:52:20 +00:00
|
|
|
that: strategy == 'ansible.plugins.strategy.mitogen_linear.StrategyModule'
|
2021-09-07 21:10:25 +00:00
|
|
|
fail_msg: strategy={{strategy}}
|
2021-11-02 20:07:28 +00:00
|
|
|
tags:
|
|
|
|
- mitogen_linear
|