소스 검색

Fixed error message to add valid yaml

Kenny Woodson 9 년 전
부모
커밋
5f8c1b7c8c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      roles/lib_yaml_editor/library/yedit.py

+ 1 - 1
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")