1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/integration/targets/aws_ses_rule_set/tasks/cleanup-lock.yaml

16 lines
600 B
YAML
Raw Normal View History

---
# ============================================================
# Release a lock obtained using obtain-lock.yaml
# This should be included in the always clause of a block to
# ensure the lock is released. See obtain-lock.yaml for more
# details of how the locking works.
# ============================================================
- cloudwatchlogs_log_group:
log_group_name: "{{ lock_attempt_log_group_name }}"
state: absent
aws_access_key: "{{ aws_access_key }}"
aws_secret_key: "{{ aws_secret_key }}"
security_token: "{{ security_token }}"
region: "{{ aws_region }}"