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

azure_rm_dnsrecordset doesn't apply metadata tags for records #470

Closed
tlourey opened this issue Mar 26, 2021 · 0 comments · Fixed by #589
Closed

azure_rm_dnsrecordset doesn't apply metadata tags for records #470

tlourey opened this issue Mar 26, 2021 · 0 comments · Fixed by #589
Labels
bug Something isn't working has_pr PR fixes have been made medium_priority Medium priority new_feature New feature requirments

Comments

@tlourey
Copy link

tlourey commented Mar 26, 2021

SUMMARY

azure_rm_dnsrecordset doesn't apply metadata tags for records even with set with append_tags: yes or absent.

ISSUE TYPE
  • Bug Report
COMPONENT NAME

azure_rm_dnsrecordset

ANSIBLE VERSION
 [azureuser@quickstartansible-vm ~]$ ansible --version
ansible 2.10.7
  config file = /home/azureuser/.ansible.cfg
  configured module search path = ['/home/azureuser/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/lib/python3.6/site-packages/ansible
  executable location = /usr/local/bin/ansible
  python version = 3.6.8 (default, Nov 16 2020, 16:55:22) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)]
[azureuser@quickstartansible-vm ~]$
CONFIGURATION

OS / ENVIRONMENT

CentOS Linux release 7.9.2009 (Core)

STEPS TO REPRODUCE

Run below play

  - name: Set "A" record with Public IP address
    azure_rm_dnsrecordset: # used because azure_rm_dnsrecordset doesn't allow setting DNS Alias
      resource_group: "{{ dns_resource_group }}"
      relative_name: "{{ dnshostname }}"
      zone_name: "{{ dnszone }}"
      record_type: A
      records:
        - entry: "{{ output_ip_address.state.ip_address }}"
      append_tags: yes
      tags:
        tagname: value
EXPECTED RESULTS

Metadata key of tagname and value of value should exist on dns record created

ACTUAL RESULTS

Metadata does not exist

TASK [Set "A" record with Public IP address] *************************************************************************************************************************************************************************[WARNING]: Azure API profile latest does not define an entry for DnsManagementClient
ok: [localhost]
@Fred-sun Fred-sun added bug Something isn't working has_pr PR fixes have been made medium_priority Medium priority new_feature New feature requirments labels Aug 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working has_pr PR fixes have been made medium_priority Medium priority new_feature New feature requirments
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants