Define variables tini_architecture and kubectl_architecture in the correct Ansible role

This commit is contained in:
Dennis Hoppe
2021-04-15 12:38:49 +02:00
parent c633313152
commit 1d4a83e613
2 changed files with 4 additions and 4 deletions

View File

@@ -4,3 +4,7 @@ kube_dev: false
dockerfile_dest: '../..'
dockerfile_name: 'Dockerfile'
template_dest: '_build'
# Helper vars to construct the proper download URL for the current architecture
tini_architecture: '{{ { "x86_64": "amd64", "aarch64": "arm64", "armv7": "arm" }[ansible_facts.architecture] }}'
kubectl_architecture: '{{ { "x86_64": "amd64", "aarch64": "arm64", "armv7": "arm" }[ansible_facts.architecture] }}'

View File

@@ -1,6 +1,2 @@
---
awx_image: quay.io/ansible/awx
# Helper vars to construct the proper download URL for the current architecture
tini_architecture: '{{ { "x86_64": "amd64", "aarch64": "arm64", "armv7": "arm" }[ansible_facts.architecture] }}'
kubectl_architecture: '{{ { "x86_64": "amd64", "aarch64": "arm64", "armv7": "arm" }[ansible_facts.architecture] }}'