An easy Ansible boilerplate to manage your VPS/Server set up through Ansible roles.
-
Set up a test VM
vagrant up
-
Destroy your VM
vagrant destroy
All docs about Vagrant could be found on the doc : https://www.vagrantup.com/docs/cli
Examples :
-
Execute entire production script to the production environnement
ansible-playbook projects/test/3_production.yml -i ./inventories/prod.yaml
-
Execute only the
cronjobs
steps of the install script in the dev environnementansible-playbook projects/test/2_install.yml -i ./inventories/test.yaml --tags="cronjobs"
Only from geerlingguy