mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02: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:
parent
694546d784
commit
7c6d22efba
2 changed files with 3 additions and 1 deletions
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):
|
||||
|
|
Loading…
Reference in a new issue