From 08c73d0416704eb70c3b174dd7e51c605ec7d348 Mon Sep 17 00:00:00 2001 From: Elam Monnot Date: Tue, 4 Apr 2023 08:41:40 +0200 Subject: [PATCH] fix: cluster reacheable during install process --- roles/peertube/tasks/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/peertube/tasks/main.yml b/roles/peertube/tasks/main.yml index 004acf5..7d05b0e 100644 --- a/roles/peertube/tasks/main.yml +++ b/roles/peertube/tasks/main.yml @@ -5,6 +5,9 @@ - name: installation de k3s... shell: curl -sfL https://get.k3s.io | sh -s - --docker + - name: exposition du cluster... + shell: export KUBECONFIG=/etc/rancher/k3s/k3s.yaml + - name: mise a jour de resolv.conf... copy: src: /root/tools/ansible/gsb2023/roles/peertube/files/resolv.conf @@ -22,6 +25,7 @@ repo: https://github.com/Elam-Monnot/Peertube-helm.git dest: /root/tools/peertube clone: yes + force: yes - name: copie de values.yaml... copy: