Skip to content

Commit

Permalink
fix: zabbix_repo tests on suse
Browse files Browse the repository at this point in the history
  • Loading branch information
jon4hz committed Jun 7, 2024
1 parent bfe10c9 commit 9b5662e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions molecule/zabbix_repo/tests/test_default.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,6 @@ def test_zabbix_manage_repo_installed(host):
result = host.ansible("command", "yum update -y", check=False, become=True)["rc"]
elif os in ["debian", "ubuntu"]:
result = host.ansible("command", "apt update", check=False, become=True)["rc"]
elif os is ["suse"]:
result = host.ansible("command", "zypper refresh", check=False, become=True)["rc"]
assert result == 0

0 comments on commit 9b5662e

Please sign in to comment.