Skip to content

Commit

Permalink
Fix variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
boutetnico committed Jun 28, 2023
1 parent 4002ddc commit d14e01a
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ backup_gcloud_command: gsutil
backup_gcloud_upload_enabled: false
backup_gcloud_bucket_name: mybucket

backup_b2_path: b2
backup_b2_command: b2
backup_b2_upload_enabled: false
backup_b2_bucket_name: mybucket

Expand Down
2 changes: 1 addition & 1 deletion templates/docker_mariabackup.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ upload() {
{% if item.vars.b2_upload_enabled | d(backup_b2_upload_enabled) %}
echo "Uploading to Backblaze B2..."

{{ backup_b2_path }} upload-file \
{{ backup_b2_command }} upload-file \
--quiet \
--noProgress \
{{ backup_b2_bucket_name }} \
Expand Down
2 changes: 1 addition & 1 deletion templates/files.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ upload() {
{% if item.vars.b2_upload_enabled | d(backup_b2_upload_enabled) %}
echo "Uploading to Backblaze B2..."

{{ backup_b2_path }} upload-file \
{{ backup_b2_command }} upload-file \
--quiet \
--noProgress \
{{ backup_b2_bucket_name }} \
Expand Down
2 changes: 1 addition & 1 deletion templates/influxdb.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ upload() {
{% if item.vars.b2_upload_enabled | d(backup_b2_upload_enabled) %}
echo "Uploading to Backblaze B2..."

{{ backup_b2_path }} upload-file \
{{ backup_b2_command }} upload-file \
--quiet \
--noProgress \
{{ backup_b2_bucket_name }} \
Expand Down
2 changes: 1 addition & 1 deletion templates/mongodump.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ upload() {
{% if item.vars.b2_upload_enabled | d(backup_b2_upload_enabled) %}
echo "Uploading to Backblaze B2..."

{{ backup_b2_path }} upload-file \
{{ backup_b2_command }} upload-file \
--quiet \
--noProgress \
{{ backup_b2_bucket_name }} \
Expand Down
2 changes: 1 addition & 1 deletion templates/mysqldump.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ upload() {
{% if item.vars.b2_upload_enabled | d(backup_b2_upload_enabled) %}
echo "Uploading to Backblaze B2..."

{{ backup_b2_path }} upload-file \
{{ backup_b2_command }} upload-file \
--quiet \
--noProgress \
{{ backup_b2_bucket_name }} \
Expand Down
2 changes: 1 addition & 1 deletion templates/s3_bucket.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ upload() {
{% if item.vars.b2_upload_enabled | d(backup_b2_upload_enabled) %}
echo "Uploading to Backblaze B2..."

{{ backup_b2_path }} upload-file \
{{ backup_b2_command }} upload-file \
--quiet \
--noProgress \
{{ backup_b2_bucket_name }} \
Expand Down
2 changes: 1 addition & 1 deletion templates/xtrabackup.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ upload() {
{% if item.vars.b2_upload_enabled | d(backup_b2_upload_enabled) %}
echo "Uploading to Backblaze B2..."

{{ backup_b2_path }} upload-file \
{{ backup_b2_command }} upload-file \
--quiet \
--noProgress \
{{ backup_b2_bucket_name }} \
Expand Down

0 comments on commit d14e01a

Please sign in to comment.