Solved other minor bugs

This commit is contained in:
2025-07-04 22:12:42 +02:00
parent 7950a3f517
commit c3575e5647
3 changed files with 4 additions and 4 deletions

View File

@@ -115,7 +115,7 @@ def generate_playbook_entries(roles_dir, prefix=None):
role = roles[role_name]
entries.append(
f"- name: setup {role['application_id']}\n"
f" when: {role['application_id']} | application_allowed(group_names, allowed_applications)\n"
f" when: ('{role['application_id']}' | application_allowed(group_names, allowed_applications))\n"
f" include_role:\n"
f" name: {role['role_name']}\n"
)