homeserver/roles/robertdebock.bootstrap/tasks/assert.yml
Quotengrote f5248e88d9
Bootstrap (#22)
* bootstrap rolle hinzugefügt

* playbook bootstrap + master angepasst
2020-08-29 20:57:14 +02:00

28 lines
670 B
YAML

---
- name: test if bootstrap_user is set correctly
assert:
that:
- bootstrap_user is defined
- bootstrap_user | length > 0
quiet: yes
- name: test if bootstrap_wait_for_host is set correctly
assert:
that:
- bootstrap_wait_for_host is defined
- bootstrap_wait_for_host | type_debug == "bool"
quiet: yes
- name: test if bootstrap_timeout is set correctly
assert:
that:
- bootstrap_timeout is defined
- bootstrap_timeout | int >= 0
quiet: yes
- name: test if bootstrap_retries is set correctly
assert:
that:
- bootstrap_retries is defined
- bootstrap_retries | int >= 0
quiet: yes