ansible-training-test/playbooks/test_prompt.yml

13 lines
199 B
YAML
Raw Normal View History

2018-07-27 10:01:50 +02:00
- hosts: alpine
gather_facts: false
vars_prompt:
- name: foo
prompt: Give me your foo
private: yes
confirm: yes
tasks:
- name: print foo
debug:
msg: "foo: {{ foo }}"