diff --git a/meta/main.yaml b/meta/main.yaml index fc18f4c..3100685 100644 --- a/meta/main.yaml +++ b/meta/main.yaml @@ -5,4 +5,8 @@ galaxy_info: description: "install and configure a Zabbix Agent" license: "MIT" role_name: "zabbix_agent" -dependencies: [] + +dependencies: + - name: "ans-zabbix-prereq" + src: "https://gitlab.simoncor.net/ansible/ans-zabbix-prereq.git" + scm: "git" diff --git a/playbook.yaml b/playbook.yaml new file mode 100644 index 0000000..f4227a1 --- /dev/null +++ b/playbook.yaml @@ -0,0 +1,12 @@ +--- + +# execute this role +- name: "install and configure the Zabbix Agent" + hosts: "all" + become: true + tasks: + + # execute role + - name: "install and configure the Zabbix Agent" + ansible.builtin.include_role: + name: "."