From b5f42869dc20a6a5c2fafcb4b3df15028e1de7b1 Mon Sep 17 00:00:00 2001 From: Shachaf92 Date: Fri, 9 Aug 2019 19:04:09 +0300 Subject: [PATCH] win_dns_record PTR docs update (#60158) * win_dns_record PTR docs update * Update win_dns_record.py --- lib/ansible/modules/windows/win_dns_record.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/ansible/modules/windows/win_dns_record.py b/lib/ansible/modules/windows/win_dns_record.py index 0e499515ad2..2eb5c42dc76 100644 --- a/lib/ansible/modules/windows/win_dns_record.py +++ b/lib/ansible/modules/windows/win_dns_record.py @@ -51,6 +51,7 @@ options: value: description: - The value(s) to specify. Required when C(state=present). + - When c(type=PTR) only the partial part of the IP should be given. aliases: [ values ] type: list zone: @@ -76,6 +77,13 @@ EXAMPLES = r''' value: "cgyl1404p.amer.example.com" zone: "amer.example.com" +- name: PTR example + win_dns_record: + name: "1.1.1" + type: "PTR" + value: "db1" + zone: "10.in-addr.arpa" + - name: Remove static record win_dns_record: name: "db1"