homeserver/roles/robertdebock.bootstrap/tasks/assert.yml

24 lines
525 B
YAML
Raw Normal View History

2021-02-13 14:20:18 +01:00
---
- name: test if bootstrap_user is set correctly
assert:
that:
- bootstrap_user is defined
- bootstrap_user is string
quiet: yes
- name: test if bootstrap_wait_for_host is set correctly
assert:
that:
- bootstrap_wait_for_host is defined
- bootstrap_wait_for_host is boolean
quiet: yes
- name: test if bootstrap_timeout is set correctly
assert:
that:
- bootstrap_timeout is defined
- bootstrap_timeout is number
- bootstrap_timeout >= 0
quiet: yes