As suggested in https://github.com/ansible-collections/community.windows/issues/429, I have added a case to handle CNAME creation when the cname is part of a subdomain.
This is my first contribution and I am not used to the contribution process, so I am sorry if this is not the right way to submit fixes.
Fixes #429
ISSUE TYPE
Bugfix Pull Request
COMPONENT NAME
win_dns_record
ADDITIONAL INFORMATION
If this fix is accepted, the documentation should be updated with instructions for creating aliases in subdomains.
Unfortunately, I didn't find where I could update the documentation in this repository.
The following task could be included in the examples on the documentation page :
- name: Create the alias helloworld.test.example.com pointing to myserver.example.com
community.windows.win_dns_record:
name: "helloworld.test"
type: "CNAME"
value: "myserver.example.com"
zone: "example.com"
SUMMARY
As suggested in https://github.com/ansible-collections/community.windows/issues/429, I have added a case to handle CNAME creation when the cname is part of a subdomain. This is my first contribution and I am not used to the contribution process, so I am sorry if this is not the right way to submit fixes.
Fixes #429
ISSUE TYPE
COMPONENT NAME
win_dns_record
ADDITIONAL INFORMATION
If this fix is accepted, the documentation should be updated with instructions for creating aliases in subdomains. Unfortunately, I didn't find where I could update the documentation in this repository. The following task could be included in the examples on the documentation page :