From a4a44b9843fd0edfb19d4f79d21963ab3309083f Mon Sep 17 00:00:00 2001 From: jasondickerson <26011737+jasondickerson@users.noreply.github.com> Date: Fri, 26 Jul 2024 11:54:07 -0500 Subject: [PATCH] Add fips support to ISO installer (#403) --- roles/builder/tasks/main.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/roles/builder/tasks/main.yml b/roles/builder/tasks/main.yml index 346811ac..936e6377 100644 --- a/roles/builder/tasks/main.yml +++ b/roles/builder/tasks/main.yml @@ -248,11 +248,22 @@ - builder_compose_type is defined - "'installer' in builder_compose_type or 'raw' in builder_compose_type" block: + - name: Create __edge_insaller_customizations var + ansible.builtin.set_fact: + __edge_insaller_customizations: {} + + - name: Set _edge_insaller_customizations value including only fdo and installation_device customizations + ansible.builtin.set_fact: + __edge_insaller_customizations: "{{ __edge_insaller_customizations | combine({item.key: item.value}) }}" + when: "item.key in ['fips']" + with_dict: "{{ builder_compose_customizations }}" + - name: Create blank blueprint infra.osbuild.create_blueprint: # noqa only-builtins dest: "{{ builder_blueprint_src_path }}" name: "{{ builder_blueprint_name }}-empty" distro: "{{ builder_blueprint_distro | default(omit) }}" + customizations: "{{ __edge_insaller_customizations }}" register: __builder_blueprint_output # noqa var-naming[no-role-prefix] when: - "'simplified' not in builder_compose_type and 'edge' in builder_compose_type or 'iot' in builder_compose_type"