orrsella / mah-server

Ansible playbooks for deploying my server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mah-server

Mah' (my) server. Ansible playbooks for deploying orrsella.com, among other stuff.

Replace all TODO placeholders with real values.

Requirements

Setup New Server

  • Move DNS A records over to new IP address so Let's Encrypt can authenticate the domain.
  • Add new server (ubuntu 16.04 expected) to inventories/production/inventory and run:
$ ansible-playbook -i inventories/production/inventory new-server.yml

Deploy

$ ansible-playbook -i inventories/production/inventory site.yml

You can also deploy a subset of the playbooks by using tags:

$ ansible-playbook -i inventories/production/inventory site.yml --tags=jekyll,nginx

Test

Provision with Vagrant:

$ vagrant up

or manually:

$ ansible-playbook -i inventories/vagrant/inventory site.yml

About

Ansible playbooks for deploying my server


Languages

Language:HTML 100.0%