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

playbook: Standardize setting user input

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