Skip to content

Commit

Permalink
set minimum backup version 1.0.0 and change the new source URL
Browse files Browse the repository at this point in the history
  • Loading branch information
hasithakanchana committed Oct 27, 2021
1 parent 3e31aa9 commit 0180a91
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
# clickhouse backup tool version to install
clickhouse_backup_version: 0.5.2
clickhouse_backup_version: 1.0.0
# clickhouse-backup config directory
clickhouse_backup_config_dir: /etc/clickhouse-backup

Expand Down
8 changes: 7 additions & 1 deletion tasks/install.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
---
- name: Install release package
- name: Install release package | 1.0.0
apt:
deb: https://github.com/AlexAkulov/clickhouse-backup/releases/download/v{{ clickhouse_backup_version }}/clickhouse-backup_{{ clickhouse_backup_version }}_amd64.deb
when: clickhouse_backup_version == '1.0.0'

- name: Install release package | latest
apt:
deb: https://github.com/AlexAkulov/clickhouse-backup/releases/download/{{ clickhouse_backup_version }}/clickhouse-backup_{{ clickhouse_backup_version }}_amd64.deb
when: clickhouse_backup_version != '1.0.0'

0 comments on commit 0180a91

Please sign in to comment.