Skip to content

Commit

Permalink
controller
Browse files Browse the repository at this point in the history
  • Loading branch information
bbaassssiiee committed Dec 19, 2024
1 parent d373a2c commit dee6f3b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions kube-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
tasks:

- name: Create local config dirs
delegate_to: localhost
delegate_to: controller
become: true
ansible.builtin.file:
path: "~{{ local_user }}/.kube"
Expand All @@ -30,7 +30,7 @@
flat: true

- name: Configure k8s master
delegate_to: localhost
delegate_to: controller
become: true
ansible.builtin.lineinfile:
path: "~{{ local_user }}/.kube/config"
Expand All @@ -40,7 +40,7 @@
mode: '0600'

- name: Create local config dirs
delegate_to: localhost
delegate_to: controller
become: true
ansible.builtin.file:
path: "~{{ cluster_admin | default('root') }}/.kube"
Expand All @@ -50,7 +50,7 @@
mode: '0700'

- name: Copy kube config to cluster
delegate_to: localhost
delegate_to: controller
become: true
ansible.builtin.copy:
remote_src: true
Expand Down

0 comments on commit dee6f3b

Please sign in to comment.