diff options
author | Rodney Quillo <imcocoy@gmail.com> | 2013-01-18 19:00:57 +0800 |
---|---|---|
committer | Rodney Quillo <imcocoy@gmail.com> | 2013-01-18 19:00:57 +0800 |
commit | 7ae100611c2b62dfb3c6a0993c8130be83d100f1 (patch) | |
tree | 706c7564e66deb1a2197fcb72ef3b41776421599 /examples | |
parent | f86974fdae2f64969a93d5f4230d71527aa82435 (diff) | |
download | ansible-7ae100611c2b62dfb3c6a0993c8130be83d100f1.tar.gz |
Adding default on vars_prompt
Diffstat (limited to 'examples')
-rw-r--r-- | examples/playbooks/prompts.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/playbooks/prompts.yml b/examples/playbooks/prompts.yml index 6b02007249..564061ae12 100644 --- a/examples/playbooks/prompts.yml +++ b/examples/playbooks/prompts.yml @@ -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 |