diff --git a/packer-rocm/playbooks/amdgpu_install.yml b/packer-rocm/playbooks/amdgpu_install.yml index 172e54b..5ea1121 100644 --- a/packer-rocm/playbooks/amdgpu_install.yml +++ b/packer-rocm/playbooks/amdgpu_install.yml @@ -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' diff --git a/packer-rocm/playbooks/niccli.yml b/packer-rocm/playbooks/niccli.yml index b2e1b21..907ea2f 100644 --- a/packer-rocm/playbooks/niccli.yml +++ b/packer-rocm/playbooks/niccli.yml @@ -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) }}" diff --git a/packer-rocm/playbooks/os_prep.yml b/packer-rocm/playbooks/os_prep.yml index b1cbb9d..f27d573 100644 --- a/packer-rocm/playbooks/os_prep.yml +++ b/packer-rocm/playbooks/os_prep.yml @@ -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 diff --git a/packer-rocm/playbooks/package-globber.yml b/packer-rocm/playbooks/package-globber.yml index 77fa992..0eeede5 100644 --- a/packer-rocm/playbooks/package-globber.yml +++ b/packer-rocm/playbooks/package-globber.yml @@ -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) }}" diff --git a/packer-rocm/playbooks/tuned.yml b/packer-rocm/playbooks/tuned.yml index 559559b..08a32c4 100644 --- a/packer-rocm/playbooks/tuned.yml +++ b/packer-rocm/playbooks/tuned.yml @@ -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) }}"