diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..8babc77 --- /dev/null +++ b/Makefile @@ -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 + diff --git a/inventory.yaml b/inventory.yaml new file mode 100644 index 0000000..a6e0f0b --- /dev/null +++ b/inventory.yaml @@ -0,0 +1,7 @@ + +all: + hosts: + + teh.entar.net: + ansible_host: teh.entar.net + diff --git a/site.yaml b/site.yaml new file mode 100644 index 0000000..8ac19c7 --- /dev/null +++ b/site.yaml @@ -0,0 +1,7 @@ +--- + +- name: teh.entar.net + hosts: teh.entar.net + roles: + - { role: mastodon, become: yes } +