In my previous Ansible-related posts, both playbooks showed that the user would have to provide variable names and their respective values using the -e or -extra-vars command option. While that works, the user would have to memorize the variable names. If the playbook requires calling multiple roles with variable names, then memorizing all those variable names can be a nightmare. To make it easier for the users, we can leverage vars_prompt. Today, we are exploring how to accept user input in …
[Read more...] about Ansible: Accepting user input variables




