Configurable backup prefix
This commit is contained in:
parent
1622fae1a0
commit
3df4186816
1
defaults/main.yml
Normal file
1
defaults/main.yml
Normal file
@ -0,0 +1 @@
|
||||
backup_bucket_prefix: backup
|
@ -54,7 +54,7 @@
|
||||
|
||||
- name: "Create a bucket for the backups"
|
||||
amazon.aws.s3_bucket:
|
||||
name: "icd-backup-{{ inventory_hostname }}"
|
||||
name: "{{ backup_bucket_prefix }}-{{ inventory_hostname }}"
|
||||
state: present
|
||||
endpoint_url: "{{ cloudflare_r2_endpoint }}"
|
||||
access_key: "{{ cloudflare_r2_access_key }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user