homeserver/roles/robertdebock.bootstrap/tasks/assert.yml
mg 686a0b281f Rolle aktualisiert: bootstrap (#457)
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: #457
2023-02-17 12:06:35 +01:00

23 lines
580 B
YAML

---
- name: Test if bootstrap_wait_for_host is set correctly
ansible.builtin.assert:
that:
- bootstrap_wait_for_host is defined
- bootstrap_wait_for_host is boolean
quiet: yes
- name: Test if bootstrap_timeout is set correctly
ansible.builtin.assert:
that:
- bootstrap_timeout is defined
- bootstrap_timeout is number
- bootstrap_timeout >= 0
quiet: yes
- name: Test if bootstrap_become is set correctly
ansible.builtin.assert:
that:
- bootstrap_become is defined
- bootstrap_become is boolean
quiet: yes