Ansible Playbook configuring all JeroenED.be servers https://www.jeroened.be
|
1 month ago | |
---|---|---|
group_vars | 1 month ago | |
host_vars | 9 months ago | |
roles | 5 months ago | |
.gitignore | 2 years ago | |
.gitmodules | 5 months ago | |
LICENSE.md | 1 year ago | |
README.md | 1 year ago | |
ansible.cfg | 2 years ago | |
hosts | 1 year ago | |
playbook.yml | 5 months ago | |
secrets.yml | 1 year ago |
Copyright (c) 2017-2018 Jeroen De Meerleer
This playbook installs and configures the servers related to JeroenED.be.
To perfectly run the the playbook you need to have servers configured as in the playbook.yml. The servers are:
All servers need to have python installed and should be ssh-capable.
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.
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.