---
- hosts: local
gather_facts: no
vars_prompt:
- name: 'username'
prompt: 'Username'
private: no
- name: 'userpass'
prompt: 'Password'
private: no
encrypt: "sha512_crypt"
tasks:
- name: username
shell: echo my username is {{username}}
- name: look we crypted a password
shell: echo my password is {{userpass}}
- debug: var=userpass