From 00c837ad55bce4988dd285b69597d47b62a02842 Mon Sep 17 00:00:00 2001 From: "pulsar89.5" Date: Sat, 8 Jun 2024 03:09:43 +0200 Subject: [PATCH] fix: Add fix for pasta --- defaults/main.yml | 1 + handlers/main.yml | 10 ++++++++++ tasks/installation.yml | 1 + 3 files changed, 12 insertions(+) diff --git a/defaults/main.yml b/defaults/main.yml index a921a5c..6e762ce 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -2,6 +2,7 @@ # defaults file for podman podman_configure_rsyslog: true +podman_fix_pasta: true podman_ssh_host: "{{ inventory_hostname }}" podman_ssh_port: 22 diff --git a/handlers/main.yml b/handlers/main.yml index a3cd06a..05778e4 100644 --- a/handlers/main.yml +++ b/handlers/main.yml @@ -1,6 +1,16 @@ --- # handlers file for exim4 +# source: https://github.com/containers/buildah/issues/5440#issuecomment-2028911573 +- name: Corriger le problème passt VS pasta + ansible.builtin.file: + state: hard + force: true + src: /usr/bin/passt + dest: /usr/bin/pasta + when: podman_fix_pasta + become: true + - name: Redémarrer l'instance ansible.builtin.reboot: become: true diff --git a/tasks/installation.yml b/tasks/installation.yml index 2ff649d..726e71e 100644 --- a/tasks/installation.yml +++ b/tasks/installation.yml @@ -22,6 +22,7 @@ state: present become: true notify: + - Corriger le problème passt VS pasta - Redémarrer l'instance - Attendre que le port SSH soit ouvert