mirror of
https://github.com/PyratLabs/ansible-role-k3s
synced 2024-11-06 13:53:29 +01:00
12 lines
313 B
YAML
12 lines
313 B
YAML
---
|
|
|
|
- name: Get the latest release version from GitHub
|
|
uri:
|
|
url: "{{ k3s_github_api_releases }}"
|
|
return_content: true
|
|
body_format: json
|
|
register: k3s_latest_release
|
|
|
|
- name: Ensure the release version is set as a fact
|
|
set_fact:
|
|
k3s_release_version: "{{ k3s_latest_release.json.tag_name }}"
|