Skip to content

Correct indentation for k3s_upgrade command#439

Merged
dereknola merged 1 commit into
k3s-io:masterfrom
dbanetto:fix-upgrade-error
Sep 4, 2025
Merged

Correct indentation for k3s_upgrade command#439
dereknola merged 1 commit into
k3s-io:masterfrom
dbanetto:fix-upgrade-error

Conversation

@dbanetto

@dbanetto dbanetto commented Sep 4, 2025

Copy link
Copy Markdown
Contributor

I recently updated my usage of k3s-asible to the latest from master and ran ansible-playbook -i ./inventory.yml ./playbooks/upgrade.yml which was getting me the following error

TASK [k3s_upgrade : Install new K3s Version] *****************************************************************
   fatal: [nuc]: FAILED! => {"changed": true, "msg": "Unsupported parameters for (ansible.legacy.command) module:
    environment. Supported parameters include: _raw_params, _uses_shell, argv, chdir, creates, executable, expand
   _argument_vars, removes, stdin, stdin_add_newline, strip_empty_ends."}

After a while I noticed that the changes from cd543a6 was not correctly indented for roles/k3s_upgrade.

I've managed to get my branch working this patch & running 1.33.4+k3s 🎉

Changes

  • Correct indentation for "Install new K3s Version" in roles/k3s_upgrade

Linked Issues

N/A

Signed-off-by: David Barnett <davidb@rnett.nz>
@dereknola
dereknola merged commit fad5c05 into k3s-io:master Sep 4, 2025
2 checks passed
alluabhijeet pushed a commit to alluabhijeet/k3s-ansible that referenced this pull request Apr 19, 2026
…toria-metrics-k8s-stack-0.x

chore(deps): update dependency victoriametrics/victoria-metrics-k8s-stack to v0.39.0
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.

2 participants