mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fixes lgtm alert (#45619)
Alert was for an include that was not used. https://lgtm.com/projects/g/ansible/ansible/latest/files/lib/ansible/modules/network/f5/_bigip_facts.py?sort=name&dir=ASC&mode=heatmap&showExcluded=false#L98
This commit is contained in:
parent
6999bf318f
commit
34d08adea0
1 changed files with 3 additions and 3 deletions
|
@ -30,8 +30,6 @@ notes:
|
||||||
- Tested with manager and above account privilege level
|
- Tested with manager and above account privilege level
|
||||||
- C(provision) facts were added in 2.2
|
- C(provision) facts were added in 2.2
|
||||||
- This module is deprecated. Use the C(bigip_device_facts) module instead.
|
- This module is deprecated. Use the C(bigip_device_facts) module instead.
|
||||||
requirements:
|
|
||||||
- bigsuds
|
|
||||||
deprecated:
|
deprecated:
|
||||||
removed_in: '2.11'
|
removed_in: '2.11'
|
||||||
alternative: bigip_device_facts
|
alternative: bigip_device_facts
|
||||||
|
@ -39,6 +37,8 @@ deprecated:
|
||||||
The bigip_facts module relies on SOAP to communicate with the BIG-IP,
|
The bigip_facts module relies on SOAP to communicate with the BIG-IP,
|
||||||
and has a large amount of code that does not conform to existing F5 standards.
|
and has a large amount of code that does not conform to existing F5 standards.
|
||||||
The M(bigip_device_facts) module is easier to maintain and use.
|
The M(bigip_device_facts) module is easier to maintain and use.
|
||||||
|
requirements:
|
||||||
|
- bigsuds
|
||||||
options:
|
options:
|
||||||
session:
|
session:
|
||||||
description:
|
description:
|
||||||
|
@ -95,7 +95,7 @@ import traceback
|
||||||
|
|
||||||
from ansible.module_utils.basic import AnsibleModule
|
from ansible.module_utils.basic import AnsibleModule
|
||||||
from ansible.module_utils.six import string_types
|
from ansible.module_utils.six import string_types
|
||||||
from ansible.module_utils.six.moves import map, zip
|
from ansible.module_utils.six.moves import zip
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from library.module_utils.network.f5.legacy import bigip_api, bigsuds_found
|
from library.module_utils.network.f5.legacy import bigip_api, bigsuds_found
|
||||||
|
|
Loading…
Reference in a new issue