Skip to content
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

Parameterize Temporary Directory used during Tarball Install #172

Closed
robnk23 opened this issue Nov 10, 2023 · 0 comments · Fixed by #173
Closed

Parameterize Temporary Directory used during Tarball Install #172

robnk23 opened this issue Nov 10, 2023 · 0 comments · Fixed by #173

Comments

@robnk23
Copy link
Contributor

robnk23 commented Nov 10, 2023

During a tarball install the rke2 executable is run from a temporary directory that is created in the system default temp dir, usually /tmp. If /tmp is mounted with the noexec option the tarball install will fail.

The task that creates the temporary directory is here:

roles/rke2_common/tasks/tarball_install.yml
---
- name: TARBALL | Make temp dir
  ansible.builtin.tempfile:
    state: directory
    suffix: rke2-install.XXXXXXXXXX
  register: temp_dir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant