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