---
- name: "Unspecified: Check if 0.0.0.0 is an unspecified IP address"
  ansible.builtin.assert:
    that: "{{ '0.0.0.0' is ansible.utils.unspecified }}"

- name: "Unspecified: Check if 0:0:0:0:0:0:0:0 is an unspecified IP address"
  ansible.builtin.assert:
    that: "{{ '0:0:0:0:0:0:0:0' is ansible.utils.unspecified }}"

- name: "Unspecified: Check if :: is an unspecified IP address"
  ansible.builtin.assert:
    that: "{{ '::' is ansible.utils.unspecified }}"

- name: "Unspecified: Test invalidness"
  ansible.builtin.set_fact:
    criteria_check1: "{{ '127.0.0.1' is ansible.utils.unspecified }}"

- name: "Unspecified: Assert invalidness"
  ansible.builtin.assert:
    that: "{{ criteria_check1 == false }}"

- name: "Unspecified: Test invalidness"
  ansible.builtin.set_fact:
    criteria_check2: "{{ '::1' is ansible.utils.unspecified }}"

- name: "Unspecified: Assert invalidness"
  ansible.builtin.assert:
    that: "{{ criteria_check2 == false }}"
