2016-10-13から1日間の記事一覧

playbook の値にコロンを入れると「ERROR! Syntax Error while loading YAML.」「We could be wrong, but this one looks like it might be an issue with unbalanced quotes. If starting a value with a quote, make sure the line ends with the same set of quotes.」

問題 Ansible の playbook 内の lineinfile の値にコロンが入っていると Syntax error になる。 playbook の該当箇所 - lineinfile: dest="/etc/elasticsearch/elasticsearch.yml" regexp="# network.ost" line='network.host: 0.0.0.0' エラーメッセージ ER…