- None Really. Didn't need to! It came with the installation of ansible! And if somebody needs to see how to install ansible, then, that person really oughta think about changing their line of work :P
Suppose it is the modern wizarding world, and instead of a war with wands, Harry and Voldermot are fighting through the modern weapon, Internet. Harry has N numbers of computers ready to try the distributed denial of service attack on Voldermot's servers Harry for some scenario, He has to include some API's secret keys. He obviously doesn't wanna share the key with others for obvious reasons, so, in order to keep them un-exposed, Harry could use Ansible Vault! The perfect solution to his problems! Although, for sending messages, a corporeal patronus would still be prefered :P
- Which would ask the user to enter a password. ansible-vault encrypt create_user.yml
- In order to run the encrypted playbook.. ansible-playbook create_user.yml --ask-vault-pass
In order to run the given playbook, just type
ansible-playbook create_user.yml --ask-vault-pass
and Enter the password as: Cringy@Password and VOILAAA