diff --git a/changelogs/fragments/56900-route53-facts-check-mode.yaml b/changelogs/fragments/56900-route53-facts-check-mode.yaml new file mode 100644 index 00000000000..0da4b0b0384 --- /dev/null +++ b/changelogs/fragments/56900-route53-facts-check-mode.yaml @@ -0,0 +1,2 @@ +bugfixes: + - route53_facts - the module did not advertise check mode support, causing it not to be run in check mode. diff --git a/lib/ansible/modules/cloud/amazon/route53_facts.py b/lib/ansible/modules/cloud/amazon/route53_facts.py index 5ba4440d8f7..504f51e6de9 100644 --- a/lib/ansible/modules/cloud/amazon/route53_facts.py +++ b/lib/ansible/modules/cloud/amazon/route53_facts.py @@ -432,6 +432,7 @@ def main(): module = AnsibleModule( argument_spec=argument_spec, + supports_check_mode=True, mutually_exclusive=[ ['hosted_zone_method', 'health_check_method'], ],