feat: try with new ansible role structure

This commit is contained in:
Simon Cornet 2025-10-03 10:28:26 +02:00
commit c14dd49576
10 changed files with 0 additions and 0 deletions

View file

@ -1,23 +0,0 @@
---
# load variables and collect version information
- name: "include vars and collect versions"
block:
# collect zabbix-agent2 version information
- name: "collect version information"
ansible.builtin.shell:
cmd: "zabbix_agent2 --version | head -n 1"
changed_when: false
failed_when: false
ignore_errors: true
register: "zabbix_current_version"
# zabbix-agent install
- name: "zabbix-agent install"
ansible.builtin.include_tasks: "install.yaml"
# zabbix-agent config
- name: "zabbix-agent config"
ansible.builtin.include_tasks: "config.yaml"