0
マークダウンで{{印字したい。ジキールプリント{{マークダウンで
これは私のブログに表示したいサンプルのスクリプトです。
- hosts: all
remote_user: ubuntu
become: True
become_method: sudo
become_user: root
tasks:
- name: Add user
user:
name="{{ user }}"
shell=/bin/bash
state=present
groups=staff
append=yes
createhome=yes
しかし、私は、ブラウザでレンダリングするときに、名前は「」ただ{{ユーザー}}での印刷ではなく、されていることを確認した場合、それは
- hosts: all
remote_user: ubuntu
become: True
become_method: sudo
become_user: root
tasks:
- name: Add user
user:
name=""
shell=/bin/bash
state=present
groups=staff
append=yes
createhome=yes
を示しています。 {{}}を印刷する方法はありますか?
[Octopressの{markdown in {in Octopress?}(http://stackoverflow.com/questions/15786144/how-to-escape-in-markdown-on-octopress)または[Escaping Jekyllのマークダウンコードブロック内の二重中括弧](http://stackoverflow.com/questions/24102498/escaping-double-curly-braces-inside-a-markdown-code-block-in-jekyll) – Amadan