-
Notifications
You must be signed in to change notification settings - Fork 192
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Summary
The rke2_airgap_copy_additional_tarballs variable is present to copy local image tarballs to remote.
It would be nice if we can:
- Copy rke2_artifact to the offline image path. {{rke2_tarball_images_path}}. The rke2 scripting doesn't copy offline bundles for cillium etc.
- Download additional image tarballs from upstream.
For example for downloading additional image tarballs:
- name: Airgap mode - download additional images tarballs
when:
- rke2_airgap_mode
- ( rke2_airgap_download_additional_tarballs | length > 0 )
- rke2_airgap_implementation == 'download'
block:
- name: Create additional images tarballs folder
ansible.builtin.file:
path: "{{ rke2_tarball_images_path }}"
state: directory
mode: 0700
- name: Download rke2 image tarball
ansible.builtin.get_url:
url: "{{ item }}"
dest: "{{ rke2_tarball_images_path }}/{{ item | basename }}"
mode: 0644
force: yes
with_items: "{{ rke2_airgap_download_additional_tarballs }}"
Issue Type
Feature Idea
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request