project-config/playbooks/openstack-fips/pre.yaml
Ade Lee d322181322 Add base openstack FIPS job
A new job openstack-fips is created.  This job is expected to be
a base job for most OpenStack jobs, so that FIPS testing can be
easily enabled throughout OpenStack CI.

A base job is required here because, for Ubuntu nodes, we need
to enable an Ubuntu Advantage subscription, as Ubuntu considers
FIPS to be a UA feature.  The subscription key is stored here in
project-config.

Depends-On: I47a31f680172b47584510adb672b68498a85bd32
Change-Id: I8a88d6a9bcf5725986b00b063e03686d3225b48e
2023-02-01 09:59:36 +01:00

8 lines
195 B
YAML

- name: enable ua subscription
hosts: all
tasks:
- name: enable ua subscription for fips
include_role:
name: enable-ua-subscription
when: enable_fips | default(false)