Skip to content

Commit

Permalink
add description
Browse files Browse the repository at this point in the history
  • Loading branch information
Egor Vasiliev 00665613 committed Apr 9, 2024
1 parent 77f82aa commit f71f329
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tasks/configure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@

- name: Set proper version for apt repo
ansible.builtin.set_fact:
# input: 1.27.1 or 1.27.13 or v1.27.13
# output: v1.27
# first slash escapes second slash
k8s_cluster_apt_kubernetes_version: "{{ k8s_cluster_kubernetes_version | regex_replace('^v?(\\d\\.\\d\\d)\\.\\d*$', 'v\\1') }}"

- name: Add Kubernetes apt key
Expand Down

0 comments on commit f71f329

Please sign in to comment.