Skip to content
Snippets Groups Projects
Commit 1712314f authored by Andrey Zhelnin's avatar Andrey Zhelnin Committed by Kubernetes Prow Robot
Browse files

Setting host_architecture var (#3846)

Setting host_architecture to allow etcd upgrade working through: ansible-playbook -b -i inventory/sample/hosts.ini cluster.yml --tags=etcd (on other case host_architecture is missing)
parent 7da9880f
No related branches found
No related tags found
No related merge requests found
--- ---
- set_fact:
architecture_groups:
x86_64: amd64
aarch64: arm64
- name: ansible_architecture_rename
set_fact:
host_architecture: >-
{%- if ansible_architecture in architecture_groups -%}
{{architecture_groups[ansible_architecture]}}
{%- else -%}
{{ansible_architecture}}
{% endif %}
- include_tasks: check_certs.yml - include_tasks: check_certs.yml
when: cert_management == "script" when: cert_management == "script"
tags: tags:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment