This repository has been archived on 2023-04-26. You can view files and clone it, but cannot push or open issues or pull requests.
max/max.yml

37 lines
1 KiB
YAML
Raw Permalink Normal View History

2023-01-11 19:04:31 +00:00
- name: Setup homeserver
2023-04-12 13:43:59 +00:00
hosts: max
gather_facts: no
pre_tasks:
- name: Wait for host to come up
wait_for:
state: started
port: 22
host: max2.dmz
2023-04-12 16:19:10 +00:00
timeout: 300
2023-04-12 13:43:59 +00:00
connect_timeout: 300
search_regex: OpenSSH
delegate_to: localhost
- name: Wait for cloud-init to finish
2023-04-12 16:19:10 +00:00
shell:
cmd: "cloud-init status --wait"
2023-04-12 13:43:59 +00:00
register: cloudinit
changed_when: "'..' in cloudinit.stdout"
- name: Gather facts
setup:
2022-12-03 12:05:55 +00:00
roles:
2023-04-12 16:19:10 +00:00
- {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'}