File tree Expand file tree Collapse file tree 4 files changed +6
-13
lines changed Expand file tree Collapse file tree 4 files changed +6
-13
lines changed Original file line number Diff line number Diff line change @@ -54,14 +54,10 @@ Install process
54
54
Release Train configuration
55
55
---------------------------
56
56
57
- DOCA repositories will need to be synced to the local Pulp service, ensure that DOCA RPM repositories are
58
- enabled by setting:
59
-
60
- .. code-block :: yaml
61
-
62
- dnf_install_doca : true
63
-
64
- With kernel module syncing enabled, the local Pulp can be synced with Ark by running:
57
+ DOCA repositories will need to be synced to the local Pulp service, Ensure the DOCA
58
+ hosts added to the ``mlnx `` group before running a package sync, if the group is not
59
+ empty DOCA will be synced into the local Pulp. The local Pulp can be synced with Ark
60
+ by running:
65
61
66
62
.. code-block :: console
67
63
Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ dnf_docker_gpg_key_url: "https://download.docker.com/linux/centos/gpg"
181
181
182
182
# Whether to create a repo file for DOCA. This affects RedHat-based
183
183
# systems only. Default value is 'false'.
184
- # dnf_install_doca:
184
+ dnf_install_doca : " {{ stackhpc_pulp_sync_ofed }} "
185
185
186
186
# ##############################################################################
187
187
# DNF Automatic configuration.
Original file line number Diff line number Diff line change 4
4
# vm has been provisioned
5
5
# This behaviour is overriden for Overcloud hosts.
6
6
stackhpc_repos_enabled: false
7
-
8
- # Disable StackHPC DOCA repositories by default
9
- dnf_install_doca: false
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ stackhpc_pulp_doca_version: 2.9.1
9
9
# Pulp configuration for DOCA OFED
10
10
11
11
# Whether to sync OFED repositories into the local Pulp service
12
- stackhpc_pulp_sync_ofed : " {{ dnf_install_doca }}"
12
+ stackhpc_pulp_sync_ofed : " {{ 'mlnx' in group_names or ( 'localhost' in inventory_hostname and groups['mlnx'] | length > 0 ) }}"
13
13
14
14
# DOCA Snapshot versions. The defaults use the appropriate version from
15
15
# pulp-repo-versions.yml
You can’t perform that action at this time.
0 commit comments