Simplify makefile
This commit is contained in:
parent
3f72f0e751
commit
b309446be7
1 changed files with 3 additions and 27 deletions
30
Makefile
30
Makefile
|
@ -1,34 +1,10 @@
|
|||
all: networkvm webserver
|
||||
|
||||
common_args := -i inventory.ini --ask-vault-pass -e@vaulted_vars.yml
|
||||
|
||||
common:
|
||||
ansible-playbook $(common_args) common.yml
|
||||
all: common networkvm webserver
|
||||
|
||||
networkvm: wireguard
|
||||
|
||||
webserver: tls haproxy docker minio postgresql mastodon vaultwarden
|
||||
|
||||
wireguard:
|
||||
ansible-playbook $(common_args) wireguard.yml
|
||||
|
||||
tls:
|
||||
ansible-playbook $(common_args) tls.yml
|
||||
|
||||
haproxy:
|
||||
ansible-playbook $(common_args) haproxy.yml
|
||||
|
||||
docker:
|
||||
ansible-playbook $(common_args) docker.yml
|
||||
|
||||
minio:
|
||||
ansible-playbook $(common_args) minio.yml
|
||||
|
||||
postgresql:
|
||||
ansible-playbook $(common_args) postgresql.yml
|
||||
|
||||
mastodon:
|
||||
ansible-playbook $(common_args) mastodon.yml
|
||||
|
||||
vaultwarden:
|
||||
ansible-playbook $(common_args) vaultwarden.yml
|
||||
%:
|
||||
ansible-playbook $(common_args) $*.yml
|
||||
|
|
Loading…
Reference in a new issue