Skip to content

Instantly share code, notes, and snippets.

@mpolden
Created January 7, 2014 14:54
Show Gist options
  • Save mpolden/8300436 to your computer and use it in GitHub Desktop.
Save mpolden/8300436 to your computer and use it in GitHub Desktop.
Ansible role-specific vars_prompt
- hosts: production
sudo: yes
roles:
- ntp
- postgresql
- nginx
- role: deploy
tags: deploy
vars_prompt:
- name: "version"
prompt: "Which version should be deployed (name of branch or tag)?"
default: "master"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment