Yaml: Difference between revisions

From 탱이의 잡동사니
Jump to navigation Jump to search
No edit summary
Line 6: Line 6:


== Basic ==
== Basic ==
=== Multiple lie ===
=== Multiple line ===
* https://yaml-multiline.info/
 
==== Block scalar ====
'>' 입력 후 한블럭 들여쓰기 후 문장 입력.
'>' 입력 후 한블럭 들여쓰기 후 문장 입력.
<pre>
<pre>

Revision as of 11:09, 5 June 2019

Overview

YAML Markup Language 소개 및 사용법 정리

http://www.yaml.org/start.html
http://www.yamllint.com/

Basic

Multiple line

Block scalar

'>' 입력 후 한블럭 들여쓰기 후 문장 입력.

description: >
  The Asterisk's queued task is too high
  1. Get the problem task taskprocessor name
  $ sudo asterisk -rx "core show taskprocessors" | awk 'NR>2 {if ($3 > 100) {print $1}}'
  2. Do the ping to the problem taskprocessor.
  $ sudo asterisk -rx "core ping taskprocessor "
  3. Check the response time.
  If the response time is 5 sec, we need to restart the Asterisk.

References

<references />