kayobe/ansible/swap.yml
Mark Goddard 0c074431d0 Support configuration of swap
Supports creating and using swap files, or using pre-existing swap
devices.

Story: 2004958
Task: 29390

Change-Id: Iadb540f42036a4a63cdd5b695b82f1504b3a4a28
2022-12-07 14:23:18 +00:00

12 lines
219 B
YAML

---
- name: Configure swap
hosts: seed-hypervisor:seed:overcloud:infra-vms
become: true
tags:
- swap
tasks:
- name: Include swap role
include_role:
name: swap
when: swap | length > 0