Ansible Interactive Input Prompts
vars_prompt
---
- hosts: all
vars_prompt:
- name: username
prompt: What is your username?
private: no
- name: password
prompt: What is your password?
tasks:
- name: Print a message
debug:
msg: 'Logging in as {{ username }}'
Related
- Ansible Vault Basics
- Configure Windows to be Managed via Ansible
- /etc/ssh/sshd_config Essentials
- Specify an SSH key for git push for a given Domain
- How to Enable SSH on Ubuntu
- Working With SSH Keys
- SSH Tunneling Essentials
- IP Tables Essentials
- Create Basic Self Hosted Remote Git Repo
- Linux Users
- Linux Groups
- ~/.ssh/config Essentials
- Working With SSH Keys
- Run Ansible through a remote server to other servers
Links
- https://docs.ansible.com/ansible/latest/user_guide/playbooks_prompts.html