{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/36493","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/36493/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/36493/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/36493/events","html_url":"https://github.com/ansible/ansible/pull/36493","id":298886583,"number":36493,"title":"Adding module win_dns_a","user":{"login":"Daniel-Sanchez-Fabregas","id":33929811,"avatar_url":"https://avatars0.githubusercontent.com/u/33929811?v=4","gravatar_id":"","url":"https://api.github.com/users/Daniel-Sanchez-Fabregas","html_url":"https://github.com/Daniel-Sanchez-Fabregas","followers_url":"https://api.github.com/users/Daniel-Sanchez-Fabregas/followers","following_url":"https://api.github.com/users/Daniel-Sanchez-Fabregas/following{/other_user}","gists_url":"https://api.github.com/users/Daniel-Sanchez-Fabregas/gists{/gist_id}","starred_url":"https://api.github.com/users/Daniel-Sanchez-Fabregas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Daniel-Sanchez-Fabregas/subscriptions","organizations_url":"https://api.github.com/users/Daniel-Sanchez-Fabregas/orgs","repos_url":"https://api.github.com/users/Daniel-Sanchez-Fabregas/repos","events_url":"https://api.github.com/users/Daniel-Sanchez-Fabregas/events{/privacy}","received_events_url":"https://api.github.com/users/Daniel-Sanchez-Fabregas/received_events","type":"User","site_admin":false},"labels":[{"id":501518759,"url":"https://api.github.com/repos/ansible/ansible/labels/community_review","name":"community_review","color":"f9d0c4","default":false},{"id":496359346,"url":"https://api.github.com/repos/ansible/ansible/labels/module","name":"module","color":"1d76db","default":false},{"id":503572087,"url":"https://api.github.com/repos/ansible/ansible/labels/needs_triage","name":"needs_triage","color":"0e8a16","default":false},{"id":723150340,"url":"https://api.github.com/repos/ansible/ansible/labels/new_contributor","name":"new_contributor","color":"ededed","default":false},{"id":473225334,"url":"https://api.github.com/repos/ansible/ansible/labels/new_module","name":"new_module","color":"ededed","default":false},{"id":153577825,"url":"https://api.github.com/repos/ansible/ansible/labels/new_plugin","name":"new_plugin","color":"bfe5bf","default":false},{"id":383076471,"url":"https://api.github.com/repos/ansible/ansible/labels/python3","name":"python3","color":"fbca04","default":false},{"id":636327968,"url":"https://api.github.com/repos/ansible/ansible/labels/support:community","name":"support:community","color":"ededed","default":false},{"id":108461331,"url":"https://api.github.com/repos/ansible/ansible/labels/windows","name":"windows","color":"777777","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-02-21T08:57:17Z","updated_at":"2018-02-21T13:40:32Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/ansible/ansible/pulls/36493","html_url":"https://github.com/ansible/ansible/pull/36493","diff_url":"https://github.com/ansible/ansible/pull/36493.diff","patch_url":"https://github.com/ansible/ansible/pull/36493.patch"},"body":"##### SUMMARY\r\n<!--- Describe the change, including rationale and design decisions -->\r\nThis module adds a DNS A record to Active Directory.\r\nThe main use case is to add non-windows computers to Active Directory\r\nDNS through a bridge windows computer.\r\n\r\n<!---\r\nIf you are fixing an existing issue, please include \"Fixes #nnn\" in your\r\ncommit message and your description; but you should still explain what\r\nthe change does.\r\n-->\r\n\r\n##### ISSUE TYPE\r\n<!--- Pick one below and delete the rest: -->\r\n - New Module Pull Request\r\n\r\n##### COMPONENT NAME\r\n<!--- Name of the module, plugin, module or task -->\r\nwin_dns_a\r\n\r\n##### ANSIBLE VERSION\r\n<!--- Paste verbatim output from \"ansible --version\" between quotes below -->\r\n```\r\nansible 2.4.3.0\r\n  config file = ~/.ansible.cfg\r\n  configured module search path = ['~/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']\r\n  ansible python module location = ~/.local/share/virtualenvs/ansible/lib/python3.6/site-packages/ansible\r\n  executable location = ~/.local/share/virtualenvs/ansible/bin/ansible\r\n  python version = 3.6.4 (default, Feb  8 2018, 14:42:51) [GCC 7.3.1 20180130 (Red Hat 7.3.1-2)]\r\n```\r\n\r\n\r\n##### ADDITIONAL INFORMATION\r\nExample of use:\r\n```\r\n  - name: Add linux computer DNS A record in Active Directory using a windows machine\r\n    win_dns_a:\r\n      computer_name: dns_controller.example.com\r\n      zone_name: example.com\r\n      name: linux_server.example.com\r\n      ipv4_address: 192.168.0.1\r\n      state: present\r\n    delegate_to: windows_brigde.example.com\r\n\r\n  - name: Remove linux computer DNS A record in Active Directory using a windows machine\r\n    win_dns_a:\r\n      computer_name: dns_controller.example.com\r\n      zone_name: example.com\r\n      name: linux_server.example.com\r\n      state: absent\r\n    delegate_to: windows_brigde.example.com\r\n```"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/367328746","html_url":"https://github.com/ansible/ansible/pull/36493#issuecomment-367328746","issue_url":"https://api.github.com/repos/ansible/ansible/issues/36493","id":367328746,"user":{"login":"Daniel-Sanchez-Fabregas","id":33929811,"avatar_url":"https://avatars0.githubusercontent.com/u/33929811?v=4","gravatar_id":"","url":"https://api.github.com/users/Daniel-Sanchez-Fabregas","html_url":"https://github.com/Daniel-Sanchez-Fabregas","followers_url":"https://api.github.com/users/Daniel-Sanchez-Fabregas/followers","following_url":"https://api.github.com/users/Daniel-Sanchez-Fabregas/following{/other_user}","gists_url":"https://api.github.com/users/Daniel-Sanchez-Fabregas/gists{/gist_id}","starred_url":"https://api.github.com/users/Daniel-Sanchez-Fabregas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Daniel-Sanchez-Fabregas/subscriptions","organizations_url":"https://api.github.com/users/Daniel-Sanchez-Fabregas/orgs","repos_url":"https://api.github.com/users/Daniel-Sanchez-Fabregas/repos","events_url":"https://api.github.com/users/Daniel-Sanchez-Fabregas/events{/privacy}","received_events_url":"https://api.github.com/users/Daniel-Sanchez-Fabregas/received_events","type":"User","site_admin":false},"created_at":"2018-02-21T13:40:32Z","updated_at":"2018-02-21T13:40:32Z","author_association":"NONE","body":"I'm adapting to release a win_dns_ptr module @angystardust\r\n\r\nI'm using [`Get-DnsServerResourceRecord`](https://docs.microsoft.com/en-us/powershell/module/dnsserver/get-dnsserverresourcerecord), `Add-DnsServerResourceRecordA` and `Remove-DnsServerResourceRecord` not really sure too if this is affected for this and for compatibility with PowerSell 2.0\r\n\r\nHave to take a look to `xDnsRecord`"}}
{"actor":{"display_login":"Daniel-Sanchez-Fabregas"}}