Commit 1c600de6 authored by Levin Zimmermann's avatar Levin Zimmermann

playbook: Standardize setting user input

parent 9325f9f3
...@@ -7,9 +7,12 @@ ...@@ -7,9 +7,12 @@
connection: local connection: local
pre_tasks: pre_tasks:
- name: Set Computer reference
block:
- pause: - pause:
prompt: "What is the reference of your computer (COMP-XXXX)?" prompt: "What is the reference of your computer (COMP-XXXX)?"
register: prompt register: prompt
- set_fact: - set_fact:
computer_id: "{{ prompt.user_input }}" computer_id: "{{ prompt.user_input }}"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment