change makefile

This commit is contained in:
Pim Kunis 2023-01-16 21:35:44 +01:00
parent f3f5d2ebd4
commit 3150bc5316
3 changed files with 5 additions and 46 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
.vault_password

View file

@ -1,46 +1,2 @@
all:
ansible-playbook playbooks/all.yml -i inventory/hosts.yml --ask-vault-pass
mastodon:
ansible-playbook playbooks/mastodon.yml -i inventory/hosts.yml --ask-vault-pass
syncthing:
ansible-playbook playbooks/syncthing.yml -i inventory/hosts.yml --ask-vault-pass
nsd:
ansible-playbook playbooks/nsd.yml -i inventory/hosts.yml --ask-vault-pass
forgejo:
ansible-playbook playbooks/forgejo.yml -i inventory/hosts.yml --ask-vault-pass
radicale:
ansible-playbook playbooks/radicale.yml -i inventory/hosts.yml
pizzeria:
ansible-playbook playbooks/pizzeria.yml -i inventory/hosts.yml
ssh:
ansible-playbook playbooks/ssh.yml -i inventory/hosts.yml
traefik:
ansible-playbook playbooks/traefik.yml -i inventory/hosts.yml
kms:
ansible-playbook playbooks/kms.yml -i inventory/hosts.yml
borg:
ansible-playbook playbooks/borg.yml -i inventory/hosts.yml --ask-vault-pass
dataserver:
ansible-playbook playbooks/dataserver.yml -i inventory/hosts.yml --ask-vault-pass
seafile:
ansible-playbook playbooks/seafile.yml -i inventory/hosts.yml --ask-vault-pass
jitsi:
ansible-playbook playbooks/jitsi.yml -i inventory/hosts.yml --ask-vault-pass
backup:
ansible-playbook playbooks/backup.yml -i inventory/hosts.yml
.PHONY: run
%:
ansible-playbook playbooks/$@.yml

View file

@ -1,3 +1,5 @@
[defaults]
# (pathspec) Colon separated paths in which Ansible will search for Roles.
roles_path=~/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:roles
vault_password_file=./.vault_password
inventory=inventory