refactor: Don't need to create volume

This commit is contained in:
pulsar89.5 2024-03-04 13:36:43 +01:00
parent 383ffae171
commit 319439c3ac

View File

@ -21,12 +21,6 @@
mode: u=rwX,g=rwX,o= mode: u=rwX,g=rwX,o=
become: true become: true
- name: Créer le volume
containers.podman.podman_volume:
name: "{{ item.split(':')[0] }}"
when: container.get('volumes', []) | length > 0
loop: "{{ container.volumes }}"
- name: Déployer le conteneur - name: Déployer le conteneur
ansible.builtin.template: ansible.builtin.template:
src: podman-quadlet.container.j2 src: podman-quadlet.container.j2