From 2ddbb56ce55ea2facd1971720652a100d5f9a6fa Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Mercier Date: Sat, 22 Apr 2023 15:03:33 +0200 Subject: [PATCH 1/2] Fix result of current_zone when not importing the zone --- plugins/modules/domain.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/modules/domain.py b/plugins/modules/domain.py index 085c8a8..b5e3e9f 100644 --- a/plugins/modules/domain.py +++ b/plugins/modules/domain.py @@ -62,7 +62,7 @@ def main(): result['current_zone'] = d.current_zone.id result['msg'] += " and zone imported" else: - result['current_zone'] = d.current_zone + result['current_zone'] = d.current_zone.id break if not found: From 9b25bd841292cc21cb0073334c6982da7d924ad2 Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Mercier Date: Sat, 22 Apr 2023 15:05:36 +0200 Subject: [PATCH 2/2] Prepare 0.3.2 --- galaxy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/galaxy.yml b/galaxy.yml index a200034..8d9e09b 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -1,7 +1,7 @@ --- namespace: happydns name: happydomain -version: 0.3.1 +version: 0.3.2 readme: README.md authors: - happyDomain Team