31 lines
689 B
YAML
31 lines
689 B
YAML
---
|
|
|
|
- name: test if common_hostname is set correctly
|
|
ansible.builtin.assert:
|
|
that:
|
|
- common_hostname is defined
|
|
- common_hostname is string
|
|
quiet: yes
|
|
|
|
- name: test if common_nameservers is set correctly
|
|
ansible.builtin.assert:
|
|
that:
|
|
- common_nameservers is iterable
|
|
quiet: yes
|
|
when:
|
|
- common_nameservers is defined
|
|
|
|
- name: test if common_hosts is set correctly
|
|
ansible.builtin.assert:
|
|
that:
|
|
- common_hosts is defined
|
|
- common_hosts is iterable
|
|
quiet: yes
|
|
|
|
- name: test if common_reboot is set correctly
|
|
ansible.builtin.assert:
|
|
that:
|
|
- common_reboot is defined
|
|
- common_reboot is boolean
|
|
quiet: yes
|