-
Notifications
You must be signed in to change notification settings - Fork 289
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: zabbix-java-gateway installation on suse feat: zabbix-proxy installation on suse feat: zabbix-server installation on suse fix: remove mysql stuff fix: zabbix-server v6.2 is not working feat: zabbix-web installation on suse fix: zabbix-web php configuration fix: rebasing issues
- Loading branch information
Showing
31 changed files
with
609 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,6 +33,7 @@ jobs: | |
- ubuntu2004 | ||
- debian12 | ||
- debian11 | ||
- opensuseleap15 | ||
version: | ||
- v70 | ||
- v64 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,6 +33,7 @@ jobs: | |
- ubuntu2004 | ||
- debian12 | ||
- debian11 | ||
- opensuseleap15 | ||
version: | ||
- v70 | ||
- v64 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
--- | ||
# Tasks specific for SUSE systems | ||
|
||
- name: "Suse | Install repos" | ||
community.general.zypper_repository: | ||
name: "{{ item.name }}" | ||
description: "{{ item.description }}" | ||
repo: "{{ item.repo }}" | ||
disable_gpg_check: "{{ item.disable_gpg_check | default(false) }}" | ||
auto_import_keys: "{{ item.auto_import_keys | default('true') }}" | ||
priority: "{{ item.priority | default('99') }}" | ||
runrefresh: "{{ item.runrefresh | default(false) }}" | ||
state: "{{ item.state | default('present') }}" | ||
with_items: "{{ zabbix_repo_zypper }}" | ||
become: true | ||
tags: | ||
- install | ||
|
||
- name: Check if warn parameter can be used for shell module | ||
ansible.builtin.set_fact: | ||
produce_warn: false | ||
when: ansible_version.full is version("2.14", "<") | ||
tags: | ||
- always | ||
|
||
- name: "Suse | Installing zabbix-agent" | ||
ansible.builtin.package: | ||
pkg: | ||
- "{{ zabbix_agent_package }}" | ||
state: "{{ zabbix_agent_package_state }}" | ||
environment: | ||
http_proxy: "{{ zabbix_http_proxy | default(None) | default(omit) }}" | ||
https_proxy: "{{ zabbix_https_proxy | default(None) | default(omit) }}" | ||
register: zabbix_agent_package_installed | ||
until: zabbix_agent_package_installed is succeeded | ||
become: true | ||
tags: | ||
- install | ||
|
||
- name: "Suse | Installing zabbix-{sender,get}" | ||
ansible.builtin.package: | ||
pkg: | ||
- "{{ zabbix_sender_package }}" | ||
- "{{ zabbix_get_package }}" | ||
state: "{{ zabbix_agent_package_state }}" | ||
environment: | ||
http_proxy: "{{ zabbix_http_proxy | default(None) | default(omit) }}" | ||
https_proxy: "{{ zabbix_https_proxy | default(None) | default(omit) }}" | ||
register: zabbix_agent_package_installed | ||
until: zabbix_agent_package_installed is succeeded | ||
when: | ||
- not zabbix_agent_install_agent_only | ||
become: true | ||
tags: | ||
- install | ||
|
||
- name: "Suse | Enable the service" | ||
ansible.builtin.service: | ||
name: "{{ zabbix_agent_service }}" | ||
enabled: true | ||
use: service | ||
become: true | ||
tags: | ||
- service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
# vars file for zabbix_agent (SLES) | ||
|
||
zabbix_agent: zabbix-agent | ||
zabbix_agent_service: zabbix-agent | ||
zabbix_agent_conf: zabbix_agentd.conf | ||
zabbix_agent2_conf: zabbix_agent2.conf | ||
|
||
zabbix_valid_agent_versions: | ||
# SLES | ||
"12": | ||
- 7.0 | ||
- 6.4 | ||
- 6.0 | ||
"15": | ||
- 7.0 | ||
- 6.4 | ||
- 6.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.