Relax suds module requirement
This commit is contained in:
parent
871f0378c8
commit
7ad6f6e385
1 changed files with 2 additions and 2 deletions
4
library/net_infrastructure/bigip_facts
Normal file → Executable file
4
library/net_infrastructure/bigip_facts
Normal file → Executable file
|
@ -105,6 +105,7 @@ EXAMPLES = '''
|
|||
|
||||
try:
|
||||
import bigsuds
|
||||
from suds import MethodNotFound
|
||||
except ImportError:
|
||||
bigsuds_found = False
|
||||
else:
|
||||
|
@ -113,7 +114,6 @@ else:
|
|||
import fnmatch
|
||||
import traceback
|
||||
import re
|
||||
from suds import MethodNotFound
|
||||
|
||||
# ===========================================
|
||||
# bigip_facts module specific support methods.
|
||||
|
@ -1580,7 +1580,7 @@ def main():
|
|||
)
|
||||
|
||||
if not bigsuds_found:
|
||||
module.fail_json(msg="the python bigsuds module is required")
|
||||
module.fail_json(msg="the python suds and bigsuds modules is required")
|
||||
|
||||
server = module.params['server']
|
||||
user = module.params['user']
|
||||
|
|
Loading…
Reference in a new issue