@@ -151,8 +151,8 @@ you can use the command line utility mentioned above (`ansible-config`) to brows
151
151
{% if config .get ('ini' , False ) %}
152
152
:Ini:
153
153
{% for ini_map in config ['ini' ]|sort (attribute ='section' ) %}
154
- {% if config ['ini' ]|length > 1 %} - {% endif %} :Section: [{{ini_map['section'] }}]
155
- {% if config ['ini' ]|length > 1 %} {% endif %} :Key: {{ini_map['key'] }}
154
+ {% if config ['ini' ]|length > 1 %} - {% else %} {% endif %} :Section: [{{ini_map['section'] }}]
155
+ {% if config ['ini' ]|length > 1 %} {% else %} {% endif %} :Key: {{ini_map['key'] }}
156
156
{% if ini_map ['version_added' ] %}
157
157
:Version Added: {{ini_map['version_added'] }}
158
158
{% endif %}
@@ -172,7 +172,7 @@ you can use the command line utility mentioned above (`ansible-config`) to brows
172
172
{% if config .get ('env' , False ) %}
173
173
:Environment:
174
174
{% for env_var_map in config ['env' ]|sort (attribute ='name' ) %}
175
- {% if config ['env' ]|length > 1 %} - {% endif %} :Variable: :envvar:`{{env_var_map['name'] }}`
175
+ {% if config ['env' ]|length > 1 %} - {% else %} {% endif %} :Variable: :envvar:`{{env_var_map['name'] }}`
176
176
{% if env_var_map ['version_added' ] %}
177
177
:Version Added: {{env_var_map['version_added'] }}
178
178
{% endif %}
@@ -192,7 +192,7 @@ you can use the command line utility mentioned above (`ansible-config`) to brows
192
192
{% if config .get ('vars' , False ) %}
193
193
:Variables:
194
194
{% for a_var in config ['vars' ]|sort (attribute ='name' ) %}
195
- {% if config ['vars' ]|length > 1 %} - {% endif %} :name: `{{a_var['name'] }}`
195
+ {% if config ['vars' ]|length > 1 %} - {% else %} {% endif %} :name: `{{a_var['name'] }}`
196
196
{% if a_var ['version_added' ] %}
197
197
:Version Added: {{a_var['version_added'] }}
198
198
{% endif %}
0 commit comments