Deploy remotely from my laptop
This commit is contained in:
parent
4275a5d108
commit
29d3fefa45
4 changed files with 11 additions and 3 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
venv
|
4
Makefile
Normal file
4
Makefile
Normal file
|
@ -0,0 +1,4 @@
|
|||
deploy:
|
||||
venv/bin/ansible-playbook -i hosts.yml playbook.yml -K
|
||||
|
||||
.PHONY: deploy
|
3
hosts.yml
Normal file
3
hosts.yml
Normal file
|
@ -0,0 +1,3 @@
|
|||
all:
|
||||
hosts:
|
||||
allison:
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue