enable su support for docker connection
This commit is contained in:
parent
7363776174
commit
5668c97850
1 changed files with 1 additions and 4 deletions
|
@ -51,10 +51,7 @@ class Connection(ConnectionBase):
|
||||||
|
|
||||||
transport = 'docker'
|
transport = 'docker'
|
||||||
has_pipelining = True
|
has_pipelining = True
|
||||||
# su currently has an undiagnosed issue with calculating the file
|
become_methods = frozenset(C.BECOME_METHODS)
|
||||||
# checksums (so copy, for instance, doesn't work right)
|
|
||||||
# Have to look into that before re-enabling this
|
|
||||||
become_methods = frozenset(C.BECOME_METHODS).difference(('su',))
|
|
||||||
|
|
||||||
def __init__(self, play_context, new_stdin, *args, **kwargs):
|
def __init__(self, play_context, new_stdin, *args, **kwargs):
|
||||||
super(Connection, self).__init__(play_context, new_stdin, *args, **kwargs)
|
super(Connection, self).__init__(play_context, new_stdin, *args, **kwargs)
|
||||||
|
|
Loading…
Reference in a new issue