mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-03-26 21:33:12 +00:00
machinectl become plugin: mark as require_tty (#6935)
Mark machinectl become plugin as require_tty.
This commit is contained in:
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):
|
||||
|
||||
Reference in New Issue
Block a user