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
6 years ago
|
|
||
|
# issue #294: ensure running mixed vanilla/Mitogen succeeds.
|
||
|
|
||
6 years ago
|
- name: integration/strategy/_mixed_mitogen_vanilla.yml (mitogen_linear)
|
||
6 years ago
|
hosts: test-targets
|
||
|
any_errors_fatal: true
|
||
6 years ago
|
strategy: mitogen_linear
|
||
6 years ago
|
tasks:
|
||
|
- custom_python_detect_environment:
|
||
|
register: out
|
||
|
- assert:
|
||
6 years ago
|
that: out.mitogen_loaded
|
||
6 years ago
|
|
||
|
- determine_strategy:
|
||
|
- assert:
|
||
6 years ago
|
that: strategy == 'ansible.plugins.strategy.mitogen_linear.StrategyModule'
|
||
6 years ago
|
|
||
6 years ago
|
- name: integration/strategy/_mixed_mitogen_vanilla.yml (linear)
|
||
6 years ago
|
hosts: test-targets
|
||
|
any_errors_fatal: true
|
||
6 years ago
|
strategy: linear
|
||
6 years ago
|
tasks:
|
||
|
- custom_python_detect_environment:
|
||
|
register: out
|
||
|
- assert:
|
||
6 years ago
|
that: not out.mitogen_loaded
|
||
6 years ago
|
|
||
|
- determine_strategy:
|
||
|
- assert:
|
||
6 years ago
|
that: strategy == 'ansible.plugins.strategy.linear.StrategyModule'
|
||
6 years ago
|
|
||
|
|
||
6 years ago
|
- name: integration/strategy/_mixed_mitogen_vanilla.yml (mitogen_linear)
|
||
6 years ago
|
hosts: test-targets
|
||
|
any_errors_fatal: true
|
||
6 years ago
|
strategy: mitogen_linear
|
||
6 years ago
|
tasks:
|
||
|
- custom_python_detect_environment:
|
||
|
register: out
|
||
|
- assert:
|
||
6 years ago
|
that: out.mitogen_loaded
|
||
6 years ago
|
|
||
|
- determine_strategy:
|
||
|
- assert:
|
||
6 years ago
|
that: strategy == 'ansible.plugins.strategy.mitogen_linear.StrategyModule'
|