Displaying 2 results from an estimated 2 matches for "connection_plugins".
2015 Mar 13
0
lxc-enter-namespace support in Python API
...at the user file a bug, but that
apparently never happened.
Why am I interested in this? Ansible currently supports a somewhat
limited libvirt_lxc connection driver which uses lxc-enter-namespace
to access LXC containers without SSH
(https://github.com/ansible/ansible/blob/devel/lib/ansible/runner/connection_plugins/libvirt_lxc.py).
That connection driver, written in Python like the rest of Ansible,
currently has to use jump through subprocess hoops with virsh to enter
the namespace, which is slow and doesn't support pipelining. Being
able to use the native Python API would help greatly. In addition, if
it...
2015 Mar 13
0
lxc-enter-namespace support in Python API
...at the user file a bug, but that
apparently never happened.
Why am I interested in this? Ansible currently supports a somewhat
limited libvirt_lxc connection driver which uses lxc-enter-namespace
to access LXC containers without SSH
(https://github.com/ansible/ansible/blob/devel/lib/ansible/runner/connection_plugins/libvirt_lxc.py).
That connection driver, written in Python like the rest of Ansible,
currently has to use jump through subprocess hoops with virsh to enter
the namespace, which is slow and doesn't support pipelining. Being
able to use the native Python API would help greatly. In addition, if
it...