You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.2 KiB
YAML
46 lines
1.2 KiB
YAML
|
|
# issue #294: ensure running mixed vanilla/Mitogen succeeds.
|
|
|
|
- name: integration/strategy/_mixed_mitogen_vanilla.yml (mitogen_linear)
|
|
hosts: test-targets
|
|
any_errors_fatal: true
|
|
strategy: mitogen_linear
|
|
tasks:
|
|
- custom_python_detect_environment:
|
|
register: out
|
|
- assert:
|
|
that: out.mitogen_loaded
|
|
|
|
- determine_strategy:
|
|
- assert:
|
|
that: strategy == 'ansible.plugins.strategy.mitogen_linear.StrategyModule'
|
|
|
|
- name: integration/strategy/_mixed_mitogen_vanilla.yml (linear)
|
|
hosts: test-targets
|
|
any_errors_fatal: true
|
|
strategy: linear
|
|
tasks:
|
|
- custom_python_detect_environment:
|
|
register: out
|
|
- assert:
|
|
that: not out.mitogen_loaded
|
|
|
|
- determine_strategy:
|
|
- assert:
|
|
that: strategy == 'ansible.plugins.strategy.linear.StrategyModule'
|
|
|
|
|
|
- name: integration/strategy/_mixed_mitogen_vanilla.yml (mitogen_linear)
|
|
hosts: test-targets
|
|
any_errors_fatal: true
|
|
strategy: mitogen_linear
|
|
tasks:
|
|
- custom_python_detect_environment:
|
|
register: out
|
|
- assert:
|
|
that: out.mitogen_loaded
|
|
|
|
- determine_strategy:
|
|
- assert:
|
|
that: strategy == 'ansible.plugins.strategy.mitogen_linear.StrategyModule'
|