Skip to content

Commit

Permalink
test: set ansible var properly for arm64 and x86
Browse files Browse the repository at this point in the history
Co-authored-by: Huo Qifeng <[email protected]>
Co-authored-by: Seunguk Shin <[email protected]>

Signed-off-by: Huo Qifeng <[email protected]>
  • Loading branch information
huoqifeng committed Dec 12, 2024
1 parent 522e0f1 commit eb029aa
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/e2e/ansible/group_vars/all
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,7 @@ test_pkgs:
- jq
centos:
- jq
target_arch: "{{ 'amd64' if ansible_architecture == 'x86_64' else ansible_architecture }}"
binaries_architecture:
x86_64: amd64
aarch64: arm64
target_arch: "{{ binaries_architecture[ansible_architecture] | default(ansible_architecture) }}"

0 comments on commit eb029aa

Please sign in to comment.