stackhpc / ansible-slurm-appliance

A Slurm-based HPC workload management environment, driven by Ansible.
36 stars 15 forks source link

WIP: Add support for appliances_task_mode #366

Open sjpb opened 4 months ago

sjpb commented 4 months ago

Adds a new variable appliances_task_mode which controls which taskfiles are run from roles. This takes options main and configure at present, with the latter usable running on a "fat" image and skipping most install tasks.

Earlier versions provided a ~25% speedup in site.yml, reducing it from 7m15s to 5m21s.

It currently affects:

Currently does not affect:

This is set to configure for the stackhpc CI environment. It could be used in caas to make platform creation faster.

Note currently an appliances_task_mode: install is NOT supported, and ansible/fatimage.yml determines what portions of roles are run.

sjpb commented 3 months ago

CI failure above was b/c grafana repos (which are still enabled, despite not doing an install) started failing GPG keys.