35e6b139fc
ci / validate (push) Failing after 1m8s
Rework portfolio around Linux operations, Zabbix monitoring, migration validation, and ELK/Grafana log observability. Add AAP-style LVM resize workflow, Zabbix server/proxy/agent automation assets, Linux/AIX monitoring templates, and updated validation CI.
32 lines
863 B
YAML
32 lines
863 B
YAML
---
|
|
- name: Validate proxy mode
|
|
ansible.builtin.assert:
|
|
that:
|
|
- zabbix_proxy_mode in ["active", "passive"]
|
|
fail_msg: "zabbix_proxy_mode must be active or passive"
|
|
|
|
- name: Create Zabbix proxy config directory
|
|
ansible.builtin.file:
|
|
path: /etc/zabbix
|
|
state: directory
|
|
owner: root
|
|
group: root
|
|
mode: "0755"
|
|
|
|
- name: Render Zabbix proxy configuration example
|
|
ansible.builtin.template:
|
|
src: zabbix_proxy.conf.j2
|
|
dest: /etc/zabbix/zabbix_proxy.conf
|
|
owner: root
|
|
group: root
|
|
mode: "0644"
|
|
|
|
- name: Report proxy operating model
|
|
ansible.builtin.debug:
|
|
msg:
|
|
proxy: "{{ zabbix_proxy_hostname }}"
|
|
server: "{{ zabbix_proxy_server }}"
|
|
mode: "{{ zabbix_proxy_mode }}"
|
|
active_checks: "{{ zabbix_proxy_mode == 'active' }}"
|
|
offline_buffer_hours: "{{ zabbix_proxy_offline_buffer_hours }}"
|