Skip to content

Commit 37d1676

Browse files
committed
packer-rocm: list 'niccli' reqs in 'vars', not 'defaults'
1 parent 2522ffb commit 37d1676

File tree

2 files changed

+40
-39
lines changed

2 files changed

+40
-39
lines changed

packer-rocm/playbooks/roles/niccli/defaults/main.yml

-39
Original file line numberDiff line numberDiff line change
@@ -17,42 +17,3 @@ niccli_url: 'https://docs.broadcom.com/docs-and-downloads/ethernet-network-adapt
1717
# install the CLI and driver by default, may opt out
1818
niccli_driver: true
1919
niccli_wanted: true
20-
21-
niccli_requirements: # mapped by 'ansible_os_family' fact
22-
common:
23-
- automake # only 'suggested' by 'build-essential' metapkg, not mentioned by 'Development Tools' group
24-
- autoconf # "
25-
- dkms
26-
- infiniband-diags
27-
- pciutils
28-
- rdma-core
29-
- strace
30-
- unzip
31-
Debian:
32-
- build-essential
33-
- ibverbs-providers
34-
- ibverbs-utils
35-
- libaio-dev
36-
- libibverbs1
37-
- libibverbs-dev
38-
- libstdc++-12-dev
39-
- libelf-dev
40-
- libibumad-dev
41-
- librdmacm-dev
42-
- linux-headers-generic
43-
- "linux-headers-{{ ansible_kernel }}"
44-
- "linux-modules-extra-{{ ansible_kernel }}"
45-
- pkg-config
46-
- rdmacm-utils
47-
RedHat:
48-
- '@Development Tools' # group notation (@...) requires quoting
49-
- kernel-headers
50-
- kernel-devel-matched
51-
- kernel-modules-extra
52-
- libstdc++-devel
53-
- libaio-devel
54-
- libibumad
55-
- libibverbs
56-
- libibverbs-utils
57-
- elfutils-libelf-devel
58-
- librdmacm-utils

packer-rocm/playbooks/roles/niccli/vars/main.yml

+40
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,43 @@ niccli_pkg_anyarch:
1010
niccli_pkg_ext:
1111
Debian: '.deb'
1212
RedHat: '.rpm'
13+
14+
# distribution packages to install before those for 'niccli'; mapped by 'ansible_os_family' fact
15+
niccli_requirements:
16+
common:
17+
- automake # only 'suggested' by 'build-essential' metapkg, not mentioned by 'Development Tools' group
18+
- autoconf # "
19+
- dkms
20+
- infiniband-diags
21+
- pciutils
22+
- rdma-core
23+
- strace
24+
- unzip
25+
Debian:
26+
- build-essential
27+
- ibverbs-providers
28+
- ibverbs-utils
29+
- libaio-dev
30+
- libibverbs1
31+
- libibverbs-dev
32+
- libstdc++-12-dev
33+
- libelf-dev
34+
- libibumad-dev
35+
- librdmacm-dev
36+
- linux-headers-generic
37+
- "linux-headers-{{ ansible_kernel }}"
38+
- "linux-modules-extra-{{ ansible_kernel }}"
39+
- pkg-config
40+
- rdmacm-utils
41+
RedHat:
42+
- '@Development Tools' # group notation (@...) requires quoting
43+
- kernel-headers
44+
- kernel-devel-matched
45+
- kernel-modules-extra
46+
- libstdc++-devel
47+
- libaio-devel
48+
- libibumad
49+
- libibverbs
50+
- libibverbs-utils
51+
- elfutils-libelf-devel
52+
- librdmacm-utils

0 commit comments

Comments
 (0)