Skip to content

Commit

Permalink
Add conditional when creating volume based on user input
Browse files Browse the repository at this point in the history
  • Loading branch information
harishsurf committed Jun 27, 2024
1 parent 0279232 commit ff57778
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
- name: Create Sqlite storage named volume
containers.podman.podman_volume:
state: present
name: sqlite-storage
name: "{{ sqlite_storage }}"
when: "not sqlite_storage.startswith('/')"

- name: Run db-to-sqlite command via podman container
command: >
Expand Down

0 comments on commit ff57778

Please sign in to comment.