Add testing inventory and group variables
Added fully test-ready inventory and groups using vagrant and able to run repeatedly as necessary.
This commit is contained in:
parent
9f188c2674
commit
6de8f0fb50
7 changed files with 46 additions and 1 deletions
16
README.md
Normal file
16
README.md
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# 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.
|
||||
Loading…
Add table
Add a link
Reference in a new issue