feat: skip alpine
This commit is contained in:
parent
6dd6a51eb3
commit
8bb2e2409f
1 changed files with 2 additions and 6 deletions
|
|
@ -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
|
# load variables and collect version information
|
||||||
- name: "include vars and collect versions"
|
- name: "include vars and collect versions"
|
||||||
|
when: "ansible_os_family not in 'Alpine'"
|
||||||
block:
|
block:
|
||||||
|
|
||||||
# load os specific variables
|
# load os specific variables
|
||||||
|
|
@ -27,3 +22,4 @@
|
||||||
# zabbix-agent prerequisites
|
# zabbix-agent prerequisites
|
||||||
- name: "zabbix-agent prerequisites"
|
- name: "zabbix-agent prerequisites"
|
||||||
ansible.builtin.import_tasks: "prerequisites.yaml"
|
ansible.builtin.import_tasks: "prerequisites.yaml"
|
||||||
|
when: "ansible_os_family not in 'Alpine'"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue