Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add FIPS support to ISO installer #403

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading