@@ -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 %}
@@ -168,7 +168,7 @@ you can use the command line utility mentioned above (`ansible-config`) to brows
168
168
{% if config .get ('env' , False ) %}
169
169
:Environment:
170
170
{% for env_var_map in config ['env' ]|sort (attribute ='name' ) %}
171
- {% if config ['env' ]|length > 1 %} - {% endif %} :Variable: :envvar:`{{env_var_map['name'] }}`
171
+ {% if config ['env' ]|length > 1 %} - {% else %} {% endif %} :Variable: :envvar:`{{env_var_map['name'] }}`
172
172
{% if env_var_map ['version_added' ] %}
173
173
:Version Added: {{env_var_map['version_added'] }}
174
174
{% endif %}
@@ -184,7 +184,7 @@ you can use the command line utility mentioned above (`ansible-config`) to brows
184
184
{% if config .get ('vars' , False ) %}
185
185
:Variables:
186
186
{% for a_var in config ['vars' ]|sort (attribute ='name' ) %}
187
- {% if config ['vars' ]|length > 1 %} - {% endif %} :name: `{{a_var['name'] }}`
187
+ {% if config ['vars' ]|length > 1 %} - {% else %} {% endif %} :name: `{{a_var['name'] }}`
188
188
{% if a_var ['version_added' ] %}
189
189
:Version Added: {{a_var['version_added'] }}
190
190
{% endif %}
0 commit comments