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

26 lines
559 B
YAML
Raw 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
timeout: 10
connect_timeout: 300
search_regex: OpenSSH
delegate_to: localhost
- name: Wait for cloud-init to finish
command:
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:
2023-04-12 13:43:59 +00:00
- {role: 'docker', tags: 'docker'}
2023-04-12 14:24:01 +00:00
- {role: 'traefik', tags: 'traefik'}