A complete ansible infrastructure for my personal server. Hosts a variety of FOSS applications through docker deployments within individual ansible roles.
Find a file
Marty Oehme f4864c5da3
Fix caddy container info delay
Give more time to docker to correctly bring up caddy in the swarm.
Extended delay to retry to 10 seconds and gave it more retries as well,
so that roughly a minute will be gone before the play gives up.
2021-10-20 17:33:35 +02:00
group_vars Rename domain group variable to server_domain 2021-10-08 10:03:27 +02:00
host_vars Add testing inventory and group variables 2021-07-29 15:11:28 +02:00
roles Fix caddy container info delay 2021-10-20 17:33:35 +02:00
.gitignore Add development playbook to gitignore 2021-07-29 16:00:46 +02:00
ansible.cfg Add testing inventory and group variables 2021-07-29 15:11:28 +02:00
README.md Add testing inventory and group variables 2021-07-29 15:11:28 +02:00
site.yml Make sure curl is installed for the hacky reverse proxy 2021-07-30 00:46:06 +02:00
staging.yml Add testing inventory and group variables 2021-07-29 15:11:28 +02:00
Vagrantfile Fix docker python module installation for sudo 2021-07-27 12:54:32 +02:00

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 on your system and to make tests repeatable also install the vagrant plugins vagrant-hosts and vagrant-hostsupdater.

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.