Skip to content

Commit

Permalink
fixes incorrect inventory generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Nagoor Shaik committed Oct 20, 2024
1 parent 47add14 commit bcd0fc7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions roles/aap_setup_prepare/templates/inventory.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,12 @@

{% for group_key in aap_setup_prep_inv_nodes %}

{%if group_key in groups %}
[{{ group_key }}]
{% for node_key in aap_setup_prep_inv_nodes[group_key] %}
{{ node_key }}{% if aap_setup_prep_inv_nodes[group_key][node_key] is defined %} {{ aap_setup_prep_inv_nodes[group_key][node_key] }}{% endif %}

{% endfor %}

{% endif %}

{% endfor %}

{# output all the variables and their groups #}
Expand Down

0 comments on commit bcd0fc7

Please sign in to comment.