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.
29 lines
738 B
YAML
29 lines
738 B
YAML
6 years ago
|
# Verify one OSA-style container has the correct config.
|
||
|
|
||
|
- name: integration/delegation/container_standalone.yml
|
||
|
hosts: dtc-container-1
|
||
|
gather_facts: false
|
||
|
tasks:
|
||
|
- meta: end_play
|
||
|
when: not is_mitogen
|
||
|
|
||
|
- mitogen_get_stack:
|
||
|
register: out
|
||
|
|
||
|
- assert:
|
||
|
that: |
|
||
|
out.result == [
|
||
|
{
|
||
|
'kwargs': {
|
||
|
'container': 'dtc-container-1',
|
||
|
'docker_path': None,
|
||
|
'kind': 'lxc',
|
||
|
'lxc_info_path': None,
|
||
|
'machinectl_path': None,
|
||
|
'python_path': ['/usr/bin/python'],
|
||
|
'username': None,
|
||
|
},
|
||
|
'method': 'setns',
|
||
|
},
|
||
|
]
|