1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix a typo in the prompt code

This is unfortunately related to not being able to reuse the same code that was tested.
This commit is contained in:
Dag Wieers 2012-09-25 11:51:33 +02:00
parent 27d3ac9dc6
commit 6b6e3c64c8

View file

@ -165,7 +165,7 @@ class Play(object):
raise errors.AnsibleError("'vars_prompt' item is missing 'name:'")
vname = var['name']
prompt = util.template(None, "%s: " % var.get("prompt", vname), self.vars)
prompt = utils.template(None, "%s: " % var.get("prompt", vname), self.vars)
private = var.get("private", True)
confirm = var.get("confirm", False)