route53: always thinks alias record has changed #192
Labels
affects_2.10
bug
This issue/PR relates to a bug
module
module
plugins
plugin (any type)
waiting_on_contributor
Needs help. Feel free to engage to get things unblocked
SUMMARY
See: ansible/ansible#29858
Using
command=create
with theroute53
module for an alias record withoutoverwrite=yes
fails when the record already exists. It correctly detects matching record if you are not using alias records.The problem is the module accepts a domain without a trailing dot, e.g.
www.example.com
, but theroute53_info
module returns the domain with a trailing dot (e.g.www.example.com.
), so it seems that's what Ansible is using for the comparison, thus causing the error.ISSUE TYPE
COMPONENT NAME
route53
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
macOS / Linux (all)
STEPS TO REPRODUCE
EXPECTED RESULTS
ACTUAL RESULTS
Notes
From @petrosad's comment in the original issue:
The text was updated successfully, but these errors were encountered: