Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFE: win_dns_client should support diff and return what changes where made #561

Open
opoplawski opened this issue Oct 18, 2023 · 0 comments

Comments

@opoplawski
Copy link

SUMMARY

win_dns_client does not give any information about what was changed. It should support diff mode and return variables indicating the adapters changed.

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

win_dns_client

ADDITIONAL INFORMATION
    -  ansible.windows.win_dns_client:
        adapter_names: '*'
        dns_servers:
          - 10.0.0.1
          - 10.0.0.2
result: {
  "changed": true,
  "modified": ["Ethernet Connection 1"], 
  "diff": {
    "before": { [ "name": "Ethernet Connection 1", "dns_servers": ["192.168.1.1"] },
    "after": { [  "name": "Ethernet Connection 1", "dns_servers": ["10.0.0.1", "10.0.0.2"] }
  }
}
<!--- HINT: You can also paste gist.github.com links for larger files -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant