sorting results
This commit is contained in:
@@ -27,7 +27,7 @@ ansible-playbook playbooks/install_demo.yml -e @choose_demo.yml
|
||||
<th>Workshop Types</th>
|
||||
</tr>
|
||||
|
||||
{% for key, value in hostvars[inventory_hostname].items()|rejectattr('0', 'match', 'ansible_')|selectattr('1.name', 'defined') %}
|
||||
{% for key, value in hostvars[inventory_hostname].items()|rejectattr('0', 'match', 'ansible_')|selectattr('1.name', 'defined')|sort(attribute='1.name') %}
|
||||
<tr>
|
||||
<td>{{value.name}}</td>
|
||||
<td>{{value.author}}</td>
|
||||
|
||||
Reference in New Issue
Block a user