| Server IP : 85.214.239.14 / Your IP : 216.73.216.27 Web Server : Apache/2.4.65 (Debian) System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64 User : www-data ( 33) PHP Version : 8.2.29 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/ansible_collections/purestorage/fusion/plugins/module_utils/ |
Upload File : |
# -*- coding: utf-8 -*-
# (c) 2023, Jan Kodera (jkodera@purestorage.com)
# GNU General Public License v3.0+ (see COPYING.GPLv3 or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import absolute_import, division, print_function
__metaclass__ = type
from ansible_collections.purestorage.fusion.plugins.module_utils.errors import (
install_fusion_exception_hook,
)
from ansible_collections.purestorage.fusion.plugins.module_utils.prerequisites import (
check_dependencies,
)
from ansible_collections.purestorage.fusion.plugins.module_utils.fusion import (
get_fusion,
)
def setup_fusion(module):
check_dependencies(module)
install_fusion_exception_hook(module)
return get_fusion(module)