diff --git a/ansibledoctor/templates/readme/_vars.j2 b/ansibledoctor/templates/readme/_vars.j2 index 9a32766..46bf3a6 100644 --- a/ansibledoctor/templates/readme/_vars.j2 +++ b/ansibledoctor/templates/readme/_vars.j2 @@ -1,6 +1,12 @@ {% set var = role.var | default({}) %} {% if var %} ## Default Variables +{% for key, item in var.items() %} +``` +{{key}}: {{ value }} +``` +{% endif %} + {% for key, item in var.items() %} ### {{ key }}