mirror of
https://github.com/JamesTurland/JimsGarage.git
synced 2025-10-03 17:06:16 +00:00
rke2
This commit is contained in:
20
Ansible/Playbooks/RKE2/roles/rke2-download/tasks/main.yaml
Normal file
20
Ansible/Playbooks/RKE2/roles/rke2-download/tasks/main.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
# Create a directory to download RKE2 binary to
|
||||
- name: Create directory for RKE2 binary
|
||||
ansible.builtin.file:
|
||||
path: "{{ rke2_install_dir }}"
|
||||
state: directory
|
||||
mode: '0755'
|
||||
|
||||
# Download the RKE2 binary
|
||||
- name: Download RKE2 binary
|
||||
ansible.builtin.get_url:
|
||||
url: "{{ rke2_binary_url }}"
|
||||
dest: "{{ rke2_install_dir }}/rke2"
|
||||
mode: '0755'
|
||||
|
||||
# Set permissions on the RKE2 binary
|
||||
- name: Set executable permissions on the RKE2 binary
|
||||
ansible.builtin.file:
|
||||
path: "{{ rke2_install_dir }}/rke2"
|
||||
mode: '0755'
|
||||
state: file
|
Reference in New Issue
Block a user