diff --git a/linuxinstaller/AnsibleActions.py b/linuxinstaller/AnsibleActions.py index ffd843a..6042864 100644 --- a/linuxinstaller/AnsibleActions.py +++ b/linuxinstaller/AnsibleActions.py @@ -8,7 +8,7 @@ def runAnsiblePlaybook(config, key): if 'questions' in config['ansible_playbooks'][key]: for question in config['ansible_playbooks'][key]['questions']: var_name = question.pop('var_name') - extra_vars[var_name] = prompt(question) + extra_vars[var_name] = prompt(question)[0] if 'extra_vars' in config['ansible_playbooks'][key]: extra_vars = extra_vars | config['ansible_playbooks'][key]['extra_vars']