Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

packer-rocm/external: set 'all' hostspec, suggest '--limit' #77

Merged
merged 1 commit into from
Jan 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading