feat: add reinstall zabbix-web
This commit is contained in:
parent
e3e00e2082
commit
5a31a8a735
2 changed files with 43 additions and 9 deletions
|
|
@ -1,5 +1,19 @@
|
|||
---
|
||||
|
||||
# load variables and collect version information
|
||||
- name: "include vars and collect versions"
|
||||
block:
|
||||
|
||||
# collect zabbix-web version information
|
||||
- name: "collect version information"
|
||||
ansible.builtin.shell:
|
||||
cmd: "apt list zabbix-apache-conf | head -n 2"
|
||||
changed_when: false
|
||||
failed_when: false
|
||||
ignore_errors: true
|
||||
register: "zabbix_web_current_version"
|
||||
|
||||
|
||||
# zabbix-web-server install
|
||||
- name: "zabbix-web-server install"
|
||||
ansible.builtin.import_tasks: "install.yaml"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue