summaryrefslogtreecommitdiffstats
path: root/roles/lib_openshift/src/lib/import.py
blob: 6344c1a546dfde9307cede5f7a6e9805a1f7479b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# pylint: skip-file
# flake8: noqa
'''
   OpenShiftCLI class that wraps the oc commands in a subprocess
'''
# pylint: disable=too-many-lines

from __future__ import print_function
import atexit
import json
import os
import re
import shutil
import subprocess
import tempfile
# pylint: disable=import-error
import ruamel.yaml as yaml
from ansible.module_utils.basic import AnsibleModule