mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-22 00:31:14 +00:00
Update sesu.py: use defined prompt (#227)
* Update sesu.py: use defined prompt * add changelog Co-authored-by: Alexandros Zachos <alexandros.zachos@cz.ibm.com>
This commit is contained in:
2
changelogs/fragments/227-sesu-use-defined-prompt.yaml
Normal file
2
changelogs/fragments/227-sesu-use-defined-prompt.yaml
Normal file
@@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- sesu - make use of the prompt specified in the code
|
||||
@@ -75,7 +75,7 @@ class BecomeModule(BecomeBase):
|
||||
|
||||
name = 'community.general.sesu'
|
||||
|
||||
_prompt = 'Please enter your password:'
|
||||
prompt = 'Please enter your password:'
|
||||
fail = missing = ('Sorry, try again with sesu.',)
|
||||
|
||||
def build_become_command(self, cmd, shell):
|
||||
|
||||
Reference in New Issue
Block a user