Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Commit

Permalink
fix(ansible): prefix variables with role name
Browse files Browse the repository at this point in the history
  • Loading branch information
JesusMtnez committed Dec 22, 2023
1 parent 27e51d6 commit 447b7e8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ansible/roles/k3s/tasks/agents.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
- --k3s-version
- "{{ k3s_version }}"
- --k3s-extra-args
- "{{ common_extra_args }}"
- "{{ k3s_common_extra_args }}"
with_items: "{{ groups['agents'] }}"
when: k3s_server_created is succeeded
2 changes: 1 addition & 1 deletion ansible/roles/k3s/tasks/servers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
- --k3s-version
- "{{ k3s_version }}"
- --k3s-extra-args
- "{{ servers_extra_args }} {{ common_extra_args }}"
- "{{ k3s_servers_extra_args }} {{ k3s_common_extra_args }}"
- --local-path
- "{{ k3s_repo_abs_path.stdout }}/kubeconfig"
with_items: "{{ groups['servers'] }}"
Expand Down
4 changes: 2 additions & 2 deletions ansible/roles/k3s/vars/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
# renovate: datasource=github-releases depName=k3s-io/k3s
k3s_version: "v1.29.0+k3s1"
common_extra_args: "--prefer-bundled-bin"
servers_extra_args: "--write-kubeconfig-mode=0644 --disable-helm-controller --disable=traefik --disable=servicelb"
k3s_common_extra_args: "--prefer-bundled-bin"
k3s_servers_extra_args: "--write-kubeconfig-mode=0644 --disable-helm-controller --disable=traefik --disable=servicelb"

0 comments on commit 447b7e8

Please sign in to comment.