Files
podman_netbird/extensions/molecule/default/converge.yml
T
Mike Holloway aa8e17efa9
Gitea Actions - molecule test work / Explore-terraform-molecule-Gitea-Action (push) Failing after 54s
## Molecule extensions added
2026-07-24 02:03:22 -04:00

27 lines
877 B
YAML

---
- name: Fail if molecule group is missing
hosts: localhost
tasks:
- name: Print some info
ansible.builtin.debug:
msg: "{{ groups }}"
- name: Assert group existence
ansible.builtin.assert:
that: "'molecule' in groups"
fail_msg: |
molecule group was not found inside inventory groups: {{ groups }}
- name: Converge
hosts: molecule
# We disable gather facts because it would fail due to our container not
# having python installed. This will not prevent use from running 'raw'
# commands. Most molecule users are expected to use containers that already
# have python installed in order to avoid notable delays installing it.
tasks:
- name: Apply podman_netbird Role
include_role:
name: podman_netbird
# ansible.builtin.assert:
# that: result.stdout | regex_search("^Linux")