Add makefile, inventory, and site files
This commit is contained in:
parent
8c1388d32a
commit
9c6ad29726
3 changed files with 26 additions and 0 deletions
12
Makefile
Normal file
12
Makefile
Normal 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
7
inventory.yaml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
|
||||||
|
all:
|
||||||
|
hosts:
|
||||||
|
|
||||||
|
teh.entar.net:
|
||||||
|
ansible_host: teh.entar.net
|
||||||
|
|
7
site.yaml
Normal file
7
site.yaml
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
|
||||||
|
- name: teh.entar.net
|
||||||
|
hosts: teh.entar.net
|
||||||
|
roles:
|
||||||
|
- { role: mastodon, become: yes }
|
||||||
|
|
Loading…
Reference in a new issue