ansible-labs/100.Prompt/solution/solution.yml

10 lines
248 B
YAML

- hosts: localhost
gather_facts: false
vars_prompt:
- name: prompted_value
prompt: Enter a value
tasks:
- name: Print the prompted value
debug:
msg: "The value is: {{ prompted_value }}"
# vim: set ft=yaml sw=2 et: