ansible_linode
ansible_linode copied to clipboard
[Bug]: linode.cloud.rdns applies change when rdns is already correctly set
Ansible Version
ansible [core 2.16.5]
Ansible Configuration
No response
Effected Components
linode.cloud.ip_rdns (version 0.25.6)
Run the same ip_rdns task multiple times. It reports "changed" each time.
Expected Behavior
If should report "ok" whenever the task is run again (when the rdns is already correctly set).
linode.cloud.ip_rdns should return {changed: false}
when the ip rdns is already correctly set.
Actual Behavior
Subsequent runs continue to report "changed":
TASK [Rdns ipv4] *****************************************************************************************************************************************************************************************************
changed: [localhost] => {"actions": ["Updated reverse DNS of the IP address *redacted_ip* to be *redacted_fqdn*"], "changed": true, "ip": {"address": "*redacted_ip*", "gateway": "*redacted*", "linode_id": *redacted*, "prefix": 24, "public": true, "rdns": "*redacted_fqdn*", "region": "*redacted*", "subnet_mask": "255.255.255.0", "type": "ipv4", "vpc_nat_1_1": null}}
Steps to Reproduce
Run the same ip_rdns task multiple times. It reports "changed" every time. The expected behavior is that it only report "changed" the first time only.
Hey @brad2014, thank you for raising this issue. We have created a ticket in our backlog and will provide updates once the issue is ready for review