To clarify, the full block is:

/my_playbook.yml
- hosts: webapps
  vars_prompt:
    - name: "release_branch"
      prompt: "Deploy Branch:"
      default: master
      when: not release_branch

Ansible will skip this block if release_branch is passed in --extra-args. 
 Thinking it through, maybe it's worth just having it passed in on the 
command line if it needs to be set and falling back to the inventory as a 
default.  Thanks for the help.

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/23384b60-905c-45bb-9741-314598965d16%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to