ansible_linode icon indicating copy to clipboard operation
ansible_linode copied to clipboard

[Bug]: linode.cloud.rdns applies change when rdns is already correctly set

Open brad2014 opened this issue 10 months ago • 1 comments

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.

brad2014 avatar Apr 19 '24 12:04 brad2014

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

ykim-1 avatar May 06 '24 19:05 ykim-1