improve script inovcation

This commit is contained in:
Pim Kunis 2023-01-16 22:28:00 +01:00
parent 3150bc5316
commit 64709cab98
17 changed files with 20 additions and 70 deletions

View file

@ -1,2 +1,8 @@
all:
ansible-playbook playbooks/all.yml
backup:
ansible-playbook playbooks/backup.yml
%: %:
ansible-playbook playbooks/$@.yml ansible-playbook playbooks/all.yml --tags "$@"

View file

@ -1 +1 @@
kingston1tb_uuid: "622a8d81-aa2f-460b-a563-c3cdb6285609" kingston1tb_uuid: "622a8d81-aa2f-460b-a563-c3cdb6285609"

View file

@ -1,18 +1,18 @@
- name: Setup homeserver - name: Setup homeserver
hosts: homeserver hosts: homeserver
roles: roles:
- ssh - {role: 'ssh', tags: 'ssh'}
- borg - {role: 'borg', tags: 'borg'}
- nsd - {role: 'nsd', tags: 'nsd'}
- syncthing - {role: 'syncthing', tags: 'syncthing'}
- kms - {role: 'kms', tags: 'kms'}
- pizzeria - {role: 'pizzeria', tags: 'pizzeria'}
- forgejo - {role: 'forgejo', tags: 'forgejo'}
- radicale - {role: 'radicale', tags: 'radicale'}
- mastodon - {role: 'mastodon', tags: 'mastodon'}
- seafile - {role: 'seafile', tags: 'seafile'}
- jitsi - {role: 'jitsi', tags: 'jitsi'}
- name: Setup dataserver - name: Setup dataserver
hosts: dataserver hosts: dataserver
roles: roles:
- dataserver - {role: 'dataserver', tags: 'dataserver'}

View file

@ -1,4 +0,0 @@
- name: Install borg
hosts: homeserver
roles:
- borg

View file

@ -1,4 +0,0 @@
- name: Install dataserver
hosts: dataserver
roles:
- dataserver

View file

@ -1,4 +0,0 @@
- name: Configure firewall
hosts: homeserver
roles:
- firewall

View file

@ -1,4 +0,0 @@
- name: Install forgejo
hosts: homeserver
roles:
- forgejo

View file

@ -1,4 +0,0 @@
- name: Install Jitsi Meet
hosts: homeserver
roles:
- jitsi

View file

@ -1,4 +0,0 @@
- name: Install kms stateless server
hosts: homeserver
roles:
- kms

View file

@ -1,4 +0,0 @@
- name: Install Mastodon
hosts: homeserver
roles:
- mastodon

View file

@ -1,4 +0,0 @@
- name: Install nsd
hosts: homeserver
roles:
- nsd

View file

@ -1,4 +0,0 @@
- name: Install pizzeria static website
hosts: homeserver
roles:
- pizzeria

View file

@ -1,4 +0,0 @@
- name: Install Radicale
hosts: homeserver
roles:
- radicale

View file

@ -1,4 +0,0 @@
- name: Install Seafile
hosts: homeserver
roles:
- seafile

View file

@ -1,4 +0,0 @@
- name: Configure SSH
hosts: homeserver
roles:
- ssh

View file

@ -1,4 +0,0 @@
- name: Install syncthing
hosts: homeserver
roles:
- syncthing

View file

@ -1,4 +0,0 @@
- name: Install traefik
hosts: homeserver
roles:
- traefik