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=
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user