Tag: var_prompt

Create a menu with options using var_prompt in Ansible

Create a menu with options using var_prompt in Ansible

While creating a provisioning task, I found it difficult to create a “menu-like” structure in Ansible, where you can easily select from a number of options. Various people online recommended janky hacks which involve wrappers in bash. I wanted an Ansible-native solution. This might also fall in the category of “janky”, but I like it …

+ Read More