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
Arecords over to new IP address so Let's Encrypt can authenticate the domain. - Add new server (ubuntu 16.04 expected) to
inventories/production/inventoryand run:
$ ansible-playbook -i inventories/production/inventory new-server.yml$ ansible-playbook -i inventories/production/inventory site.ymlYou can also deploy a subset of the playbooks by using tags:
$ ansible-playbook -i inventories/production/inventory site.yml --tags=jekyll,nginxProvision with Vagrant:
$ vagrant upor manually:
$ ansible-playbook -i inventories/vagrant/inventory site.yml