Fixed incorrect file path
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- name: Download Zabbix release package
|
- name: Download Zabbix release package
|
||||||
ansible.builtin.get_url:
|
ansible.builtin.get_url:
|
||||||
url: "https://repo.zabbix.com/zabbix/7.4/release/ubuntu/pool/main/z/zabbix-release/zabbix-release_latest_7.4+ubuntu24.04_all.deb"
|
url: "https://repo.zabbix.com/zabbix/7.4/ubuntu/pool/main/z/zabbix-release/zabbix-release_7.4-1+{{ ansible_distribution_release }}_all.deb"
|
||||||
dest: /tmp/zabbix-release.deb
|
dest: /tmp/zabbix-release.deb
|
||||||
|
|
||||||
- name: Install Zabbix release package
|
- name: Install Zabbix release package
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
- name: Create Zabbix proxy custom configuration file
|
- name: Create Zabbix proxy custom configuration file
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
dest: /etc/zabbix/zabbix_proxy.conf.d/custom.conf
|
dest: /etc/zabbix/zabbix_proxy.d/custom.conf
|
||||||
content: |
|
content: |
|
||||||
DBName=/tmp/zabbix_proxy
|
DBName=/tmp/zabbix_proxy
|
||||||
StartPollers=2
|
StartPollers=2
|
||||||
@@ -38,7 +38,7 @@
|
|||||||
|
|
||||||
- name: Create Zabbix proxy connection configuration file
|
- name: Create Zabbix proxy connection configuration file
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
dest: /etc/zabbix/zabbix_proxy.conf.d/connection.conf
|
dest: /etc/zabbix/zabbix_proxy.d/connection.conf
|
||||||
content: |
|
content: |
|
||||||
Server={{ zabbix_server_address }}:10051
|
Server={{ zabbix_server_address }}:10051
|
||||||
Hostname={{ ansible_facts.hostname }}
|
Hostname={{ ansible_facts.hostname }}
|
||||||
|
|||||||
Reference in New Issue
Block a user