feat: initial commit
This commit is contained in:
commit
29bec6f965
17 changed files with 343 additions and 0 deletions
28
tasks/main.yaml
Normal file
28
tasks/main.yaml
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
---
|
||||
|
||||
# load variables and collect version information
|
||||
- name: "include vars and collect versions"
|
||||
block:
|
||||
|
||||
# collect zabbix-proxy version information
|
||||
- name: "collect version information"
|
||||
ansible.builtin.shell:
|
||||
cmd: "zabbix_proxy --version | head -n 1"
|
||||
changed_when: false
|
||||
failed_when: false
|
||||
ignore_errors: true
|
||||
register: "zabbix_current_version"
|
||||
|
||||
|
||||
# zabbix-proxy install
|
||||
- name: "zabbix-proxy install"
|
||||
ansible.builtin.import_tasks: "install.yaml"
|
||||
tags:
|
||||
- "zabbix_proxy_install"
|
||||
|
||||
|
||||
# zabbix-proxy config
|
||||
- name: "zabbix-proxy config"
|
||||
ansible.builtin.import_tasks: "config.yaml"
|
||||
tags:
|
||||
- "zabbix_proxy_config"
|
||||
Loading…
Add table
Add a link
Reference in a new issue