Skip to content

Commit 343014f

Browse files
Fixup DOCA DNF install variable
1 parent 1e9f1ab commit 343014f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

etc/kayobe/dnf.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@ dnf_enable_docker: true
180180
dnf_docker_gpg_key_url: "https://download.docker.com/linux/centos/gpg"
181181

182182
# Whether to create a repo file for DOCA. This affects RedHat-based
183-
# systems only. Default value is 'false'.
184-
dnf_install_doca: "{{ stackhpc_pulp_sync_ofed }}"
183+
# systems only.
184+
dnf_install_doca: "{{ 'mlnx' in group_names }}"
185185

186186
###############################################################################
187187
# DNF Automatic configuration.

etc/kayobe/ofed.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ stackhpc_pulp_doca_version: 2.9.1
99
# Pulp configuration for DOCA OFED
1010

1111
# Whether to sync OFED repositories into the local Pulp service
12-
stackhpc_pulp_sync_ofed: "{{ 'mlnx' in group_names or ( 'localhost' in inventory_hostname and groups['mlnx'] | length > 0 ) }}"
12+
stackhpc_pulp_sync_ofed: "{{ groups['mlnx'] | length > 0 }}"
1313

1414
# DOCA Snapshot versions. The defaults use the appropriate version from
1515
# pulp-repo-versions.yml

0 commit comments

Comments
 (0)