- Software Installed
- VirtualBox installed
- Vagrant
- Copy
- Ping
- Command
- Package
- yum, apt
- lineinfile
- Fetch
- Url
- zip
- user
- Git
- Roles
- Collection
- post_tasks
- pre_tasks
- handlers
- Assert
- Module
- Rescue
- Register
- Ignore Errors
python -m venv ./venv
source ./venv/bin/activate
pip install ansible
vagrant global-status --prune
vagrant up
sh ./up.sh
vagrant destroy {id}
sh ./destory.sh
vagrant box list
ansible app -i ./inventory -a "whoami"
ansible app -i ./inventory -m ping
ansible app -i ./inventory -m setup
ssh -o StrictHostKeyChecking=no vagrant@192.168.33.10 -i ${key}
ansible-playbook ./examples/Playbook1/simple.play.yml -i inventory -v
ansible-playbook ./examples/Playbook1/simple.play.yml -i inventory --syntax-check
ansible-vault encrypt <file-path>
ansible-galaxy collection init local.colors
ansible-playbook ./examples/Playbook2/01.play.yml -i inventory --syntax-check
ansible-playbook ./examples/Playbook3/01.play.yml -i inventory --syntax-check
https://www.youtube.com/watch?v=fwrpM7Svfwk https://www.youtube.com/watch?v=DAnMyBZ8-Qs https://www.youtube.com/watch?v=tcP_gxOo7mk