summaryrefslogtreecommitdiffstats
path: root/ansible_collections/community/zabbix/roles/zabbix_javagateway
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:04:41 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:04:41 +0000
commit975f66f2eebe9dadba04f275774d4ab83f74cf25 (patch)
tree89bd26a93aaae6a25749145b7e4bca4a1e75b2be /ansible_collections/community/zabbix/roles/zabbix_javagateway
parentInitial commit. (diff)
downloadansible-975f66f2eebe9dadba04f275774d4ab83f74cf25.tar.xz
ansible-975f66f2eebe9dadba04f275774d4ab83f74cf25.zip
Adding upstream version 7.7.0+dfsg.upstream/7.7.0+dfsg
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ansible_collections/community/zabbix/roles/zabbix_javagateway')
-rw-r--r--ansible_collections/community/zabbix/roles/zabbix_javagateway/README.md142
-rw-r--r--ansible_collections/community/zabbix/roles/zabbix_javagateway/defaults/main.yml34
-rw-r--r--ansible_collections/community/zabbix/roles/zabbix_javagateway/files/systemd.service15
-rw-r--r--ansible_collections/community/zabbix/roles/zabbix_javagateway/handlers/main.yml16
-rw-r--r--ansible_collections/community/zabbix/roles/zabbix_javagateway/meta/main.yml23
-rw-r--r--ansible_collections/community/zabbix/roles/zabbix_javagateway/tasks/Debian.yml97
-rw-r--r--ansible_collections/community/zabbix/roles/zabbix_javagateway/tasks/RedHat.yml34
-rw-r--r--ansible_collections/community/zabbix/roles/zabbix_javagateway/tasks/main.yml46
-rw-r--r--ansible_collections/community/zabbix/roles/zabbix_javagateway/templates/zabbix_java_gateway.conf.j212
-rw-r--r--ansible_collections/community/zabbix/roles/zabbix_javagateway/vars/Debian.yml6
-rw-r--r--ansible_collections/community/zabbix/roles/zabbix_javagateway/vars/RedHat.yml6
-rw-r--r--ansible_collections/community/zabbix/roles/zabbix_javagateway/vars/main.yml2
-rw-r--r--ansible_collections/community/zabbix/roles/zabbix_javagateway/vars/zabbix.yml258
13 files changed, 691 insertions, 0 deletions
diff --git a/ansible_collections/community/zabbix/roles/zabbix_javagateway/README.md b/ansible_collections/community/zabbix/roles/zabbix_javagateway/README.md
new file mode 100644
index 000000000..70427d97c
--- /dev/null
+++ b/ansible_collections/community/zabbix/roles/zabbix_javagateway/README.md
@@ -0,0 +1,142 @@
+# community.zabbix.zabbix_javagateway role
+
+![Zabbix Javagateway](https://github.com/ansible-collections/community.zabbix/workflows/community.zabbix.zabbix_javagateway/badge.svg)
+
+**Table of Contents**
+
+- [Overview](#overview)
+ * [Operating systems](#operating-systems)
+ * [Zabbix Versions](#zabbix-versions)
+- [Role Variables](#role-variables)
+ * [Main variables](#main-variables)
+ + [Overall Zabbix](#overall-zabbix)
+ + [Java Gatewaty](#java-gatewaty)
+ + [proxy](#proxy)
+- [Dependencies](#dependencies)
+- [Example Playbook](#example-playbook)
+- [Molecule](#molecule)
+- [License](#license)
+- [Author Information](#author-information)
+
+# Overview
+
+## Operating systems
+
+This role will work on the following operating systems:
+
+ * Red Hat
+ * Debian
+ * Ubuntu
+
+So, you'll need one of those operating systems.. :-)
+Please send Pull Requests or suggestions when you want to use this role for other Operating systems.
+
+## Zabbix Versions
+
+See the following list of supported Operating systems with the Zabbix releases.
+
+| Zabbix | 6.4 | 6.2 | 6.0 (LTS) | 5.2 | 5.0 | 4.4 | 4.0 (LTS) | 3.0 (LTS) |
+|---------------------|-----|-----|-----------|-----|-----|-----|-----------|-----------|
+| Red Hat Fam 8 | V | V | V | V | V | V | | |
+| Red Hat Fam 7 | | | | V | V | V | V | V |
+| Red Hat Fam 6 | | | | V | V | | | V |
+| Red Hat Fam 5 | | | | V | V | | | V |
+| Fedora | | | | | | V | V | |
+| Ubuntu 20.04 focal | V | V | V | V | V | | V | |
+| Ubuntu 18.04 bionic | | | | V | V | V | V | |
+| Ubuntu 16.04 xenial | | | | V | V | V | V | |
+| Ubuntu 14.04 trusty | | | | V | V | V | V | V |
+| Debian 10 buster | V | V | V | V | V | V | | |
+| Debian 9 stretch | | | | V | V | V | V | |
+| Debian 8 jessie | | | | V | V | V | V | V |
+| Debian 7 wheezy | | | | | | | V | V |
+| macOS 10.15 | | | | | | V | V | |
+| macOS 10.14 | | | | | | V | V | |
+
+# Role Variables
+
+## Main variables
+
+The following is an overview of all available configuration default for this role.
+
+### Overall Zabbix
+
+* `zabbix_javagateway_version`: This is the version of zabbix. Default: 5.2. Can be overridden to 5.0, 4.4, 4.0, 3.4, 3.2, 3.0, 2.4, or 2.2. Previously the variable `zabbix_version` was used directly but it could cause [some inconvenience](https://github.com/dj-wasabi/ansible-zabbix-agent/pull/303). That variable is maintained by retrocompativility.
+* `zabbix_repo`: Default: `zabbix`
+ * `epel`: install agent from EPEL repo
+ * `zabbix`: (default) install agent from Zabbix repo
+ * `other`: install agent from pre-existing or other repo
+* `zabbix_repo_yum`: A list with Yum repository configuration.
+* `zabbix_repo_yum_schema`: Default: `https`. Option to change the web schema for the yum repository(http/https)
+* `zabbix_repo_yum_disabled`: A string with repository names that should be disabled when installing Zabbix component specific packages. Is only used when `zabbix_repo_yum_enabled` contains 1 or more repositories. Default `*`.
+* `zabbix_repo_yum_enabled`: A list with repository names that should be enabled when installing Zabbix component specific packages.
+* `zabbix_javagateway_package_state`: Default: `present`. Can be overridden to `latest` to update packages when needed.
+* `zabbix_javagateway_conf_mode`: Default: `0644`. The "mode" for the Zabbix configuration file.
+
+### Java Gatewaty
+
+* `zabbix_javagateway_pidfile`: Default: `/run/zabbix/zabbix_java_gateway.pid`. The location for the pid file.
+* `zabbix_javagateway_listenip`: Default: `0.0.0.0`. The IP address to listen on.
+* `zabbix_javagateway_listenport`: Default: `10052`. The port on which Java Gateway is listening on.
+* `zabbix_javagateway_startpollers`: Default: `5`. The amount of pollers to start.
+
+### proxy
+
+When the target host does not have access to the internet, but you do have a proxy available then the following properties needs to be set to download the packages via the proxy:
+
+* `zabbix_http_proxy`
+* `zabbix_https_proxy`
+
+# Dependencies
+
+The java gateway can be installed on either the zabbix-server or the zabbix-proxy machine. So one of these should be installed. You'll need to provide an parameter in your playbook for using the javagateway.
+
+When using the zabbix-server:
+```yaml
+ roles:
+ - role: community.zabbix.zabbix_server
+ zabbix_server_javagateway: 192.168.1.2
+```
+
+or when using the zabbix-proxy:
+```yaml
+ roles:
+ - role: community.zabbix.zabbix_proxy
+ zabbix_proxy_server: 192.168.1.1
+ zabbix_proxy_javagateway: 192.168.1.2
+```
+
+# Example Playbook
+
+Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
+
+```yaml
+ - hosts: zabbix-server
+ sudo: yes
+ roles:
+ - role: community.zabbix.zabbix_server
+ zabbix_server_javagateway: 192.168.1.2
+ - role: community.zabbix.zabbix_javagateway
+```
+
+# Molecule
+
+This role is configured to be tested with Molecule. You can find on this page some more information regarding Molecule:
+
+* http://werner-dijkerman.nl/2016/07/10/testing-ansible-roles-with-molecule-testinfra-and-docker/
+* http://werner-dijkerman.nl/2016/07/27/extending-ansible-role-testing-with-molecule-by-adding-group_vars-dependencies-and-using-travis-ci/
+* http://werner-dijkerman.nl/2016/07/31/testing-ansible-roles-in-a-cluster-setup-with-docker-and-molecule/
+
+With each Pull Request, Molecule will be executed via travis.ci. Pull Requests will only be merged once these tests run successfully.
+
+# License
+
+GNU General Public License v3.0 or later
+
+See LICENCE to see the full text.
+
+# Author Information
+
+Please send suggestion or pull requests to make this role better. Also let us know if you encounter any issues installing or using this role.
+
+Github: https://github.com/ansible-collections/community.zabbix
diff --git a/ansible_collections/community/zabbix/roles/zabbix_javagateway/defaults/main.yml b/ansible_collections/community/zabbix/roles/zabbix_javagateway/defaults/main.yml
new file mode 100644
index 000000000..a34046616
--- /dev/null
+++ b/ansible_collections/community/zabbix/roles/zabbix_javagateway/defaults/main.yml
@@ -0,0 +1,34 @@
+---
+# defaults file for zabbix_javagateway
+
+zabbix_javagateway_version: 6.4
+zabbix_version: "{{ zabbix_javagateway_version }}"
+zabbix_javagateway_package_state: present
+zabbix_selinux: false
+zabbix_repo: zabbix
+zabbix_repo_yum_schema: https
+zabbix_java_gateway_conf_mode: "0644"
+
+zabbix_repo_yum_gpgcheck: 0
+zabbix_repo_yum_disabled: "*"
+zabbix_repo_yum_enabled: []
+zabbix_repo_yum:
+ - name: zabbix
+ description: Zabbix Official Repository - $basearch
+ baseurl: "{{ zabbix_repo_yum_schema }}://repo.zabbix.com/zabbix/{{ zabbix_javagateway_version | regex_search('^[0-9]+.[0-9]+') }}/rhel/{{ ansible_distribution_major_version }}/$basearch/"
+ gpgcheck: "{{ zabbix_repo_yum_gpgcheck }}"
+ mode: "0644"
+ gpgkey: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX
+ state: present
+ - name: zabbix-non-supported
+ description: Zabbix Official Repository non-supported - $basearch
+ baseurl: "{{ zabbix_repo_yum_schema }}://repo.zabbix.com/non-supported/rhel/{{ ansible_distribution_major_version }}/$basearch/"
+ mode: "0644"
+ gpgcheck: "{{ zabbix_repo_yum_gpgcheck }}"
+ gpgkey: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ZABBIX
+ state: present
+
+zabbix_javagateway_pidfile: /run/zabbix/zabbix_java_gateway.pid
+zabbix_javagateway_listenip: 0.0.0.0
+zabbix_javagateway_listenport: 10052
+zabbix_javagateway_startpollers: 5
diff --git a/ansible_collections/community/zabbix/roles/zabbix_javagateway/files/systemd.service b/ansible_collections/community/zabbix/roles/zabbix_javagateway/files/systemd.service
new file mode 100644
index 000000000..b4a78650e
--- /dev/null
+++ b/ansible_collections/community/zabbix/roles/zabbix_javagateway/files/systemd.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Zabbix Java Gateway
+After=syslog.target
+After=network.target
+
+[Service]
+Type=forking
+KillMode=process
+ExecStart=/usr/sbin/zabbix_java_gateway
+SuccessExitStatus=143
+User=zabbix
+Group=zabbix
+
+[Install]
+WantedBy=multi-user.target
diff --git a/ansible_collections/community/zabbix/roles/zabbix_javagateway/handlers/main.yml b/ansible_collections/community/zabbix/roles/zabbix_javagateway/handlers/main.yml
new file mode 100644
index 000000000..c7034aa7d
--- /dev/null
+++ b/ansible_collections/community/zabbix/roles/zabbix_javagateway/handlers/main.yml
@@ -0,0 +1,16 @@
+---
+# handlers file for zabbix-javagateway
+
+- name: zabbix-java-gateway restarted
+ service:
+ name: zabbix-java-gateway
+ state: restarted
+ enabled: true
+ become: true
+
+- name: "clean repo files from proxy creds"
+ shell: ls /etc/yum.repos.d/zabbix* && sed -i 's/^proxy =.*//' /etc/yum.repos.d/zabbix* || true
+ become: true
+ when:
+ - ansible_os_family == 'RedHat'
+ - zabbix_http_proxy is defined or zabbix_https_proxy is defined
diff --git a/ansible_collections/community/zabbix/roles/zabbix_javagateway/meta/main.yml b/ansible_collections/community/zabbix/roles/zabbix_javagateway/meta/main.yml
new file mode 100644
index 000000000..b484db2a4
--- /dev/null
+++ b/ansible_collections/community/zabbix/roles/zabbix_javagateway/meta/main.yml
@@ -0,0 +1,23 @@
+---
+galaxy_info:
+ author: Werner Dijkerman
+ description: Installing and maintaining zabbix-javagateway for RedHat/Debian/Ubuntu.
+ company: myCompany.Dotcom
+ license: license (GPLv3)
+ min_ansible_version: 2.4
+ platforms:
+ - name: EL
+ versions:
+ - 6
+ - 7
+ - name: Ubuntu
+ versions:
+ - lucid
+ - precise
+ - trusty
+ - name: Debian
+ versions:
+ - squeeze
+ - wheezy
+ galaxy_tags:
+ - monitoring
diff --git a/ansible_collections/community/zabbix/roles/zabbix_javagateway/tasks/Debian.yml b/ansible_collections/community/zabbix/roles/zabbix_javagateway/tasks/Debian.yml
new file mode 100644
index 000000000..d025e6ca8
--- /dev/null
+++ b/ansible_collections/community/zabbix/roles/zabbix_javagateway/tasks/Debian.yml
@@ -0,0 +1,97 @@
+---
+
+- name: "Include Zabbix gpg ids"
+ include_vars: zabbix.yml
+
+- name: "Set some variables"
+ set_fact:
+ zabbix_short_version: "{{ zabbix_javagateway_version | regex_replace('\\.', '') }}"
+
+- name: "Debian | Install gpg key"
+ apt_key:
+ id: "{{ sign_keys[zabbix_short_version][ansible_distribution_release]['sign_key'] }}"
+ url: http://repo.zabbix.com/zabbix-official-repo.key
+ become: true
+
+- name: "Debian | Installing repository Debian"
+ apt_repository:
+ repo: "deb http://repo.zabbix.com/zabbix/{{ zabbix_javagateway_version }}/debian/ {{ ansible_distribution_release }} main"
+ state: present
+ become: true
+ when:
+ - ansible_distribution == "Debian"
+ - zabbix_repo == "zabbix"
+
+- name: "Debian | Installing repository Debian"
+ apt_repository:
+ repo: "deb-src http://repo.zabbix.com/zabbix/{{ zabbix_javagateway_version }}/debian/ {{ ansible_distribution_release }} main"
+ state: present
+ become: true
+ when:
+ - ansible_distribution == "Debian"
+ - ansible_machine == "aarch64"
+ - zabbix_repo == "zabbix"
+
+- name: "Debian | Installing repository Ubuntu"
+ apt_repository:
+ repo: "deb http://repo.zabbix.com/zabbix/{{ zabbix_javagateway_version }}/ubuntu-arm64/ {{ ansible_distribution_release }} main"
+ state: present
+ become: true
+ when:
+ - ansible_distribution == "Ubuntu"
+ - ansible_machine == "aarch64"
+ - zabbix_repo == "zabbix"
+
+
+- name: "Debian | Installing repository Ubuntu"
+ apt_repository:
+ repo: "deb http://repo.zabbix.com/zabbix/{{ zabbix_javagateway_version }}/ubuntu/ {{ ansible_distribution_release }} main"
+ state: present
+ become: true
+ when:
+ - ansible_distribution == "Ubuntu"
+ - ansible_machine != "aarch64"
+ - zabbix_repo == "zabbix"
+
+- name: "Debian | Installing repository Ubuntu"
+ apt_repository:
+ repo: "deb-src http://repo.zabbix.com/zabbix/{{ zabbix_javagateway_version }}/ubuntu-arm64/ {{ ansible_distribution_release }} main"
+ state: present
+ become: true
+ when:
+ - ansible_distribution == "Ubuntu"
+ - ansible_machine == "aarch64"
+ - zabbix_repo == "zabbix"
+
+
+- name: "Debian | Installing repository Ubuntu"
+ apt_repository:
+ repo: "deb-src http://repo.zabbix.com/zabbix/{{ zabbix_javagateway_version }}/ubuntu/ {{ ansible_distribution_release }} main"
+ state: present
+ become: true
+ when:
+ - ansible_distribution == "Ubuntu"
+ - zabbix_repo == "zabbix"
+
+- name: "Debian | Installing zabbix-java-gateway"
+ apt:
+ pkg: zabbix-java-gateway
+ state: "{{ zabbix_javagateway_package_state }}"
+ update_cache: true
+ force: true
+ cache_valid_time: 3600
+ environment:
+ http_proxy: "{{ zabbix_http_proxy | default(None) | default(omit) }}"
+ https_proxy: "{{ zabbix_https_proxy | default(None) | default(omit) }}"
+ register: zabbix_java_gateway_install
+ until: zabbix_java_gateway_install is succeeded
+ become: true
+
+- name: "Make sure Zabbix Java Gateway is not yet running"
+ systemd:
+ name: zabbix-java-gateway
+ state: stopped
+ enabled: true
+ daemon_reload: true
+ when:
+ - zabbix_java_gateway_install.changed
diff --git a/ansible_collections/community/zabbix/roles/zabbix_javagateway/tasks/RedHat.yml b/ansible_collections/community/zabbix/roles/zabbix_javagateway/tasks/RedHat.yml
new file mode 100644
index 000000000..877628381
--- /dev/null
+++ b/ansible_collections/community/zabbix/roles/zabbix_javagateway/tasks/RedHat.yml
@@ -0,0 +1,34 @@
+---
+# Tasks specific for RedHat systems
+
+- name: "RedHat | Install basic repo file"
+ yum_repository:
+ name: "{{ item.name }}"
+ description: "{{ item.description }}"
+ baseurl: "{{ item.baseurl }}"
+ gpgcheck: "{{ item.gpgcheck }}"
+ gpgkey: "{{ item.gpgkey }}"
+ mode: "{{ item.mode | default('0644') }}"
+ priority: "{{ item.priority | default('98') }}"
+ state: "{{ item.state | default('present') }}"
+ proxy: "{{ zabbix_http_proxy | default(omit) }}"
+ with_items: "{{ zabbix_repo_yum }}"
+ register: yum_repo_installed
+ become: true
+ when:
+ zabbix_repo == "zabbix"
+ notify:
+ - "clean repo files from proxy creds"
+
+- name: "RedHat | Installing zabbix-java-gateway"
+ package:
+ pkg: zabbix-java-gateway
+ state: "{{ zabbix_javagateway_package_state }}"
+ disablerepo: "{{ '*' if (zabbix_repo_yum_enabled | length>0) else omit }}"
+ enablerepo: "{{ zabbix_repo_yum_enabled if zabbix_repo_yum_enabled is iterable and (zabbix_repo_yum_enabled | length>0) else omit }}"
+ environment:
+ http_proxy: "{{ zabbix_http_proxy | default(None) | default(omit) }}"
+ https_proxy: "{{ zabbix_https_proxy | default(None) | default(omit) }}"
+ register: zabbix_java_gateway_install
+ until: zabbix_java_gateway_install is succeeded
+ become: true
diff --git a/ansible_collections/community/zabbix/roles/zabbix_javagateway/tasks/main.yml b/ansible_collections/community/zabbix/roles/zabbix_javagateway/tasks/main.yml
new file mode 100644
index 000000000..b95322426
--- /dev/null
+++ b/ansible_collections/community/zabbix/roles/zabbix_javagateway/tasks/main.yml
@@ -0,0 +1,46 @@
+---
+# tasks file for zabbix_proxy
+
+- name: "Install the correct repository"
+ include_tasks: "RedHat.yml"
+ when:
+ - ansible_os_family == "RedHat"
+
+- name: "Install the correct repository"
+ include_tasks: "Debian.yml"
+ when:
+ - ansible_os_family == "Debian"
+
+- name: "Place systemd unit file"
+ copy:
+ src: systemd.service
+ dest: /etc/systemd/system/zabbix-java-gateway.service
+ mode: '0644'
+ register: systemd_state
+ when:
+ - zabbix_version is version('5.4', '<')
+
+- name: "Reload systemd"
+ shell: systemctl daemon-reload
+ when:
+ - zabbix_version is version('5.4', '<')
+ - systemd_state.changed
+ tags:
+ - skip_ansible_lint
+
+- name: "Configure zabbix-proxy"
+ template:
+ src: zabbix_java_gateway.conf.j2
+ dest: /etc/zabbix/zabbix_java_gateway.conf
+ owner: zabbix
+ group: zabbix
+ mode: "{{ zabbix_java_gateway_conf_mode }}"
+ notify:
+ - zabbix-java-gateway restarted
+
+- name: "Make sure Zabbix Java Gateway is running"
+ systemd:
+ name: zabbix-java-gateway
+ state: started
+ enabled: true
+ daemon_reload: true
diff --git a/ansible_collections/community/zabbix/roles/zabbix_javagateway/templates/zabbix_java_gateway.conf.j2 b/ansible_collections/community/zabbix/roles/zabbix_javagateway/templates/zabbix_java_gateway.conf.j2
new file mode 100644
index 000000000..9b197600d
--- /dev/null
+++ b/ansible_collections/community/zabbix/roles/zabbix_javagateway/templates/zabbix_java_gateway.conf.j2
@@ -0,0 +1,12 @@
+{{ ansible_managed | comment }}
+# This is a configuration file for Zabbix Java Gateway
+# To get more information about Zabbix, visit http://www.zabbix.com
+
+# This configuration file is "minimalized", which means all the original comments
+# are removed. The full documentation for your Zabbix Java Gateway can be found here:
+# https://www.zabbix.com/documentation/{{ zabbix_version }}/en/manual/concepts/java
+
+LISTEN_IP={{ zabbix_javagateway_listenip }}
+LISTEN_PORT={{ zabbix_javagateway_listenport }}
+PID_FILE={{ zabbix_javagateway_pidfile }}
+START_POLLERS={{ zabbix_javagateway_startpollers }}
diff --git a/ansible_collections/community/zabbix/roles/zabbix_javagateway/vars/Debian.yml b/ansible_collections/community/zabbix/roles/zabbix_javagateway/vars/Debian.yml
new file mode 100644
index 000000000..1eecc3170
--- /dev/null
+++ b/ansible_collections/community/zabbix/roles/zabbix_javagateway/vars/Debian.yml
@@ -0,0 +1,6 @@
+---
+apache_user: www-data
+apache_group: www-data
+apache_log: apache2
+
+mysql_create_dir: ''
diff --git a/ansible_collections/community/zabbix/roles/zabbix_javagateway/vars/RedHat.yml b/ansible_collections/community/zabbix/roles/zabbix_javagateway/vars/RedHat.yml
new file mode 100644
index 000000000..8c1997706
--- /dev/null
+++ b/ansible_collections/community/zabbix/roles/zabbix_javagateway/vars/RedHat.yml
@@ -0,0 +1,6 @@
+---
+apache_user: apache
+apache_group: apache
+apache_log: httpd
+
+mysql_create_dir: create/
diff --git a/ansible_collections/community/zabbix/roles/zabbix_javagateway/vars/main.yml b/ansible_collections/community/zabbix/roles/zabbix_javagateway/vars/main.yml
new file mode 100644
index 000000000..dee610c60
--- /dev/null
+++ b/ansible_collections/community/zabbix/roles/zabbix_javagateway/vars/main.yml
@@ -0,0 +1,2 @@
+---
+# vars file for zabbix_javagateway
diff --git a/ansible_collections/community/zabbix/roles/zabbix_javagateway/vars/zabbix.yml b/ansible_collections/community/zabbix/roles/zabbix_javagateway/vars/zabbix.yml
new file mode 100644
index 000000000..bd960deba
--- /dev/null
+++ b/ansible_collections/community/zabbix/roles/zabbix_javagateway/vars/zabbix.yml
@@ -0,0 +1,258 @@
+---
+sign_keys:
+ "64":
+ bullseye:
+ sign_key: E709712C
+ buster:
+ sign_key: E709712C
+ stretch:
+ sign_key: E709712C
+ focal:
+ sign_key: E709712C
+ jammy:
+ sign_key: E709712C
+ bionic:
+ sign_key: E709712C
+ xenial:
+ sign_key: E709712C
+ trusty:
+ sign_key: E709712C
+ "62":
+ bullseye:
+ sign_key: E709712C
+ buster:
+ sign_key: E709712C
+ stretch:
+ sign_key: E709712C
+ focal:
+ sign_key: E709712C
+ jammy:
+ sign_key: E709712C
+ bionic:
+ sign_key: E709712C
+ xenial:
+ sign_key: E709712C
+ trusty:
+ sign_key: E709712C
+ "60":
+ bullseye:
+ sign_key: E709712C
+ buster:
+ sign_key: E709712C
+ stretch:
+ sign_key: E709712C
+ focal:
+ sign_key: E709712C
+ jammy:
+ sign_key: E709712C
+ bionic:
+ sign_key: E709712C
+ xenial:
+ sign_key: E709712C
+ trusty:
+ sign_key: E709712C
+ "54":
+ bullseye:
+ sign_key: E709712C
+ buster:
+ sign_key: E709712C
+ jessie:
+ sign_key: E709712C
+ stretch:
+ sign_key: E709712C
+ focal:
+ sign_key: E709712C
+ bionic:
+ sign_key: E709712C
+ xenial:
+ sign_key: E709712C
+ trusty:
+ sign_key: E709712C
+ tricia:
+ sign_key: E709712C
+ "52":
+ # bullseye: not available upstream
+ buster:
+ sign_key: E709712C
+ jessie:
+ sign_key: E709712C
+ stretch:
+ sign_key: E709712C
+ focal:
+ sign_key: E709712C
+ bionic:
+ sign_key: E709712C
+ xenial:
+ sign_key: E709712C
+ trusty:
+ sign_key: E709712C
+ tricia:
+ sign_key: E709712C
+ "50":
+ bullseye:
+ sign_key: E709712C
+ buster:
+ sign_key: E709712C
+ jessie:
+ sign_key: E709712C
+ stretch:
+ sign_key: E709712C
+ focal:
+ sign_key: E709712C
+ bionic:
+ sign_key: E709712C
+ xenial:
+ sign_key: E709712C
+ trusty:
+ sign_key: E709712C
+ tricia:
+ sign_key: E709712C
+ "44":
+ buster:
+ sign_key: A14FE591
+ jessie:
+ sign_key: 79EA5ED4
+ stretch:
+ sign_key: A14FE591
+ focal:
+ sign_key: A14FE591
+ eoan:
+ sign_key: A14FE591
+ cosmic:
+ sign_key: A14FE591
+ bionic:
+ sign_key: A14FE591
+ sonya:
+ sign_key: A14FE591
+ serena:
+ sign_key: A14FE591
+ trusty:
+ sign_key: 79EA5ED4
+ xenial:
+ sign_key: E709712C
+ "42":
+ buster:
+ sign_key: A14FE591
+ jessie:
+ sign_key: 79EA5ED4
+ stretch:
+ sign_key: A14FE591
+ eoan:
+ sign_key: A14FE591
+ cosmic:
+ sign_key: A14FE591
+ bionic:
+ sign_key: A14FE591
+ sonya:
+ sign_key: A14FE591
+ serena:
+ sign_key: A14FE591
+ trusty:
+ sign_key: 79EA5ED4
+ xenial:
+ sign_key: E709712C
+ "40":
+ bullseye:
+ sign_key: A14FE591
+ buster:
+ sign_key: A14FE591
+ jessie:
+ sign_key: 79EA5ED4
+ stretch:
+ sign_key: A14FE591
+ focal:
+ sign_key: A14FE591
+ bionic:
+ sign_key: A14FE591
+ sonya:
+ sign_key: A14FE591
+ serena:
+ sign_key: A14FE591
+ trusty:
+ sign_key: 79EA5ED4
+ xenial:
+ sign_key: E709712C
+ "34":
+ jessie:
+ sign_key: 79EA5ED4
+ stretch:
+ sign_key: A14FE591
+ wheezy:
+ sign_key: A14FE591
+ bionic:
+ sign_key: A14FE591
+ sonya:
+ sign_key: A14FE591
+ serena:
+ sign_key: A14FE591
+ trusty:
+ sign_key: 79EA5ED4
+ xenial:
+ sign_key: E709712C
+ "32":
+ stretch:
+ sign_key: A14FE591
+ wheezy:
+ sign_key: 79EA5ED4
+ bionic:
+ sign_key: A14FE591
+ sonya:
+ sign_key: 79EA5ED4
+ serena:
+ sign_key: 79EA5ED4
+ trusty:
+ sign_key: 79EA5ED4
+ xenial:
+ sign_key: E709712C
+ "30":
+ buster:
+ sign_key: A14FE591
+ jessie:
+ sign_key: 79EA5ED4
+ stretch:
+ sign_key: A14FE591
+ wheezy:
+ sign_key: 79EA5ED4
+ bionic:
+ sign_key: A14FE591
+ trusty:
+ sign_key: 79EA5ED4
+ xenial:
+ sign_key: E709712C
+ "24":
+ jessie:
+ sign_key: 79EA5ED4
+ wheezy:
+ sign_key: 79EA5ED4
+ precise:
+ sign_key: 79EA5ED4
+ trusty:
+ sign_key: 79EA5ED4
+ "22":
+ squeeze:
+ sign_key: 79EA5ED4
+ wheezy:
+ sign_key: 79EA5ED4
+ precise:
+ sign_key: 79EA5ED4
+ trusty:
+ sign_key: 79EA5ED4
+ lucid:
+ sign_key: 79EA5ED4
+
+suse:
+ "openSUSE Leap":
+ "42":
+ name: server:monitoring
+ url: http://download.opensuse.org/repositories/server:/monitoring/openSUSE_Leap_{{ ansible_distribution_version }}/
+ "openSUSE":
+ "12":
+ name: server_monitoring
+ url: http://download.opensuse.org/repositories/server:/monitoring/openSUSE_{{ ansible_distribution_version }}
+ "SLES":
+ "11":
+ name: server_monitoring
+ url: http://download.opensuse.org/repositories/server:/monitoring/SLE_11_SP3/
+ "12":
+ name: server_monitoring
+ url: http://download.opensuse.org/repositories/server:/monitoring/SLE_12_SP3/