Added fully test-ready inventory and groups using vagrant and able to run repeatedly as necessary.
16 lines
788 B
Markdown
16 lines
788 B
Markdown
# Cloudserve infrastructure
|
|
|
|
## Testing
|
|
|
|
This repository comes with a test-ready setup to try out the complete site setup locally.
|
|
It uses vagrant to accomplish this and create a pretend target host.
|
|
So, install [vagrant](https://www.vagrantup.com/) on your system and to make tests repeatable also install the vagrant plugins `vagrant-hosts` and `vagrant-hostsupdater`.
|
|
|
|
```bash
|
|
vagrant plugin install vagrant-hosts vagrant-hostsupdater
|
|
```
|
|
|
|
Then you are ready to run the complete infrastructure setup locally,
|
|
simply by executing `ansible-playbook site.yml`.
|
|
You can of course pick and choose what should be executed with host limits, tags, group variables, and so on,
|
|
but this should provide an easy way to see if a) the playbook is working as intended and b) what it does is useful.
|