mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2026-03-13 13:42:47 +01:00
build
This commit is contained in:
@@ -108,7 +108,6 @@
|
||||
when: inventory_hostname == 'rocky9-vm01.home.lan'
|
||||
|
||||
- name: Setup kubeconfig for user
|
||||
become_user: rocky
|
||||
shell: |
|
||||
mkdir -p $HOME/.kube
|
||||
cp -i /etc/kubernetes/admin.conf $HOME/.kube/config
|
||||
@@ -116,7 +115,6 @@
|
||||
when: inventory_hostname == 'rocky9-vm01.home.lan'
|
||||
|
||||
- name: Install Flannel CNI
|
||||
become_user: rocky
|
||||
command: kubectl apply -f https://raw.githubusercontent.com/flannel-io/flannel/master/Documentation/kube-flannel.yml
|
||||
when: inventory_hostname == 'rocky9-vm01.home.lan'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user