Condition LUKS and guest tools in bootstrap vars
This commit is contained in:
@@ -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(' ')
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user