feat: skip alpine

This commit is contained in:
Simon Cornet 2026-03-16 17:52:32 +01:00
commit 8bb2e2409f

View file

@ -1,13 +1,8 @@
---
# dont execute this role when targeting Alpine
- name: "skip role for Alpine hosts"
ansible.builtin.meta: "end_host"
when: ansible_os_family == "Alpine"
# load variables and collect version information
- name: "include vars and collect versions"
when: "ansible_os_family not in 'Alpine'"
block:
# load os specific variables
@ -27,3 +22,4 @@
# zabbix-agent prerequisites
- name: "zabbix-agent prerequisites"
ansible.builtin.import_tasks: "prerequisites.yaml"
when: "ansible_os_family not in 'Alpine'"