mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
clarify --step prompt
now shows full words and indicates default fixes #7433
This commit is contained in:
parent
3d6ec52e83
commit
49bb4803b5
1 changed files with 3 additions and 3 deletions
|
@ -623,10 +623,10 @@ class StrategyBase:
|
|||
def _take_step(self, task, host=None):
|
||||
|
||||
ret=False
|
||||
msg=u'Perform task: %s ' % task
|
||||
if host:
|
||||
msg = u'Perform task: %s on %s (y/n/c): ' % (task, host)
|
||||
else:
|
||||
msg = u'Perform task: %s (y/n/c): ' % task
|
||||
msg += u'on %s ' % host
|
||||
msg += u'(N)o/(y)es/(c)ontinue: '
|
||||
resp = display.prompt(msg)
|
||||
|
||||
if resp.lower() in ['y','yes']:
|
||||
|
|
Loading…
Reference in a new issue