mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
machinectl become plugin: mark as require_tty (#6935)
Mark machinectl become plugin as require_tty.
This commit is contained in:
parent
1c4e2d51b2
commit
24feb1dd10
2 changed files with 3 additions and 0 deletions
2
changelogs/fragments/6935-machinectl-become.yml
Normal file
2
changelogs/fragments/6935-machinectl-become.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
bugfixes:
|
||||
- "machinectl become plugin - mark plugin as ``require_tty`` to automatically disable pipelining, with which this plugin is not compatible (https://github.com/ansible-collections/community.general/issues/6932, https://github.com/ansible-collections/community.general/pull/6935)."
|
|
@ -102,6 +102,7 @@ class BecomeModule(BecomeBase):
|
|||
prompt = 'Password: '
|
||||
fail = ('==== AUTHENTICATION FAILED ====',)
|
||||
success = ('==== AUTHENTICATION COMPLETE ====',)
|
||||
require_tty = True # see https://github.com/ansible-collections/community.general/issues/6932
|
||||
|
||||
@staticmethod
|
||||
def remove_ansi_codes(line):
|
||||
|
|
Loading…
Reference in a new issue