Home > Ansible > User input in Ansible

User input in Ansible

To retrieve user input in ansible, you can use vars_prompt but all questions will be asked at the beginning at the playbook.

So there is no way to ask for user input at a task level.

 

SOURCE: Ansible to Conditionally Prompt for a Variable?

Categories: Ansible Tags: , multiple
  1. No comments yet.
  1. No trackbacks yet.