Fix installer for existing cezen user

This commit is contained in:
Jino Jose committed 2026-06-25 07:43:15 +05:30
1 parent b9aa72f038
commit 686691fff7
3 files changed
+28 -28

No files matched your search

+5 -5
View File
@@ -42,17 +42,17 @@
- name: Set KUBECONFIG in cezen .bashrc
lineinfile:
path: /opt/cezen/.bashrc
line: 'export KUBECONFIG=/opt/cezen/.kube/config'
path: "{{ cezen_login_home }}/.bashrc"
line: 'export KUBECONFIG={{ cezen_home }}/.kube/config'
create: yes
owner: cezen
owner: "{{ cezen_user }}"
- name: Install kubectl alias for cezen
lineinfile:
path: /opt/cezen/.bashrc
path: "{{ cezen_login_home }}/.bashrc"
line: "alias kubectl='k3s kubectl'"
create: yes
owner: cezen
owner: "{{ cezen_user }}"
- name: Verify K3s node is ready
command: k3s kubectl get nodes