From ce6d90bf4a17b2785eb6cfbe028035c15352d587 Mon Sep 17 00:00:00 2001
From: Rafael Guterres Jeffman <rjeffman@redhat.com>
Date: Wed, 18 Nov 2020 12:32:50 -0300
Subject: [PATCH] ipadnsrecord: Fix CERT record attribute name.

This change fixes retrieval of CERT values from server data, that
was failing due to wrong attribute name.
---
 plugins/modules/ipadnsrecord.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/modules/ipadnsrecord.py b/plugins/modules/ipadnsrecord.py
index e13e48ed..e5f93166 100644
--- a/plugins/modules/ipadnsrecord.py
+++ b/plugins/modules/ipadnsrecord.py
@@ -968,7 +968,7 @@ _RECORD_PARTS = {
     ],
     "a6record": ["a6_part_data"],
     "afsdbrecord": ['afsdb_part_subtype', 'afsdb_part_hostname'],
-    "cert_rec": [
+    "certrecord": [
         'cert_part_type', 'cert_part_key_tag', 'cert_part_algorithm',
         'cert_part_certificate_or_crl'
     ],
-- 
GitLab