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 +1 @@
|
||||||
kingston1tb_uuid: "622a8d81-aa2f-460b-a563-c3cdb6285609"
|
kingston1tb_uuid: "622a8d81-aa2f-460b-a563-c3cdb6285609"
|
||||||
|
|
|
@ -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'}
|
||||||
|
|
|
@ -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