Adding default on vars_prompt

This commit is contained in:
Rodney Quillo
2013-01-18 19:00:57 +08:00
parent f86974fdae
commit 7ae100611c
6 changed files with 22 additions and 8 deletions

View File

@@ -29,8 +29,10 @@
- name: "some_password"
prompt: "Enter password"
private: yes
- name: "release_version"
prompt: "Product release version"
default: "my_default_version"
private: no
- name: "my_password2"
@@ -48,7 +50,7 @@
tasks:
- name: imagine this did something interesting with $release_version
action: shell echo foo >> /tmp/$release_version-$alpha
action: shell echo foo >> /tmp/$release_version-alpha
- name: look we crypted a password
action: shell echo my password is $my_password2