mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-ansible-private.git
synced 2025-10-27 08:43:05 +00:00
Update roles/kube-master/tasks/main.yml
This commit is contained in:
@ -3,6 +3,14 @@
|
||||
args:
|
||||
creates: /etc/kubernetes/admin.conf
|
||||
|
||||
- name: Criar diretório .kube para o usuário ubuntu
|
||||
ansible.builtin.file:
|
||||
path: /home/ubuntu/.kube
|
||||
state: directory
|
||||
owner: ubuntu
|
||||
group: ubuntu
|
||||
mode: 0755
|
||||
|
||||
- name: Set up kubeconfig for user
|
||||
copy:
|
||||
src: /etc/kubernetes/admin.conf
|
||||
|
||||
Reference in New Issue
Block a user