https://github.com/kenfdev/ansible-conditional-prompt-example
An example to show conditional prompting in Ansible
https://github.com/kenfdev/ansible-conditional-prompt-example
Last synced: about 1 month ago
JSON representation
An example to show conditional prompting in Ansible
- Host: GitHub
- URL: https://github.com/kenfdev/ansible-conditional-prompt-example
- Owner: kenfdev
- Created: 2018-03-30T09:07:55.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-30T10:10:28.000Z (almost 8 years ago)
- Last Synced: 2025-10-27T04:52:53.417Z (5 months ago)
- Homepage:
- Size: 1000 Bytes
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ansible Conditional Prompt Example
## How To
1. Customize `sample_inventory` to informations of your hosts
2. If you want to set the password for the `foo` user, be sure to set the crypted password as mentioned [here](http://docs.ansible.com/ansible/latest/reference_appendices/faq.html#how-do-i-generate-crypted-passwords-for-the-user-module)
3. Start the play with a command like the following
```bash
ansible-playbook -i inventory site.yml -e configure_user=true
```