diff options
author | Kenny Woodson <kwoodson@redhat.com> | 2017-01-03 10:22:47 -0500 |
---|---|---|
committer | Kenny Woodson <kwoodson@redhat.com> | 2017-01-11 16:13:00 -0500 |
commit | 2d1a7761386574455ff98112fe4341cbe22d775e (patch) | |
tree | 138653c561edf5b9d8b168bca733b5c996944eae /roles/lib_utils/src/class/import.py | |
parent | e5b73b8461eeb27c66f8b7d62ac527c5a6795c61 (diff) | |
download | openshift-2d1a7761386574455ff98112fe4341cbe22d775e.tar.gz openshift-2d1a7761386574455ff98112fe4341cbe22d775e.tar.bz2 openshift-2d1a7761386574455ff98112fe4341cbe22d775e.tar.xz openshift-2d1a7761386574455ff98112fe4341cbe22d775e.zip |
Adding ability to systematically modify yaml from ansible.
Diffstat (limited to 'roles/lib_utils/src/class/import.py')
-rw-r--r-- | roles/lib_utils/src/class/import.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/lib_utils/src/class/import.py b/roles/lib_utils/src/class/import.py new file mode 100644 index 000000000..249e07228 --- /dev/null +++ b/roles/lib_utils/src/class/import.py @@ -0,0 +1,11 @@ +# flake8: noqa +# pylint: skip-file + +# pylint: disable=wrong-import-order +import json +import os +import re +# pylint: disable=import-error +import ruamel.yaml as yaml +import shutil +from ansible.module_utils.basic import AnsibleModule |