mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Separate common and raw (#34563)
This commit is contained in:
committed by
GitHub
parent
b14c8b130f
commit
623ff39443
@@ -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__':
|
||||
|
||||
@@ -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__':
|
||||
|
||||
Reference in New Issue
Block a user