diff --git a/tasks/configuration.yml b/tasks/configuration.yml index 15630c4..1094cc3 100644 --- a/tasks/configuration.yml +++ b/tasks/configuration.yml @@ -24,7 +24,7 @@ - name: Créer le volume containers.podman.podman_volume: name: "{{ item.split(':')[0] }}" - when: container.volumes | length > 0 + when: container.get('volumes', []) | length > 0 loop: "{{ container.volumes }}" - name: Déployer le conteneur