add step to prepare downstream collection (#154)

* add step to prepare downstream collection

* fix header generation

* update downstream_fragments.py
This commit is contained in:
Bikouo Aubin
2022-04-29 15:22:46 +02:00
committed by GitHub
parent 0290391446
commit b2d9e78b8e
10 changed files with 140 additions and 25 deletions

View File

@@ -7,6 +7,7 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
# STARTREMOVE (downstream)
DOCUMENTATION = r"""
module: openshift_adm_groups_sync
@@ -186,6 +187,7 @@ builds:
}
]
"""
# ENDREMOVE (downstream)
import copy
import traceback

View File

@@ -7,7 +7,7 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type
# STARTREMOVE (downstream)
DOCUMENTATION = r"""
module: openshift_adm_migrate_template_instances
short_description: Update TemplateInstances to point to the latest group-version-kinds
@@ -231,7 +231,7 @@ result:
...
]
"""
# ENDREMOVE (downstream)
import traceback

View File

@@ -7,6 +7,7 @@
from __future__ import absolute_import, division, print_function
__metaclass__ = type
# STARTREMOVE (downstream)
DOCUMENTATION = r'''
module: openshift_adm_prune_auth
@@ -96,7 +97,7 @@ group:
description: list of Security Context Constraints deleted.
returned: I(resource=users)
'''
# ENDREMOVE (downstream)
import copy

View File

@@ -7,6 +7,7 @@
from __future__ import absolute_import, division, print_function
__metaclass__ = type
# STARTREMOVE (downstream)
DOCUMENTATION = r'''
module: openshift_adm_prune_deployments
@@ -64,6 +65,7 @@ replication_controllers:
description: list of replication controllers candidate for pruning.
returned: always
'''
# ENDREMOVE (downstream)
import copy

View File

@@ -7,6 +7,7 @@
from __future__ import absolute_import, division, print_function
__metaclass__ = type
# STARTREMOVE (downstream)
DOCUMENTATION = r'''
module: openshift_adm_prune_images
@@ -275,6 +276,7 @@ deleted_images:
...
]
'''
# ENDREMOVE (downstream)
import copy

View File

@@ -7,6 +7,7 @@
from __future__ import absolute_import, division, print_function
__metaclass__ = type
# STARTREMOVE (downstream)
DOCUMENTATION = r'''
module: openshift_import_image
@@ -153,6 +154,7 @@ result:
returned: success
type: dict
'''
# ENDREMOVE (downstream)
import copy

View File

@@ -7,6 +7,7 @@
from __future__ import absolute_import, division, print_function
__metaclass__ = type
# STARTREMOVE (downstream)
DOCUMENTATION = r'''
module: openshift_registry_info
@@ -79,6 +80,7 @@ check:
returned: always
type: str
'''
# ENDREMOVE (downstream)
import copy