Skip to content

Commit

Permalink
Add fips support to ISO installer (#403)
Browse files Browse the repository at this point in the history
  • Loading branch information
jasondickerson authored Jul 26, 2024
1 parent b73969b commit a4a44b9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions roles/builder/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit a4a44b9

Please sign in to comment.