Files
Ansible/Playbook/PB-Prompt.yml
T
2026-10-18 16:41:04 +02:00

17 lines
263 B
YAML

---
- hosts: localhost
vars_prompt:
- name: username
prompt: "What is your username?"
private: no
- name: password
prompt: "What is your password?"
tasks:
- ansible.builtin.debug:
msg: 'Logging in as {{ username }}'