An open API service indexing awesome lists of open source software.

https://github.com/kvaps/ansible-nsenter

Ansible connection plugin for configuring process namespaces with nsenter
https://github.com/kvaps/ansible-nsenter

ansible nsenter plugin

Last synced: about 2 months ago
JSON representation

Ansible connection plugin for configuring process namespaces with nsenter

Awesome Lists containing this project

README

          

.. _nsenter_module:

Ansible nsenter plugin
+++++++++++++++++++++++++++++++++++++++++++++++++++++

Run tasks in process namespace via nsenter

.. contents::
:local:
:depth: 1

Synopsis
--------
- Run commands or put/fetch files to an existing process namespace using nsenter on the Ansible controller.

Parameters
----------

.. raw:: html



Parameter
Choices/Defaults
Comments



executable


-



Default:


"/bin/sh"



User specified executable shell





nsenter_gid

integer





Set the group ID which will be used in the entered namespace and drop supplementary groups.

If no group ID is supplied, Ansible will let the nsenter binary choose the group ID as it normally





nsenter_ipc

boolean



Default:


"yes"



Enter the IPC namespace.





nsenter_mount

boolean



Default:


"yes"



Enter the mount namespace.





nsenter_net

boolean



Default:


"yes"



Enter the network namespace.





nsenter_pid

boolean



Default:


"yes"



Enter the PID namespace.





nsenter_uid

integer





Set the user ID which will be used in the entered namespace.

If no user ID is supplied, Ansible will let the nsenter binary choose the user ID as it normally





nsenter_user

boolean



Default:


"no"



Enter the user namespace.





nsenter_utc

boolean



Default:


"yes"



Enter the UTC namespace.





remote_addr

integer



Default:


1



Target process id which namespaces you want to access



Status
------

- This module is not guaranteed to have a backwards compatible interface.

- This module is maintained by kvaps

- This module is awaiting include to Ansible code base
(https://github.com/ansible/ansible/pull/66551)

Authors
~~~~~~~

- kvaps