Skip to content

Commit

Permalink
Initial Changes to Server Role
Browse files Browse the repository at this point in the history
  • Loading branch information
pyrodie18 committed Jun 6, 2024
1 parent 3e3cfd4 commit 784a65a
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ jobs:
version: v62
- container: ubuntu2404
version: v62
- container: ubuntu2004
version: v70
- container: debian11
version: v70
steps:
- name: Check out code
uses: actions/checkout@v4
Expand Down
4 changes: 3 additions & 1 deletion molecule/zabbix_server/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ platforms:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
groups:
- ${MY_MOLECULE_DATABASE:-mysql}
- ${MY_MOLECULE_VERSION:-v64}
- ${MY_MOLECULE_VERSION:-v70}

provisioner:
name: ansible
Expand All @@ -25,6 +25,8 @@ provisioner:
all:
zabbix_repo_apt_priority: 1
zabbix_repo_yum_gpg_check: 1
v70:
zabbix_server_version: 7.0
v64:
zabbix_server_version: 6.4
v62:
Expand Down
1 change: 1 addition & 0 deletions roles/zabbix_server/tasks/selinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- policycoreutils
- python3-libsemanage
- python3-policycoreutils
- zabbix-selinux-policy
environment:
http_proxy: "{{ zabbix_http_proxy | default(None) | default(omit) }}"
https_proxy: "{{ zabbix_https_proxy | default(None) | default(omit) }}"
Expand Down
3 changes: 3 additions & 0 deletions roles/zabbix_server/vars/Debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ mysql_create_dir: ""
zabbix_valid_server_versions:
# Debian
"12":
- 7.0
- 6.4
- 6.0
"11":
Expand All @@ -16,9 +17,11 @@ zabbix_valid_server_versions:
- 6.0
# Ubuntu
"24":
- 7.0
- 6.4
- 6.0
"22":
- 7.0
- 6.4
- 6.2
- 6.0
Expand Down
2 changes: 2 additions & 0 deletions roles/zabbix_server/vars/RedHat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ __epel_repo:

zabbix_valid_server_versions:
"9":
- 7.0
- 6.4
- 6.2
- 6.0
"8":
- 7.0
- 6.4
- 6.2
- 6.0
Expand Down

0 comments on commit 784a65a

Please sign in to comment.