--- - name: création du répertoire du dépot peertube... file: path: /root/tools/peertube state: directory mode: '0755' - name: clonage du dépot peertube... git: repo: https://github.com/Elam-Monnot/Peertube-helm.git dest: /root/tools/peertube clone: yes force: yes - name: copie de values.yaml... copy: src: /root/tools/ansible/gsb2023/roles/peertube/files/values.yaml dest: /root/tools/peertube/helm/ mode: '0644' - name: installation de helm... shell: curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash - name: installation de peertube... shell: helm repo add postgresql https://charts.bitnami.com/bitnami && helm repo add redis https://charts.bitnami.com/bitnami && helm repo add mail https://bokysan.github.io/docker-postfix - name: exposition du cluster... shell: export KUBECONFIG=/etc/rancher/k3s/k3s.yaml - name: lancement du helm chart peertube... shell: helm install --create-namespace -n peertube peertube-gsb /root/tools/peertube/helm