From 5fbdb0cfdf7dd60e9883c3ae412de258c0526933 Mon Sep 17 00:00:00 2001 From: Chris Archibald Date: Tue, 5 Mar 2019 08:03:43 -0800 Subject: [PATCH] Bug Fix for na_elementsw_backup.py (Default argument spec wasn't given) (#52378) * Revert "changes to clusteR" This reverts commit 33ee1b71e4bc8435fb315762a871f8c4cb6c5f80. * Revert "Revert "changes to clusteR"" This reverts commit f1104a37b42886aebb4d2b2ab27c91c96d97858a. * bug fix * Fix exception --- lib/ansible/modules/storage/netapp/na_elementsw_backup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ansible/modules/storage/netapp/na_elementsw_backup.py b/lib/ansible/modules/storage/netapp/na_elementsw_backup.py index 9f3647f895b..5587e96629d 100644 --- a/lib/ansible/modules/storage/netapp/na_elementsw_backup.py +++ b/lib/ansible/modules/storage/netapp/na_elementsw_backup.py @@ -136,7 +136,8 @@ class ElementSWBackup(object): """ Setup Ansible parameters and SolidFire connection """ - self.argument_spec = {} + self.argument_spec = netapp_utils.ontap_sf_host_argument_spec() + self.argument_spec.update(dict( src_hostname=dict(aliases=['hostname'], required=True, type='str'),