--- - 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" - name: _nightly_neovim prompt: "Do you want neovim nightly?" private: no default: "no" - name: _hakatime_api_key prompt: "What's your hakatime api key? (won't show up at the prompt)" private: yes default: "" tasks: - block: - name: Set dev machine fact set_fact: _dev_machine: "{{ _dev_machine }}" - name: Set rust extras fact set_fact: _rust_extras: "{{ _rust_extras }}" - name: Set nightly neovim fact set_fact: _nightly_neovim: "{{ _nightly_neovim }}" - name: Set Hakatime api key fact set_fact: _hakatime_api_key: "{{ _hakatime_api_key }}"