Skip to content

Ansible connection plugin for configuring process namespaces with nsenter

License

Notifications You must be signed in to change notification settings

wedos/ansible-nsenter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ansible nsenter plugin

Run tasks in process namespace via nsenter

  • Run commands or put/fetch files to an existing process namespace using nsenter on the Ansible controller.
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
  • This module is not guaranteed to have a backwards compatible interface.
  • This module is maintained by kvaps <kvapss@gmail.com>
  • This module is awaiting include to Ansible code base (ansible/ansible#66551)

Authors

About

Ansible connection plugin for configuring process namespaces with nsenter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published