--- # ============================================================================ # Named podman volumes # ---------------------------------------------------------------------------- # Honcho itself is stateless; only postgres needs durable storage. # ============================================================================ - name: Ensure named volumes exist ansible.builtin.command: cmd: "podman volume create {{ item }}" register: volume_create changed_when: "'already exists' not in (volume_create.stderr | default(''))" failed_when: - volume_create.rc != 0 - "'already exists' not in (volume_create.stderr | default(''))" loop: - "{{ honcho_postgres_volume }}"