feat: move deps to playbook

Remove galaxy dependencies from role meta and add explicit
include_role tasks in the playbook instead.
This commit is contained in:
Simon Cornet 2026-05-08 15:44:26 +02:00
commit 26e346c030
2 changed files with 6 additions and 4 deletions

View file

@ -5,7 +5,4 @@ galaxy_info:
description: "install and configure a Zabbix Proxy"
license: "MIT"
role_name: "zabbix_proxy"
dependencies:
- name: "zabbix_prereq"
src: "git+https://gitlab.simoncor.net/ansible/ans-zabbix-prereq.git"
version: "main"
dependencies: []

View file

@ -15,6 +15,11 @@
changed_when: false
failed_when: false
# execute the role
- name: "execute role: zabbix_prereq"
ansible.builtin.include_role:
name: "zabbix_prereq"
# execute the role
- name: "execute role: zabbix_proxy"
ansible.builtin.include_role: