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.
This commit is contained in:
+31
@@ -0,0 +1,31 @@
|
||||
---
|
||||
- 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 }}"
|
||||
Reference in New Issue
Block a user