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

playbook: Standardize setting user input

parent 9325f9f3
...@@ -7,11 +7,14 @@ ...@@ -7,11 +7,14 @@
connection: local connection: local
pre_tasks: pre_tasks:
- pause: - name: Set Computer reference
prompt: "What is the reference of your computer (COMP-XXXX)?" block:
register: prompt - pause:
- set_fact: prompt: "What is the reference of your computer (COMP-XXXX)?"
computer_id: "{{ prompt.user_input }}" register: prompt
- set_fact:
computer_id: "{{ prompt.user_input }}"
tasks: tasks:
- name: Check if client configuration exists already - name: Check if client configuration exists already
......
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