Skip to content

Commit 71fa591

Browse files
committed
packer-rocm/external: set 'all' hostspec, suggest '--limit'
1 parent ae7c7c2 commit 71fa591

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

packer-rocm/playbooks/amdgpu_install.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
- name: Manage 'amdgpu-install'
3-
hosts: default
3+
hosts: all
44
environment:
55
LANG: C # some tasks process std{out,err}, aim for consistency
66
# may be superfluous for your environment; mapped through Packer HCL with 'ansible_env_vars'

packer-rocm/playbooks/niccli.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# yamllint disable rule:line-length
33
# vim: ft=yaml.ansible
44
- name: "Prepare 'niccli' and driver"
5-
hosts: default
5+
hosts: all
66
environment: # may be superfluous for your environment; mapped through Packer HCL with 'ansible_env_vars'
77
http_proxy: "{{ lookup('ansible.builtin.env', 'http_proxy') | default(omit) }}"
88
https_proxy: "{{ lookup('ansible.builtin.env', 'https_proxy') | default(omit) }}"

packer-rocm/playbooks/os_prep.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# vim: ft=yaml.ansible
33
# This play runs before any others [by Packer, as provisioners]. Provides package repository and RDMA device naming overrides
44
- name: OS Preparation
5-
hosts: default
5+
hosts: all
66
become: true
77
vars: # change these with '-e var=...'
88
# one may find 'NAME_FALLBACK'/device-driven naming inconsistency with certain packages installed

packer-rocm/playbooks/package-globber.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
# vim: ft=yaml.ansible
33
- name: Package Globber # the Packer 'file' provisioner copies the files to the builder VM; this processes/installs
4-
hosts: default
4+
hosts: all
55
become: true
66
environment: # may be superfluous for your environment; mapped through Packer HCL with 'ansible_env_vars'
77
http_proxy: "{{ lookup('ansible.builtin.env', 'http_proxy') | default(omit) }}"

packer-rocm/playbooks/tuned.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
# yamllint disable rule:line-length
33
- name: "Prepare 'tuned' service+profile"
4-
hosts: default
4+
hosts: all
55
environment: # may be superfluous for your environment; mapped through Packer HCL with 'ansible_env_vars'
66
http_proxy: "{{ lookup('ansible.builtin.env', 'http_proxy') | default(omit) }}"
77
https_proxy: "{{ lookup('ansible.builtin.env', 'https_proxy') | default(omit) }}"

0 commit comments

Comments
 (0)