dotfiles/playbooks/input.yml
2019-07-30 21:26:50 -04:00

21 lines
528 B
YAML

---
- name: Ask user for the input
hosts: localhost
tags: always
vars_prompt:
- name: _dev_machine
prompt: "Is this a developer's machine?"
private: no
default: "yes"
- name: _rust_extras
prompt: "Do you want to install rust extras?"
private: no
default: "no"
tasks:
- block:
- name: Set dev machine fact
set_fact:
_dev_machine: "{{ _dev_machine }}"
- name: Set rust extras fact
set_fact:
_rust_extras: "{{ _rust_extras }}"