LOC-18: Ansible playbook



Issue Information

Issue Type: Task
 
Priority: Major
Status: Closed

Reported By:
Ben Tasker
Assigned To:
Ben Tasker
Project: LocalChat (LOC)
Resolution: Done (2020-12-14 16:54:32)
Target version: V0.0.3,
Labels: Deployment,

Created: 2018-05-14 09:19:00
Time Spent Working


Description
The intention for LocalChat is that it should be (relatively) easy to spin up a random VM instance (on AWS, or Digital Ocean or wherever), deploy LocalChat, have a natter, and then terminate the instance.

To achieve that end, having a playbook to automate installation would likely be quite valuable. Not only does it speed up the deployment (vs manual) but it should reduce the number of mistakes that might be made whilst setting up.

Depending on the ease of adding them, it may be worth considering the following optional features too

- Also deploy Tor and configure a Hidden Service for user's to SSH in via (not on port 22!)
- Self-destruct (i.e. remove) the LocalChat installation after a given time


Issue Links

Toggle State Changes

Activity



Repo: LocalChat
Commit: fcca1dd9edb3707cfd3118b913789e5a3dcfd883
Author: Ben Tasker <btasker@<Domain Hidden>>

Date: Fri Jun 29 07:55:30 2018 +0100
Commit Message: LOC-18 Ansible playbook build

Very early stages of the playbook, all we currently do for the server role is install deps and create a unit file



Added (+)
-------
ansible/group_vars/localchat-servers.yml
ansible/inventory/hosts
ansible/locaLchat.service
ansible/localchat-servers.yml
ansible/roles/localchat-server/defaults/main.yml
ansible/roles/localchat-server/handlers/main.yml
ansible/roles/localchat-server/tasks/main.yml
ansible/roles/localchat-server/templates/localchat.service
ansible/site.yml




Webhook User-Agent

GitHub-Hookshot/22e0d92


View Commit


Repo: LocalChat
Commit: 30a66c0adacfe4c7804ba52b3ff040201cbd7112
Author: Ben Tasker <btasker@<Domain Hidden>>

Date: Fri Jun 29 10:23:34 2018 +0100
Commit Message: LOC-18 Deploy server with ansible

It could do with some tidying and some conditionals, but it's now possible to deploy the server with the ansible playbook.



Added (+)
-------
ansible/README.md
ansible/localchat-servers.retry


Modified (-)(+)
-------
ansible/group_vars/localchat-servers.yml
ansible/roles/localchat-server/defaults/main.yml
ansible/roles/localchat-server/handlers/main.yml
ansible/roles/localchat-server/tasks/main.yml




Webhook User-Agent

GitHub-Hookshot/22e0d92


View Commit

btasker changed status from 'Open' to 'Resolved'
btasker added 'Done' to resolution
btasker changed status from 'Resolved' to 'Closed'