Skip to content

Conversation

matteyeux
Copy link
Contributor

@matteyeux matteyeux commented Feb 3, 2025

Summary

Use k3s_install_dir instead of hardcoded /usr/local/bin path to install k3s-killall.sh and k3s-uninstall.sh

Fixes #234

Issue type

  • Bugfix

Test instructions

Change k3s_install_dir to something else, verify that k3s-killall.sh and k3s-uninstall.sh are copied to the said directory.

Additional Information

If the directory does not exist, install will fail. Do you think I should create the directory first ?

@matteyeux matteyeux changed the title use k3s_install_dir instead of hardcoded /usr/local/bin path to insta… use k3s_install_dir instead of hardcoded /usr/local/bin path to install k3s-killall.sh and k3s-uninstall.sh Feb 3, 2025
@matteyeux matteyeux force-pushed the main branch 2 times, most recently from af66904 to 5c9c8aa Compare February 3, 2025 15:20
@matteyeux
Copy link
Contributor Author

I am not sure what is wrong with the CI

@qlonik
Copy link

qlonik commented Mar 8, 2025

hey @matteyeux I had the exact same change submitted before, if you want to take over :)

#224

@onedr0p
Copy link
Collaborator

onedr0p commented Jul 11, 2025

@matteyeux can you please rebase your changes on main? I have fixed the CI, Thanks.

@onedr0p onedr0p merged commit d0b38da into PyratLabs:main Jul 11, 2025
9 checks passed
@matteyeux
Copy link
Contributor Author

Done @onedr0p

JesusMtnez pushed a commit to JesusMtnez/homelab that referenced this pull request Aug 3, 2025
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [xanmanning.k3s](https://github.com/PyratLabs/ansible-role-k3s) | role | minor | `v3.4.4` -> `v3.5.0` |

---

### Release Notes

<details>
<summary>PyratLabs/ansible-role-k3s (xanmanning.k3s)</summary>

### [`v3.5.0`](https://github.com/PyratLabs/ansible-role-k3s/releases/tag/v3.5.0)

[Compare Source](PyratLabs/ansible-role-k3s@v3.4.4...v3.5.0)

#### What's Changed

- add k3s\_service\_exec\_start\_pre\_vars for the k3s service by [@&#8203;longns1](https://github.com/longns1) in PyratLabs/ansible-role-k3s#226
- Fix node registration ip on dual stack by [@&#8203;logan2211](https://github.com/logan2211) in PyratLabs/ansible-role-k3s#230
- Check for cgroup v2 controllers by [@&#8203;ToroNZ](https://github.com/ToroNZ) in PyratLabs/ansible-role-k3s#233
- ci: fix tests, update workflow deps and tested platforms by [@&#8203;onedr0p](https://github.com/onedr0p) in PyratLabs/ansible-role-k3s#238
- use k3s\_install\_dir instead of hardcoded /usr/local/bin path to install k3s-killall.sh and k3s-uninstall.sh by [@&#8203;matteyeux](https://github.com/matteyeux) in PyratLabs/ansible-role-k3s#235

#### New Contributors

- [@&#8203;longns1](https://github.com/longns1) made their first contribution in PyratLabs/ansible-role-k3s#226
- [@&#8203;logan2211](https://github.com/logan2211) made their first contribution in PyratLabs/ansible-role-k3s#230
- [@&#8203;ToroNZ](https://github.com/ToroNZ) made their first contribution in PyratLabs/ansible-role-k3s#233

**Full Changelog**: PyratLabs/ansible-role-k3s@v3.4.4...v3.5.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4zMi4zIiwidXBkYXRlZEluVmVyIjoiNDEuMzIuMyIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwL21pbm9yIl19-->

Reviewed-on: https://codeberg.org/JesusMtnez/homelab/pulls/769
Co-authored-by: JesusMtnez-bot <jesusmartinez93+bot@gmail.com>
Co-committed-by: JesusMtnez-bot <jesusmartinez93+bot@gmail.com>
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 this pull request may close these issues.

killall/uninstall scripts are not copied in k3s_install_dir
3 participants