From 1ab973c3d31a8959264c195f621c4cefb335b27f Mon Sep 17 00:00:00 2001 From: Tim Rupp Date: Mon, 4 Jun 2018 13:07:02 -0700 Subject: [PATCH] Fixes not using the parent parameter (#41102) The parent parameter was not being used in the module. This meant that all child profiles would use the system-defined parent instead of the parent specified in the module (cherry picked from commit 457c813d462359d69f2011ed1767783dbb1ec993) --- lib/ansible/modules/network/f5/bigip_profile_client_ssl.py | 6 ++++-- lib/ansible/modules/network/f5/bigip_profile_dns.py | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/network/f5/bigip_profile_client_ssl.py b/lib/ansible/modules/network/f5/bigip_profile_client_ssl.py index e49a7fe00b7..e0cbdbb14be 100644 --- a/lib/ansible/modules/network/f5/bigip_profile_client_ssl.py +++ b/lib/ansible/modules/network/f5/bigip_profile_client_ssl.py @@ -161,11 +161,13 @@ except ImportError: class Parameters(AnsibleF5Parameters): api_map = { - 'certKeyChain': 'cert_key_chain' + 'certKeyChain': 'cert_key_chain', + 'defaultsFrom': 'parent' } api_attributes = [ - 'ciphers', 'certKeyChain' + 'ciphers', 'certKeyChain', + 'defaultsFrom' ] returnables = [ diff --git a/lib/ansible/modules/network/f5/bigip_profile_dns.py b/lib/ansible/modules/network/f5/bigip_profile_dns.py index 2b49176890c..a5d50b248ba 100644 --- a/lib/ansible/modules/network/f5/bigip_profile_dns.py +++ b/lib/ansible/modules/network/f5/bigip_profile_dns.py @@ -214,6 +214,7 @@ class Parameters(AnsibleF5Parameters): 'enableDnssec', 'processXfr', 'enableDnsExpress', + 'defaultsFrom' ] returnables = [