Commit d1d46134 authored by Rafael Monnerat's avatar Rafael Monnerat

playbook: Create roles for questions

  This will improve the quality of the questions and
  reduce code duplication arround playbooks creation
parent f0fc0756
---
- name: "Your Computer Name"
pause: prompt="Please input the computer name please..."
register: computer_name_input
- set_fact: computer_name={{ computer_name_input.user_input }}
when: computer_name_input.user_input
---
- name: "Your Re6stnet Token"
pause: prompt="Input your re6stnet token..."
register: re6sttoken_input
- set_fact: re6sttoken={{ re6sttoken_input.user_input }}
when: re6sttoken_input.user_input
---
- name: "Your SlapOS token"
pause: prompt="Please slapostoken name please..."
register: slapostoken_input
- set_fact: slapostoken={{ slapostoken_input.user_input }}
when: slapostoken_input.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