zuul-jobs/roles/post-reboot-tasks/README.rst
Ade Lee 99711abf23 Add ubuntu to enable-fips role
The enable-fips role has been refactored to support both centos/rhel and
Ubuntu.

In addition, for the Ubuntu tasks, a small role is added to enable a
Ubuntu Advantage subscription.  This is required because Ubuntu requires
a subscription to enable FIPS.  This role takes a subscription key as a
parameter (ubuntu_ua_token.token).

In Openstack, this is provided by the openstack-fips job in
openstack/project-config, which will be the base job for OpenStack jobs.
This job will provide the ubuntu_ua_token.token.

Change-Id: I47a31f680172b47584510adb672b68498a85bd32
2023-02-09 19:02:00 +00:00

23 lines
758 B
ReStructuredText

Ensure that processes are running after a node reboot.
Some roles (like the enable-fips role) need to reboot the node
in order to complete their operations.
This role can be invoked to ensure that the node is sufficiently
up again before continuing by doing some basic checks for
connectivity (ssh), restarting the zuul-console and making sure
DNS is up.
A role parameter nslookup_target is required to specify the DNS name
to ensure DNS is working.
**Role Variables**
.. zuul:rolevar:: nslookup_target
:type: str
:default: None
DNS name to query to confirm that DNS is working. If working in a
mirrored environment, it is a good idea to use $zuul_site_mirror_fqdn,
because this is what will be needed for package installs in any case.