mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Add imports for stdlib modules that are used.
This is cleanup that will aid us when we get ziploader implemented for 2.1
This commit is contained in:
parent
107d025d8a
commit
1bc75374dc
8 changed files with 12 additions and 0 deletions
|
@ -26,6 +26,10 @@
|
|||
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
# USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
import json
|
||||
# Note: modules using this must have from ansible.module_utils.urls import *
|
||||
# before this is imported
|
||||
|
||||
AXAPI_PORT_PROTOCOLS = {
|
||||
'tcp': 2,
|
||||
'udp': 3,
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
# USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
import time
|
||||
|
||||
try:
|
||||
from cs import CloudStack, CloudStackException, read_config
|
||||
|
|
|
@ -18,7 +18,9 @@
|
|||
import os
|
||||
import sys
|
||||
import stat
|
||||
import time
|
||||
import array
|
||||
import shlex
|
||||
import errno
|
||||
import fcntl
|
||||
import fnmatch
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
# USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
|
||||
import os
|
||||
import pprint
|
||||
from libcloud.compute.providers import get_driver
|
||||
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
# USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
import os
|
||||
import hmac
|
||||
import urlparse
|
||||
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
import re
|
||||
from uuid import UUID
|
||||
|
||||
|
||||
|
|
|
@ -32,6 +32,7 @@ import os
|
|||
import tempfile
|
||||
import shlex
|
||||
import select
|
||||
import subprocess
|
||||
import json
|
||||
|
||||
# The distutils module is not shipped with SUNWPython on Solaris.
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
# You should have received a copy of the GNU General Public License
|
||||
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import os
|
||||
try:
|
||||
from pyvcloud.vcloudair import VCA
|
||||
HAS_PYVCLOUD = True
|
||||
|
|
Loading…
Reference in a new issue