-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
simplify rke2 artifact path #256
base: main
Are you sure you want to change the base?
Conversation
defaults/main.yml
Outdated
@@ -136,7 +136,7 @@ rke2_tarball_images_path: "{{ rke2_data_path }}/agent/images" | |||
rke2_architecture: amd64 | |||
|
|||
# Destination directory for RKE2 installation script | |||
rke2_install_script_dir: /var/tmp | |||
rke2_install_script_dir: "{{ rke2_install_script_dir }}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a loop
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right, nice catch. My brain must have turned off while making that commit.
You're right, nice catch. My brain must have turned off while making that commit. Fixed it. |
@@ -143,7 +143,7 @@ rke2_data_path: /var/lib/rancher/rke2 | |||
rke2_artifact_url: https://github.com/rancher/rke2/releases/download/ | |||
|
|||
# Local path to store artifacts | |||
rke2_artifact_path: /rke2/artifact | |||
rke2_artifact_path: /var/tmp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we are gonna change it, let's change it to the path which is used in the RKE2 Docs https://docs.rke2.io/install/airgap (/root/rke2-artifacts)
@@ -174,7 +174,7 @@ rke2_tarball_images_path: "{{ rke2_data_path }}/agent/images" | |||
rke2_architecture: amd64 | |||
|
|||
# Destination directory for RKE2 installation script | |||
rke2_install_script_dir: /var/tmp | |||
rke2_install_script_dir: "{{ rke2_artifact_path }}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can stay as it is (/var/tmp
).
@@ -105,7 +105,7 @@ rke2_data_path: /var/lib/rancher/rke2 | |||
rke2_artifact_url: https://github.com/rancher/rke2/releases/download/ | |||
|
|||
# Local path to store artifacts | |||
rke2_artifact_path: /rke2/artifact | |||
rke2_artifact_path: /var/tmp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we are gonna change it, let's change it to the path which is used in the RKE2 Docs https://docs.rke2.io/install/airgap (/root/rke2-artifacts)
@@ -136,7 +136,7 @@ rke2_tarball_images_path: "{{ rke2_data_path }}/agent/images" | |||
rke2_architecture: amd64 | |||
|
|||
# Destination directory for RKE2 installation script | |||
rke2_install_script_dir: /var/tmp | |||
rke2_install_script_dir: "{{ rke2_artifact_path }}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can stay as it is (/var/tmp
).
Description
This is a more linux-y path to put temporary files.
Part of splitting up #203
Type of change
How Has This Been Tested?