diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5ceb386 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +venv diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..4aa29e9 --- /dev/null +++ b/Makefile @@ -0,0 +1,4 @@ +deploy: + venv/bin/ansible-playbook -i hosts.yml playbook.yml -K + +.PHONY: deploy diff --git a/hosts.yml b/hosts.yml new file mode 100644 index 0000000..d2d92a0 --- /dev/null +++ b/hosts.yml @@ -0,0 +1,3 @@ +all: + hosts: + allison: diff --git a/playbook.yml b/playbook.yml index fb40913..d3a2776 100644 --- a/playbook.yml +++ b/playbook.yml @@ -1,11 +1,11 @@ --- - name: Upgrade FoundKey - hosts: localhost - connection: local + hosts: + - allison vars: user: misskey service: misskey - source_repository: /var/lib/misskey/FoundKey-0x7f + source_repository: https://akkoma.dev/Michcio/FoundKey-0x7f deploys_root: /var/lib/misskey/deploys config_yml: /var/lib/misskey/default.yml tasks: