refactor: Don't need to create volume
This commit is contained in:
parent
383ffae171
commit
319439c3ac
@ -21,12 +21,6 @@
|
||||
mode: u=rwX,g=rwX,o=
|
||||
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
|
||||
ansible.builtin.template:
|
||||
src: podman-quadlet.container.j2
|
||||
|
Loading…
Reference in New Issue
Block a user