Contains ansible playbook to set up VPS
Go to file
Jim Martens ab4438517e Added number of drone processes 2023-07-21 23:53:52 +02:00
roles Added number of drone processes 2023-07-21 23:53:52 +02:00
templates/etc/sudoers.d Allow passwordless sudo for ssh login user 2020-01-04 11:39:24 +01:00
.gitignore Ignored all \*_vars files 2020-01-04 10:02:16 +01:00
.gitmodules Removed bigbluebutton role again 2021-01-04 20:05:56 +01:00
LICENSE Initial commit 2020-01-03 12:26:46 +01:00
README.md Added more usage info to README 2020-01-04 11:51:42 +01:00
collabora.yml Fix syntax errors 2020-01-04 14:49:15 +01:00
collabora_vars.yml.example Unified config and variable use 2020-01-31 19:15:05 +01:00
drone.yml Fix syntax errors 2020-01-04 14:49:15 +01:00
drone_vars.yml.example Added number of drone processes 2023-07-21 23:53:52 +02:00
general_vars.yml.example Extracted general vars into separate file 2020-01-04 10:05:05 +01:00
hosts.example Improved readme and added host variable for python interpreter 2020-01-03 19:07:54 +01:00
initial-setup.yml Removed bigbluebutton role again 2021-01-04 20:05:56 +01:00
initial_vars.yml.example Fixed remaining syntax errors and added example var files 2020-01-03 21:42:10 +01:00
jitsi.yml Added config files for jitsi installation (does not work yet) 2020-03-22 15:36:50 +01:00
jitsi_vars.yml.example Added config files for jitsi installation (does not work yet) 2020-03-22 15:36:50 +01:00
requirements.txt Added docker requirement as per docker_compose module 2020-01-03 22:33:51 +01:00
rt.yml Added RequestTracker (DEV) container 2020-01-31 19:05:34 +01:00
rt_vars.yml.example Fixed typo 2020-02-03 19:58:54 +01:00
site.yml Added RequestTracker (DEV) container 2020-01-31 19:05:34 +01:00

README.md

VPS set up playbooks

Contains ansible playbooks to set up VPS instances.

Requirements

A virtual host installed with Ubuntu Server 18. You will need the root password initially. You should have a password for the new SSH login user ready.

Technical dependencies on host machine (Python 2.7 or 3.5+):

  • python / python3
  • python-pip / python3-pip
  • python-apt / python3-apt

Technical dependencies on managed machines:

  • python / python3

Install further dependencies on the host machine: pip install -r requirements.txt

Usage

After cloning the repo to your ansible host, copy hosts.example to hosts and fill the file appropriately. If you use Python 3 on the managed machine, you probably need to adapt the ansible_python_interpreter variable.

Furthermore, you have to copy the *_vars.yml.example files and update the variable values.

The initial setup assumes an OVH VPS machine (login via root password). If your machine already has a login user with passwordless sudo and a locked root password (Ubuntu default) then you can directly start with the other playbooks.

As of now Ubuntu Server 18 installations are expected.

  • initial setup: ansible-playbook -i hosts initial-setup.yml --ask-pass
  • collabora setup: ansible-playbook -i hosts collabora.yml
  • drone setup: ansible-playbook -i hosts drone.yml
  • collabora + drone setup: ansible-playbook -i hosts site.yml