zabbix-proxy/playbook.yaml
Simon Cornet 26e346c030 feat: move deps to playbook
Remove galaxy dependencies from role meta and add explicit
include_role tasks in the playbook instead.
2026-05-08 15:44:26 +02:00

26 lines
676 B
YAML

---
# execute this role
- name: "install and configure the Zabbix Proxy"
hosts: "all"
become: true
pre_tasks:
# due to semaphore bug we need to do this ourselves
- name: "force-update requirements"
ansible.builtin.command:
cmd: "ansible-galaxy install -f -r roles/requirements.yml"
become: false
delegate_to: "localhost"
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:
name: "zabbix_proxy"