Ansible Playbook configuring all JeroenED.be servers https://www.jeroened.be

Jeroen De Meerleer 5767a76d8e Merge branch 'packages/friendica/2018.12-rc' 6 days ago
group_vars 62bef7631e updated friendica to 2018.12-rc 6 days ago
host_vars 2a8e8296f2 fixed some typos 2 months ago
roles 7b77e2f698 updated roles 6 days ago
.gitignore 4dec609961 Gogs restore working 1 year ago
.gitmodules f0ec2de047 Updated logrotate to https role instead of ssh 2 months ago
LICENSE.md e169a36c88 Updated readme to match current situation 4 months ago
README.md e169a36c88 Updated readme to match current situation 4 months ago
ansible.cfg bf8e34320f Changed deprecated hostsfile to inventory 1 year ago
hosts c3e30d256d Updated to new hostnames 5 months ago
playbook.yml c3e30d256d Updated to new hostnames 5 months ago
secrets.yml ff90969c84 Updated private keys 7 months ago

README.md

Ansible playbook JeroenED.be

Copyright (c) 2017-2018 Jeroen De Meerleer

This playbook installs and configures the servers related to JeroenED.be.

Prerequisities

To perfectly run the the playbook you need to have servers configured as in the playbook.yml. The servers are:

  • virgin-mojito.jeroened.be (webserver)

All servers need to have python installed and should be ssh-capable.

How to use

First, Clone the repository with all submodules.

git clone https://git.jeroened.be/JeroenED/Ansible-Playbook-JeroenED.be --recurse

Now you can run the playbook with following command.

ansible-playbook playbook.yml -e @secrets.yml

If you also want to restore a backup, add an extra variable "restore=true"

ansible-playbook playbook.yml -e @secrets.yml -e "restore=true"

For more info on how to make the backup see the readme on the jeroened.restore role.

Disclaimer

This playbook is made available because of being open to the people and for educational purposes. You can use this playbook as a reference to your own playbook and even use the code in it.