Add makefile, inventory, and site files

This commit is contained in:
Erik Stambaugh 2022-11-07 18:28:53 -08:00
parent 8c1388d32a
commit 9c6ad29726
3 changed files with 26 additions and 0 deletions

12
Makefile Normal file
View file

@ -0,0 +1,12 @@
# I can't remember ansible commands. Sue me
SHELL := /bin/bash
default: production # XXX for now. calm down.
production:
ansible-playbook -i inventory.yaml -l teh.entar.net site.yaml
ssh:
ssh teh.entar.net

7
inventory.yaml Normal file
View file

@ -0,0 +1,7 @@
all:
hosts:
teh.entar.net:
ansible_host: teh.entar.net

7
site.yaml Normal file
View file

@ -0,0 +1,7 @@
---
- name: teh.entar.net
hosts: teh.entar.net
roles:
- { role: mastodon, become: yes }