Condition LUKS and guest tools in bootstrap vars

This commit is contained in:
2025-12-27 23:52:06 +01:00
parent 2c23ce6cbb
commit ae4fb6f43c
9 changed files with 640 additions and 491 deletions

View File

@@ -9,12 +9,11 @@
}}
bootstrap_debian_base_list: "{{ lookup('vars', bootstrap_var_key).base | default([]) }}"
bootstrap_debian_extra_list: "{{ lookup('vars', bootstrap_var_key).extra | default([]) }}"
bootstrap_debian_base: "{{ (bootstrap_debian_base_list | difference(bootstrap_guest_agent_remove_packages)) | join(',') }}"
bootstrap_debian_base: "{{ bootstrap_debian_base_list | join(',') }}"
bootstrap_debian_extra: >-
{{
(
(bootstrap_debian_extra_list | difference(bootstrap_guest_agent_remove_packages))
+ bootstrap_guest_agent_packages
bootstrap_debian_extra_list
)
| join(' ')
}}