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
- Host: GitHub
- URL: https://github.com/kvaps/ansible-nsenter
- Owner: kvaps
- License: gpl-3.0
- Created: 2020-01-16T23:44:26.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-17T00:40:57.000Z (over 6 years ago)
- Last Synced: 2025-06-06T16:08:14.332Z (about 1 year ago)
- Topics: ansible, nsenter, plugin
- Language: Python
- Homepage:
- Size: 16.6 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
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