This playbook helps you set up and manage your Uberspace(s).
It configures a few common things that I find essential for Uberspaces and it is extensible for other stuff.
- Let's Encrypt SSL certificates
- WordPress using the awesome Bedrock boilerplate
- An Uberspace, get one at uberspace.de
- Ansible
- Copy
uberspaces.exampletouberspacesand add your Uberspace host(s) and username(s) - Copy
host_vars/UBERSPACE_NAME.UBERSPACE_HOST.uberspace.de.exampleto a new file named without the.examplesuffix and replaceUBERSPACE_NAMEwith your username, e.g.juliaandUBERSPACE_HOSTwith your Uberspace host, e.g.eridanus. - Add the domains you'd like to run on the respective Uberspace to the file created in step 2.
- Repeat steps 2 and 3 for all your Uberspaces.
- Run the playbook using
ansible-playbook --ask-pass site.yml. - Enjoy!
If you have an SSH keypair and your public key is installed in ~/.ssh/id_rsa.pub on your local computer, the key will be stored in ~/.ssh/authorized_keys on your Uberspace and you won't need the --ask-pass argument in subsequent runs.
Nothing to do or configure here. This works automagically for all your domains.
- To setup a WordPress instance, simply create an entry under
wordpress_instancesin yourhost_varsfile (seehost_vars/UBERSPACE_NAME.UBERSPACE_HOST.uberspace.de.examplefor an example) - Use the default
bedrock_repofromhttps://github.com/roots/bedrock.gitor use your own forked repo of the boilerplate - Add the domains through which your WordPress should be accessible
- Make sure to add these domains to the top-level
domainssection in thehost_varsfile as well!
MIT.
To contribute something you usually configure on your Uberspace, please fork this repo, create a new role (or add to an existing one if it makes sense) and submit a pull request.
I built this. By myself. On my computer.