Deploy remotely from my laptop

This commit is contained in:
Michcio 2022-09-05 16:58:18 +02:00
parent 4275a5d108
commit 29d3fefa45
4 changed files with 11 additions and 3 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
venv

4
Makefile Normal file
View file

@ -0,0 +1,4 @@
deploy:
venv/bin/ansible-playbook -i hosts.yml playbook.yml -K
.PHONY: deploy

3
hosts.yml Normal file
View file

@ -0,0 +1,3 @@
all:
hosts:
allison:

View file

@ -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: