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.
26 lines
583 B
YAML
26 lines
583 B
YAML
|
|
- name: integration/stub_connections/kubectl.yml
|
|
hosts: test-targets
|
|
gather_facts: false
|
|
tasks:
|
|
- meta: end_play
|
|
when: not is_mitogen
|
|
|
|
- meta: end_play
|
|
when:
|
|
- ansible_version.full is version('2.5', '<', strict=True)
|
|
|
|
- custom_python_detect_environment:
|
|
vars:
|
|
ansible_connection: kubectl
|
|
ansible_python_interpreter: python # avoid Travis virtualenv breakage
|
|
mitogen_kubectl_path: stub-kubectl.py
|
|
register: out
|
|
|
|
- assert:
|
|
that:
|
|
- out.env.THIS_IS_STUB_KUBECTL == '1'
|
|
fail_msg: out={{out}}
|
|
tags:
|
|
- kubectl
|