Skip to content

Commit

Permalink
Trying to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
pyrodie18 committed Jun 10, 2024
1 parent 25b6d77 commit 6442069
Showing 1 changed file with 17 additions and 9 deletions.
26 changes: 17 additions & 9 deletions roles/zabbix_proxy/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,20 @@
tags:
- api

- name: "zabbix-proxy started"
ansible.builtin.service:
name: zabbix-proxy
state: started
enabled: true
become: true
when: zabbix_proxy_manage_service | bool
tags:
- service
- block:
- name: "zabbix-proxy started"
ansible.builtin.service:
name: zabbix-proxy
state: started
enabled: true
become: true
when: zabbix_proxy_manage_service | bool
tags:
- service
rescue:
- slurp:
path: /var/log/zabbix/zabbix_agent.log
register: _res
- debug:
var: _res.content | b64decode
- fail:

0 comments on commit 6442069

Please sign in to comment.