openstack-zuul-jobs/roles/configure-swap
Ian Wienand 1d01c6d3da Add configure-swap role
This is a role to configure swap and /opt on an infra host.

Originally we wrote this for devstack-gate with
Icd4e6d8ab84471ad06e69c3e0f9bac92776efc78.  It was ported into the
native devstack job with Iffe54fbccbccd68db08f79a1b51dd7f76dbff408.

This is really generic, and it's quite possible non-devstack jobs
would like to setup swap for jobs too, so o-z-j is a better home for
the role.

Change-Id: I0e9c846ace7fac8a1340746c6818fba6ec963018
2017-10-20 14:13:33 +11:00
..
defaults Add configure-swap role 2017-10-20 14:13:33 +11:00
tasks Add configure-swap role 2017-10-20 14:13:33 +11:00
README.rst Add configure-swap role 2017-10-20 14:13:33 +11:00

Configure a swap partition

Creates a swap partition on the ephemeral block device (the rest of which will be mounted on /opt).

Role Variables