diff --git a/roles/peertube/tasks/main.yml b/roles/peertube/tasks/main.yml
index be76841..b469cf9 100644
--- a/roles/peertube/tasks/main.yml
+++ b/roles/peertube/tasks/main.yml
@@ -2,6 +2,11 @@
   - name: installation de docker...
     shell: curl https://releases.rancher.com/install-docker/20.10.sh | sh
 
+  - name: attente de l'installation...
+    wait_for:
+      timeout: 30
+      delegate_to: localhost
+
   - name: installation de k3s...
     shell: curl -sfL https://get.k3s.io | sh -s - --docker
 
diff --git a/roles/post/files/interfaces.s-peertube b/roles/post/files/interfaces.s-peertube
index 25fbfaa..ee01ad6 100644
--- a/roles/post/files/interfaces.s-peertube
+++ b/roles/post/files/interfaces.s-peertube
@@ -14,4 +14,4 @@ iface enp0s3 inet static
 allow-hotplug enp0s8
 iface enp0s8 inet static
         address 192.168.100.20/24
-	post-up systemctl start k3s && export KUBECONFIG=/etc/rancher/k3s/k3s.yaml
+	post-up systemctl start k3s && sleep 20 && export KUBECONFIG=/etc/rancher/k3s/k3s.yaml