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
279e8e4e9d
commit
c119530fb7
2 changed files with 6 additions and 4 deletions
|
|
@ -5,7 +5,4 @@ galaxy_info:
|
|||
description: "install and configure a Zabbix Server"
|
||||
license: "MIT"
|
||||
role_name: "zabbix_server"
|
||||
dependencies:
|
||||
- name: "zabbix_prereq"
|
||||
src: "git+https://gitlab.simoncor.net/ansible/ans-zabbix-prereq.git"
|
||||
version: "main"
|
||||
dependencies: []
|
||||
|
|
|
|||
|
|
@ -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_server"
|
||||
ansible.builtin.include_role:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue