# TASK [ibm.mas_devops.cos_bucket : Assert cos bucket 'fvtstable-masdev-bucket' was created] ***************************************************************************************************************
# [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ cos_bucket_create_output.stdout_lines|select('equalto', 'Apply complete! Resources: 1
# added, 0 changed, 0 destroyed.')| list | length }}
# fatal: [localhost]: FAILED! => {"msg": "The conditional check '{{ cos_bucket_create_output.stdout_lines|select('equalto', 'Apply complete! Resources: 1 added, 0 changed, 0 destroyed.')| list | length }}' failed. The error was: Conditional is marked as unsafe, and cannot be evaluated."}
Recommended fix is remove the jina2 brackets and put the entire condition in quotes. Variables are all resolved and do not need to be replaced, so templates do not need to be used. Follow evidences after the update. It covers creation and deletion of buckets:
Unified
suite_management_attachments_config
rolecr
or viadb
(sql, default) - a new parameter has been created for thatfilestorage
(default),ibm
oraws
Test Evidences:
(1) ✅
(2) ✅
db
filestorage
(3) - ✅
cr
ibm
(4) - ✅
cr
filestorage
export MAS_MANAGE_ATTACHMENT_CONFIGURATION_MODE=cr export MAS_MANAGE_ATTACHMENTS_PROVIDER= filestorage export MAS_INSTANCE_ID=fvtstable export MAS_WORKSPACE_ID=masdev
Other Fixes, before unifying the roles
Error when cos_bucket was created:
Recommended fix is remove the jina2 brackets and put the entire condition in quotes. Variables are all resolved and do not need to be replaced, so templates do not need to be used. Follow evidences after the update. It covers creation and deletion of buckets:
Certificates could not be retrieved
(Missed to capture the error)
Updated regex made it pass: