mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-04 17:53:10 +00:00
send json string to api instead of dict
This commit is contained in:
@@ -207,7 +207,7 @@ def _create_or_update_bucket(connection, module, location):
|
||||
|
||||
if current_policy is None or json.loads(current_policy) != compare_policy:
|
||||
try:
|
||||
bucket.set_policy(load_policy)
|
||||
bucket.set_policy(policy)
|
||||
changed = True
|
||||
current_policy = bucket.get_policy()
|
||||
except S3ResponseError as e:
|
||||
|
||||
Reference in New Issue
Block a user