Skip to content

Commit

Permalink
ensure data dir exists for version file
Browse files Browse the repository at this point in the history
  • Loading branch information
ahembree committed Aug 19, 2024
1 parent 6c665a9 commit a846944
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions hms-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@
when:
- prev_var_dir.stat.exists and not prev_var_dir.stat.islnk

- name: Ensure data path exists locally.
ansible.builtin.file:
path: "{{ hms_docker_data_path }}"
state: directory

- name: Check if version file exists
stat:
path: "{{ hmsd_version_file }}"
Expand Down

0 comments on commit a846944

Please sign in to comment.