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:
parent
9dc97d3b91
commit
26e346c030
2 changed files with 6 additions and 4 deletions
|
|
@ -5,7 +5,4 @@ galaxy_info:
|
||||||
description: "install and configure a Zabbix Proxy"
|
description: "install and configure a Zabbix Proxy"
|
||||||
license: "MIT"
|
license: "MIT"
|
||||||
role_name: "zabbix_proxy"
|
role_name: "zabbix_proxy"
|
||||||
dependencies:
|
dependencies: []
|
||||||
- name: "zabbix_prereq"
|
|
||||||
src: "git+https://gitlab.simoncor.net/ansible/ans-zabbix-prereq.git"
|
|
||||||
version: "main"
|
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,11 @@
|
||||||
changed_when: false
|
changed_when: false
|
||||||
failed_when: false
|
failed_when: false
|
||||||
|
|
||||||
|
# execute the role
|
||||||
|
- name: "execute role: zabbix_prereq"
|
||||||
|
ansible.builtin.include_role:
|
||||||
|
name: "zabbix_prereq"
|
||||||
|
|
||||||
# execute the role
|
# execute the role
|
||||||
- name: "execute role: zabbix_proxy"
|
- name: "execute role: zabbix_proxy"
|
||||||
ansible.builtin.include_role:
|
ansible.builtin.include_role:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue