Skip to content

Commit 60bd9aa

Browse files
committed
Fix reference to undefined storage tags variable
Signed-off-by: Webster Mudge <[email protected]>
1 parent ff49068 commit 60bd9aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

roles/infrastructure/tasks/setup_aws_storage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
loop: "{{ infra__aws_storage_locations }}"
5353

5454
- name: Update AWS Buckets tags (overwrite)
55-
when: __infra_aws_storage_tags_list
55+
when: __infra_aws_storage_tags_list is defined
5656
ansible.builtin.command: >
5757
aws s3api put-bucket-tagging
5858
--bucket {{ __infra_aws_storage_location_item.bucket }}
@@ -72,7 +72,7 @@
7272
permission: private
7373

7474
- name: Update Download Mirror Buckets tags (overwrite)
75-
when: infra__create_utility_service and __infra_aws_storage_tags_list
75+
when: infra__create_utility_service and __infra_aws_storage_tags_list is defined
7676
ansible.builtin.command: >
7777
aws s3api put-bucket-tagging
7878
--bucket {{ infra__utlity_bucket_name }}

0 commit comments

Comments
 (0)