36 lines
1.1 KiB
YAML
36 lines
1.1 KiB
YAML
- name: Wait for servers to come up
|
|
hosts: max
|
|
gather_facts: no
|
|
roles:
|
|
- 'cloudinit-wait'
|
|
|
|
- name: Start services
|
|
hosts: max
|
|
pre_tasks:
|
|
- name: Create base service directory
|
|
file:
|
|
path: "{{ base_service_dir }}"
|
|
state: directory
|
|
- name: Delete externally managed environment file
|
|
shell:
|
|
cmd: "rm /usr/lib/python*/EXTERNALLY-MANAGED"
|
|
register: rm
|
|
changed_when: "rm.rc == 0"
|
|
failed_when: "false"
|
|
roles:
|
|
- {role: 'setup-apt', tags: 'setup-apt'}
|
|
- {role: 'watchtower', tags: 'watchtower'}
|
|
- {role: 'forgejo', tags: 'forgejo'}
|
|
- {role: 'syncthing', tags: 'syncthing'}
|
|
- {role: 'kms', tags: 'kms'}
|
|
- {role: 'cyberchef', tags: 'cyberchef'}
|
|
- {role: 'radicale', tags: 'radicale'}
|
|
- {role: 'mastodon', tags: 'mastodon'}
|
|
- {role: 'seafile', tags: 'seafile'}
|
|
- {role: 'jitsi', tags: 'jitsi'}
|
|
- {role: 'freshrss', tags: 'freshrss'}
|
|
- {role: 'static', tags: 'static'}
|
|
- {role: 'inbucket', tags: 'inbucket'}
|
|
- {role: 'prometheus', tags: 'prometheus'}
|
|
- {role: 'overleaf', tags: 'overleaf'}
|
|
- {role: 'hedgedoc', tags: 'hedgedoc'}
|