11 lines
242 B
YAML
11 lines
242 B
YAML
|
- name: Install Kube admin file into workstation
|
||
|
hosts: kube-master
|
||
|
become: true
|
||
|
|
||
|
tasks:
|
||
|
- name: Copy config file from master
|
||
|
ansible.builtin.fetch:
|
||
|
src: /etc/kubernetes/admin.conf
|
||
|
dest: ~/.kube/config
|
||
|
flat: yes
|