Skip to content

Commit

Permalink
fix: add jira_checksum_url variable
Browse files Browse the repository at this point in the history
  • Loading branch information
antmelekhin committed Jul 20, 2024
1 parent e343069 commit e557cf8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Role Variables
- `jira_version` The version of Jira to download (default: `9.12.11`).
- `jira_archive_name` Jira archive name (default: `atlassian-jira-software-9.12.11.tar.gz`).
- `jira_download_url` URL to download the Jira archive (default: `https://www.atlassian.com/software/jira/downloads/binary`).
- `jira_checksum_url` The Jira checksum file URL (default: `{{ jira_download_url }}/{{ jira_archive_name }}.sha256`).
- `jira_download_path` Local path to download and extract the archive (default: `/tmp`).
- `jira_user` and `jira_group` System user and group that will be created (default: `jira`).
- `jira_root_path` The Jira installation directory (default: `/opt/atlassian/jira`).
Expand Down
1 change: 1 addition & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ jira_product: 'software'
jira_version: '9.12.11'
jira_archive_name: 'atlassian-jira-{{ jira_product }}-{{ jira_version }}.tar.gz'
jira_download_url: 'https://www.atlassian.com/software/jira/downloads/binary'
jira_checksum_url: '{{ jira_download_url }}/{{ jira_archive_name }}.sha256'
jira_download_path: '/tmp'

# The Jira user and group
Expand Down
1 change: 1 addition & 0 deletions tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
ansible.builtin.get_url:
url: '{{ jira_download_url }}/{{ jira_archive_name }}'
dest: '{{ jira_download_path }}/{{ jira_archive_name }}'
checksum: 'sha256:{{ jira_checksum_url }}'
mode: 0644
delegate_to: localhost

Expand Down

0 comments on commit e557cf8

Please sign in to comment.