import.py 443 B

1234567891011121314151617181920212223
  1. # pylint: skip-file
  2. # flake8: noqa
  3. '''
  4. OpenShiftCLI class that wraps the oc commands in a subprocess
  5. '''
  6. # pylint: disable=too-many-lines
  7. from __future__ import print_function
  8. import atexit
  9. import copy
  10. import json
  11. import os
  12. import re
  13. import shutil
  14. import subprocess
  15. import tempfile
  16. # pylint: disable=import-error
  17. try:
  18. import ruamel.yaml as yaml
  19. except ImportError:
  20. import yaml
  21. from ansible.module_utils.basic import AnsibleModule