trouble shooting

yml 들여쓰기 에러 찾기 어렵다면 YMLlint를 써봅시다

TLdkt 2022. 11. 1. 16:34
728x90
반응형

https://docs.ansible.com/ansible/latest/reference_appendices/YAMLSyntax.html

 

YAML Syntax — Ansible Documentation

© Copyright Ansible project contributors. Last updated on Oct 18, 2022.

docs.ansible.com

yml 설정이 틀렸는데 눈이 빠져라 봐도 찾기 힘들 때..

공식문서에서 찾아봤지만 신택스를 알아도 어떻게 설정하는지 모른다면,, ㅠ

나같은 쪼렙 개발자는 유효성 검사기에 돌려보는 게 더 안심이다.

아래 링크에서 야믈파일 에러 없는지 체크할 수 있으니 확인해보자!

 

http://www.yamllint.com/

 

YAMLlint - The YAML Validator

YAML Lint Paste in your YAML and click "Go" - we'll tell you if it's valid or not, and give you a nice clean UTF-8 version of it. Optimized for Ruby.

www.yamllint.com

 

728x90
반응형