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.
mitogen/tests/ansible/integration/connection_delegation/osa_delegate_to_self.yml

36 lines
863 B
YAML

# OSA: Verify delegating the connection back to the container succeeds.
- name: integration/connection_delegation/osa_delegate_to_self.yml
hosts: osa-container-1
vars:
target: osa-container-1
gather_facts: false
tasks:
- include_tasks: ../_mitogen_only.yml
- mitogen_get_stack:
delegate_to: "{{target}}"
register: out
- assert_equal:
left: out.result
right: [
{
'kwargs': {
'container': 'osa-container-1',
'docker_path': null,
'kind': 'lxc',
'lxc_info_path': null,
'lxc_path': null,
'machinectl_path': null,
'python_path': ["/usr/bin/python"],
'username': 'ansible-cfg-remote-user',
},
'method': 'setns',
},
]
tags:
- mitogen_only
- osa
- osa_delegate_to_self