Skip to content

Commit 6aad721

Browse files
committed
fix: ostree - add dnf/dnf5 package, add firewall packages
Cause: The ostree image does not install the dnf or dnf5 packages. Consequence: The role will issue an error that the dnf command is not found on ostree systems. Fix: Add the dnf or dnf5 package to the ostree build manifest. Result: The role works on ostree systems. In addition - add the firewall packages used for testing, and ensure that the ostree package implemenation is used. Signed-off-by: Rich Megginson <rmeggins@redhat.com>
1 parent bb4de0b commit 6aad721

File tree

5 files changed

+7
-0
lines changed

5 files changed

+7
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
packages-runtime-RedHat.txt
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dnf5
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
dnf

.ostree/packages-testing.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1+
firewalld
12
pcs
3+
python3-firewall

tests/tests_export_firewall_selinux.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@
3636
- firewalld
3737
- python3-firewall
3838
state: present
39+
use: "{{ (__ha_cluster_is_ostree | d(false)) |
40+
ternary('ansible.posix.rhel_rpm_ostree', omit) }}"
3941

4042
- name: Run HA Cluster role
4143
include_role:

0 commit comments

Comments
 (0)