Skip to content

Commit 8a03ae6

Browse files
committed
ci: Fix missing ping in tests_reload_on_reset
In some environments, such as a CentOS 9 container, "ping" is not pre-installed. The test calls it, so install it explicitly.
1 parent 087a648 commit 8a03ae6

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.ostree/packages-testing.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
iputils
12
nftables

tests/tests_reload_on_reset.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,12 @@
2121
set_fact:
2222
__firewall_is_ostree: "{{ __ostree_booted_stat.stat.exists }}"
2323

24-
- name: Install podman
24+
- name: Install test dependencies
2525
package:
26-
name: podman
26+
name:
27+
- podman
28+
# for ping
29+
- iputils
2730
state: present
2831
use: "{{ (__firewall_is_ostree | d(false)) |
2932
ternary('ansible.posix.rhel_rpm_ostree', omit) }}"

0 commit comments

Comments
 (0)