summaryrefslogtreecommitdiffstats
path: root/roles/lib_yaml_editor
diff options
context:
space:
mode:
authorKenny Woodson <kwoodson@redhat.com>2016-03-28 10:57:02 -0400
committerKenny Woodson <kwoodson@redhat.com>2016-03-28 10:57:02 -0400
commit5f8c1b7c8cd2fa198dcd61cbfbb24800778e8e18 (patch)
tree7296a88b330d0314f6b7bd01d2c089f8f165c6c5 /roles/lib_yaml_editor
parente9f5909847f41c6a5b8097ae4b140479b044f8a2 (diff)
downloadopenshift-5f8c1b7c8cd2fa198dcd61cbfbb24800778e8e18.tar.gz
openshift-5f8c1b7c8cd2fa198dcd61cbfbb24800778e8e18.tar.bz2
openshift-5f8c1b7c8cd2fa198dcd61cbfbb24800778e8e18.tar.xz
openshift-5f8c1b7c8cd2fa198dcd61cbfbb24800778e8e18.zip
Fixed error message to add valid yaml
Diffstat (limited to 'roles/lib_yaml_editor')
-rw-r--r--roles/lib_yaml_editor/library/yedit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/lib_yaml_editor/library/yedit.py b/roles/lib_yaml_editor/library/yedit.py
index b75aff109..9b565d0c7 100644
--- a/roles/lib_yaml_editor/library/yedit.py
+++ b/roles/lib_yaml_editor/library/yedit.py
@@ -185,7 +185,7 @@ def main():
rval = yamlfile.get()
if not rval and state != 'present':
module.fail_json(msg='Error opening file [%s]. Verify that the' + \
- ' file exists and that it is has correct permissions.')
+ ' file exists, that it is has correct permissions, and is valid yaml.')
if state == 'list':
module.exit_json(changed=False, results=rval, state="list")