improve script inovcation
This commit is contained in:
parent
3150bc5316
commit
64709cab98
17 changed files with 20 additions and 70 deletions
8
Makefile
8
Makefile
|
@ -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 "$@"
|
||||
|
|
|
@ -1,18 +1,18 @@
|
|||
- name: Setup homeserver
|
||||
hosts: homeserver
|
||||
roles:
|
||||
- ssh
|
||||
- borg
|
||||
- nsd
|
||||
- syncthing
|
||||
- kms
|
||||
- pizzeria
|
||||
- forgejo
|
||||
- radicale
|
||||
- mastodon
|
||||
- seafile
|
||||
- jitsi
|
||||
- {role: 'ssh', tags: 'ssh'}
|
||||
- {role: 'borg', tags: 'borg'}
|
||||
- {role: 'nsd', tags: 'nsd'}
|
||||
- {role: 'syncthing', tags: 'syncthing'}
|
||||
- {role: 'kms', tags: 'kms'}
|
||||
- {role: 'pizzeria', tags: 'pizzeria'}
|
||||
- {role: 'forgejo', tags: 'forgejo'}
|
||||
- {role: 'radicale', tags: 'radicale'}
|
||||
- {role: 'mastodon', tags: 'mastodon'}
|
||||
- {role: 'seafile', tags: 'seafile'}
|
||||
- {role: 'jitsi', tags: 'jitsi'}
|
||||
- name: Setup dataserver
|
||||
hosts: dataserver
|
||||
roles:
|
||||
- dataserver
|
||||
- {role: 'dataserver', tags: 'dataserver'}
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
- name: Install borg
|
||||
hosts: homeserver
|
||||
roles:
|
||||
- borg
|
|
@ -1,4 +0,0 @@
|
|||
- name: Install dataserver
|
||||
hosts: dataserver
|
||||
roles:
|
||||
- dataserver
|
|
@ -1,4 +0,0 @@
|
|||
- name: Configure firewall
|
||||
hosts: homeserver
|
||||
roles:
|
||||
- firewall
|
|
@ -1,4 +0,0 @@
|
|||
- name: Install forgejo
|
||||
hosts: homeserver
|
||||
roles:
|
||||
- forgejo
|
|
@ -1,4 +0,0 @@
|
|||
- name: Install Jitsi Meet
|
||||
hosts: homeserver
|
||||
roles:
|
||||
- jitsi
|
|
@ -1,4 +0,0 @@
|
|||
- name: Install kms stateless server
|
||||
hosts: homeserver
|
||||
roles:
|
||||
- kms
|
|
@ -1,4 +0,0 @@
|
|||
- name: Install Mastodon
|
||||
hosts: homeserver
|
||||
roles:
|
||||
- mastodon
|
|
@ -1,4 +0,0 @@
|
|||
- name: Install nsd
|
||||
hosts: homeserver
|
||||
roles:
|
||||
- nsd
|
|
@ -1,4 +0,0 @@
|
|||
- name: Install pizzeria static website
|
||||
hosts: homeserver
|
||||
roles:
|
||||
- pizzeria
|
|
@ -1,4 +0,0 @@
|
|||
- name: Install Radicale
|
||||
hosts: homeserver
|
||||
roles:
|
||||
- radicale
|
|
@ -1,4 +0,0 @@
|
|||
- name: Install Seafile
|
||||
hosts: homeserver
|
||||
roles:
|
||||
- seafile
|
|
@ -1,4 +0,0 @@
|
|||
- name: Configure SSH
|
||||
hosts: homeserver
|
||||
roles:
|
||||
- ssh
|
|
@ -1,4 +0,0 @@
|
|||
- name: Install syncthing
|
||||
hosts: homeserver
|
||||
roles:
|
||||
- syncthing
|
|
@ -1,4 +0,0 @@
|
|||
- name: Install traefik
|
||||
hosts: homeserver
|
||||
roles:
|
||||
- traefik
|
Reference in a new issue