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/ansible/max.yml

40 lines
1.1 KiB
YAML
Raw Normal View History

2023-01-11 19:04:31 +00:00
- name: Setup homeserver
hosts: max
gather_facts: no
pre_tasks:
- name: Wait for host to come up
tags: always
block:
- name: Wait for SSH connection
wait_for:
state: started
port: 22
host: max.dmz
timeout: 300
connect_timeout: 300
search_regex: OpenSSH
delegate_to: localhost
- name: Wait for cloud-init to finish
shell:
cmd: "cloud-init status --wait"
register: cloudinit
changed_when: "'..' in cloudinit.stdout"
- name: Gather facts
setup:
2022-12-03 12:05:55 +00:00
roles:
- {role: 'watchtower', tags: 'watchtower'}
2023-01-18 22:50:54 +00:00
- {role: 'forgejo', tags: 'forgejo'}
2023-01-16 21:28:00 +00:00
- {role: 'syncthing', tags: 'syncthing'}
- {role: 'kms', tags: 'kms'}
2023-04-03 19:31:57 +00:00
- {role: 'cyberchef', tags: 'cyberchef'}
2023-04-13 09:43:42 +00:00
- {role: 'radicale', tags: 'radicale'}
2023-01-16 21:28:00 +00:00
- {role: 'mastodon', tags: 'mastodon'}
- {role: 'seafile', tags: 'seafile'}
- {role: 'jitsi', tags: 'jitsi'}
2023-04-13 11:00:19 +00:00
- {role: 'freshrss', tags: 'freshrss'}
- {role: 'static', tags: 'static'}
2023-01-27 22:18:21 +00:00
- {role: 'inbucket', tags: 'inbucket'}
- {role: 'prometheus', tags: 'prometheus'}