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
This commit is contained in:
Tim Rupp 2018-06-04 13:07:02 -07:00 committed by GitHub
parent ab96a84154
commit 457c813d46
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View file

@ -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 = [

View file

@ -214,6 +214,7 @@ class Parameters(AnsibleF5Parameters):
'enableDnssec',
'processXfr',
'enableDnsExpress',
'defaultsFrom'
]
returnables = [