ansible-training-test/playbooks/test_prompt.yml
2018-07-27 10:01:50 +02:00

12 lines
199 B
YAML

- 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 }}"