Skip to content

Commit

Permalink
packer-rocm/external: set 'all' hostspec, suggest '--limit'
Browse files Browse the repository at this point in the history
  • Loading branch information
joshlay2amd committed Jan 27, 2025
1 parent ae7c7c2 commit 71fa591
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packer-rocm/playbooks/amdgpu_install.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
- name: Manage 'amdgpu-install'
hosts: default
hosts: all
environment:
LANG: C # some tasks process std{out,err}, aim for consistency
# may be superfluous for your environment; mapped through Packer HCL with 'ansible_env_vars'
Expand Down
2 changes: 1 addition & 1 deletion packer-rocm/playbooks/niccli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# yamllint disable rule:line-length
# vim: ft=yaml.ansible
- name: "Prepare 'niccli' and driver"
hosts: default
hosts: all
environment: # may be superfluous for your environment; mapped through Packer HCL with 'ansible_env_vars'
http_proxy: "{{ lookup('ansible.builtin.env', 'http_proxy') | default(omit) }}"
https_proxy: "{{ lookup('ansible.builtin.env', 'https_proxy') | default(omit) }}"
Expand Down
2 changes: 1 addition & 1 deletion packer-rocm/playbooks/os_prep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# vim: ft=yaml.ansible
# This play runs before any others [by Packer, as provisioners]. Provides package repository and RDMA device naming overrides
- name: OS Preparation
hosts: default
hosts: all
become: true
vars: # change these with '-e var=...'
# one may find 'NAME_FALLBACK'/device-driven naming inconsistency with certain packages installed
Expand Down
2 changes: 1 addition & 1 deletion packer-rocm/playbooks/package-globber.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# vim: ft=yaml.ansible
- name: Package Globber # the Packer 'file' provisioner copies the files to the builder VM; this processes/installs
hosts: default
hosts: all
become: true
environment: # may be superfluous for your environment; mapped through Packer HCL with 'ansible_env_vars'
http_proxy: "{{ lookup('ansible.builtin.env', 'http_proxy') | default(omit) }}"
Expand Down
2 changes: 1 addition & 1 deletion packer-rocm/playbooks/tuned.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# yamllint disable rule:line-length
- name: "Prepare 'tuned' service+profile"
hosts: default
hosts: all
environment: # may be superfluous for your environment; mapped through Packer HCL with 'ansible_env_vars'
http_proxy: "{{ lookup('ansible.builtin.env', 'http_proxy') | default(omit) }}"
https_proxy: "{{ lookup('ansible.builtin.env', 'https_proxy') | default(omit) }}"
Expand Down

0 comments on commit 71fa591

Please sign in to comment.