Mah' (my) server. Ansible playbooks for deploying orrsella.com, among other stuff.
Replace all TODO
placeholders with real values.
- Ansible
- Jekyll 2.2+ –
$ gem install jekyll
- orrsella.com – Jekyll repo cloned at the same directory level
- Vagrant-cachier plugin –
$ vagrant plugin install vagrant-cachier
(optional but recommended)
- 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
$ 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
Provision with Vagrant:
$ vagrant up
or manually:
$ ansible-playbook -i inventories/vagrant/inventory site.yml