Support for running commands in different namespaces remotely

42 views
Skip to first unread message

Bjørnar Ness

unread,
Mar 26, 2015, 9:44:51 AM3/26/15
to ansible...@googlegroups.com
Is any work beeing done on enabling running a task in a remote namespace (setns)?

Reason I am asking is I have a network oob namespace sshd is running in, and for
some of the ansible tasks I would like beeing able to specify for example:
- namespace: netns=default

..which should cause all commands of this task to be run in a shell created by:

ip netns exec default sh

eventually

ip netns exec default {{ original_command }}
Reply all
Reply to author
Forward
0 new messages