2018-11-17 21:39:21 +01:00
|
|
|
# XPPL Ansible Automation
|
|
|
|
|
2018-12-15 01:03:27 +01:00
|
|
|
An automated deployment for the XPPL. If you're running these scripts, you'll
|
|
|
|
need SSH access and Sudo permissions on the machines. It is already running
|
|
|
|
deployments for:
|
2018-11-17 21:39:21 +01:00
|
|
|
|
2018-12-15 01:03:27 +01:00
|
|
|
* [books.vvvvvvaria.org](https://books.vvvvvvaria.org/)
|
2018-11-17 21:39:21 +01:00
|
|
|
|
2018-12-15 01:03:27 +01:00
|
|
|
## Prerequisites
|
|
|
|
|
|
|
|
You'll need to install [Ansible](https://docs.ansible.com).
|
2018-11-17 21:39:21 +01:00
|
|
|
|
|
|
|
```bash
|
|
|
|
$ sudo apt install -y ansible
|
|
|
|
```
|
|
|
|
|
2018-12-15 01:03:27 +01:00
|
|
|
## Setup a New XPPL
|
|
|
|
|
|
|
|
```bash
|
2018-12-15 12:39:39 +01:00
|
|
|
$ ansible-playbook --limit varia.zone --ask-become-pass plays/setup.yml
|
2018-12-15 01:03:27 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
## Deploy a New XPPL Version
|
|
|
|
|
|
|
|
```bash
|
2018-12-15 12:39:39 +01:00
|
|
|
$ ansible-playbook --limit varia.zone --ask-become-pass plays/deploy.yml
|
2018-12-15 01:03:27 +01:00
|
|
|
```
|