diff options
author | Tim Bielawa <tbielawa@redhat.com> | 2017-01-23 09:10:10 -0800 |
---|---|---|
committer | Tim Bielawa <tbielawa@redhat.com> | 2017-01-24 08:19:08 -0800 |
commit | cf5f85ff884107cfba3ac929d2f731d98f467ce0 (patch) | |
tree | 6f086121f8c4f130d92d4e09a7b6d5224e50f569 /roles/lib_utils | |
parent | 14ddb400093cbfb4abeca60b7edc434fcf380315 (diff) | |
download | openshift-cf5f85ff884107cfba3ac929d2f731d98f467ce0.tar.gz openshift-cf5f85ff884107cfba3ac929d2f731d98f467ce0.tar.bz2 openshift-cf5f85ff884107cfba3ac929d2f731d98f467ce0.tar.xz openshift-cf5f85ff884107cfba3ac929d2f731d98f467ce0.zip |
Generate the artifacts from fragments.
Diffstat (limited to 'roles/lib_utils')
-rw-r--r-- | roles/lib_utils/library/yedit.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/roles/lib_utils/library/yedit.py b/roles/lib_utils/library/yedit.py index 6a5b40dcc..8a2bd92f9 100644 --- a/roles/lib_utils/library/yedit.py +++ b/roles/lib_utils/library/yedit.py @@ -24,6 +24,8 @@ # limitations under the License. # +# -*- -*- -*- Begin included fragment: class/import.py -*- -*- -*- + # pylint: disable=wrong-import-order import json import os @@ -33,6 +35,10 @@ import ruamel.yaml as yaml import shutil from ansible.module_utils.basic import AnsibleModule +# -*- -*- -*- End included fragment: class/import.py -*- -*- -*- + +# -*- -*- -*- Begin included fragment: doc/yedit -*- -*- -*- + DOCUMENTATION = ''' --- module: yedit @@ -168,6 +174,10 @@ EXAMPLES = ''' # b: # c: d ''' + +# -*- -*- -*- End included fragment: doc/yedit -*- -*- -*- + +# -*- -*- -*- Begin included fragment: class/yedit.py -*- -*- -*- # noqa: E301,E302 @@ -733,6 +743,10 @@ class Yedit(object): return {'failed': True, 'msg': 'Unkown state passed'} +# -*- -*- -*- End included fragment: class/yedit.py -*- -*- -*- + +# -*- -*- -*- Begin included fragment: ansible/yedit.py -*- -*- -*- + # pylint: disable=too-many-branches def main(): @@ -772,3 +786,5 @@ def main(): if __name__ == '__main__': main() + +# -*- -*- -*- End included fragment: ansible/yedit.py -*- -*- -*- |