Separate common and raw (#34563)

This commit is contained in:
Chris Houseknecht
2018-01-09 07:22:46 -05:00
committed by GitHub
parent b14c8b130f
commit 623ff39443
7 changed files with 247 additions and 218 deletions

View File

@@ -152,11 +152,11 @@ result:
type: list
'''
from ansible.module_utils.k8s.common import KubernetesAnsibleModule
from ansible.module_utils.k8s.raw import KubernetesRawModule
def main():
KubernetesAnsibleModule().execute_module()
KubernetesRawModule().execute_module()
if __name__ == '__main__':

View File

@@ -193,11 +193,11 @@ result:
type: list
'''
from ansible.module_utils.k8s.common import OpenShiftAnsibleModule
from ansible.module_utils.k8s.raw import OpenShiftRawModule
def main():
OpenShiftAnsibleModule().execute_module()
OpenShiftRawModule().execute_module()
if __name__ == '__main__':