mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-31 05:19:09 -07: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
|
@ -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…
Add table
Add a link
Reference in a new issue