feat: move stuff around part 3
This commit is contained in:
parent
e4b10b3750
commit
c0082d4bc3
12 changed files with 1 additions and 7 deletions
|
|
@ -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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue