This is repository to use and test ansible provisioning
- Install ansible, at least version 2.0
- Install vagrant
- Check out this repository
- Run
vagrant up --provision
(and thenvagrant destroy
) once to ensure that everything is fetched properly
You can provision a virtual machine (VM) using vagrant just by running
vagrant up --provision
Shutting down the VM again:
vagrant halt
You can also provision external systems just like the VM is provisioned by running the provisioning file for a dedicated inventory:
ansible-playbook -i ansible/<inventory> ansible/provision.yml