issue #409: more lxc/lxd stub tests, let tests run on vanilla.
parent
54445470e2
commit
144685a327
@ -1,3 +1,5 @@
|
||||
- import_playbook: kubectl.yml
|
||||
- import_playbook: lxc.yml
|
||||
- import_playbook: lxd.yml
|
||||
- import_playbook: setns_lxc.yml
|
||||
- import_playbook: setns_lxd.yml
|
||||
|
@ -0,0 +1,18 @@
|
||||
|
||||
- name: integration/stub_connections/lxc.yml
|
||||
hosts: test-targets
|
||||
gather_facts: false
|
||||
any_errors_fatal: true
|
||||
tasks:
|
||||
- meta: end_play
|
||||
when: not is_mitogen
|
||||
|
||||
- custom_python_detect_environment:
|
||||
vars:
|
||||
ansible_connection: lxc
|
||||
mitogen_lxc_attach_path: stub-lxc-attach.py
|
||||
register: out
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- out.env.THIS_IS_STUB_LXC_ATTACH == '1'
|
@ -0,0 +1,18 @@
|
||||
|
||||
- name: integration/stub_connections/lxd.yml
|
||||
hosts: test-targets
|
||||
gather_facts: false
|
||||
any_errors_fatal: true
|
||||
tasks:
|
||||
- meta: end_play
|
||||
when: not is_mitogen
|
||||
|
||||
- custom_python_detect_environment:
|
||||
vars:
|
||||
ansible_connection: lxd
|
||||
mitogen_lxc_path: stub-lxc.py
|
||||
register: out
|
||||
|
||||
- assert:
|
||||
that:
|
||||
- out.env.THIS_IS_STUB_LXC == '1'
|
Loading…
Reference in New Issue