Ansible

GitLab 執行器配置文件是否支持註釋?

  • March 21, 2020

GitLab Runner配置文件是否支持註釋?我也沒有看到Advanced Configuration doc中提到的評論。

我需要評論才能使用Ansible 的blockinfile.

GitLab 使用TOML(Tom’s Obvious, Minimal Language)。TOML 格式支持多種形式的評論。

# This is a full-line comment
key = "value"  # This is a comment at the end of a line
another = "# This is not a comment"

引用自:https://unix.stackexchange.com/questions/574151