mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
clarify --step prompt
now shows full words and indicates default fixes #7433
This commit is contained in:
@@ -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']:
|
||||
|
||||
Reference in New Issue
Block a user