Skip to content

Commit

Permalink
support previous checksum format
Browse files Browse the repository at this point in the history
  • Loading branch information
gionn committed Mar 6, 2024
1 parent 8653292 commit 98070fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion roles/adf_app/meta/argument_specs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ argument_specs:
type: str
required: true
description: |
URL of the checksum of the archive that contains the adf app.
URL of the checksum of the archive that contains the adf app or the sha1 checksum.
adf_app_version:
type: str
required: true
Expand Down
2 changes: 1 addition & 1 deletion roles/adf_app/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
- adf_app_src_archive is defined
- adf_app_src_archive is url
- adf_app_src_checksum is defined
- adf_app_src_checksum is url
- adf_app_src_checksum is url or adf_app_src_checksum is match("^[a-fA-F0-9]{40}$")

- name: Create "{{ nginx_default_vhost_docroot }}/{{ adf_app_name }}/" dir
become: true
Expand Down

0 comments on commit 98070fb

Please sign in to comment.