This role prepares and configures storage for Ubuntu Landscape.
No requirements.
Variable | Default | Description |
---|---|---|
storage_vg |
landscape |
LVM volume group to create for Docker data |
storage_pv |
/dev/sdb |
Disk to use for LVM |
storage_filesystems |
see defaults/main.yml | LVs, filesystems and mount points to create |
No dependencies.
Refer to the following example:
- hosts: servers
roles:
- stdevel.landscape.storage
Set variables if required, e.g.:
---
- hosts: landscape.giertz.loc
remote_user: root
roles:
- role: stdevel.landscape.storage
storage_vg: vg_landscape
storage_pv: /dev/sdb
storage_filesystems:
- name: lv_pgsql
type: xfs
mountpoint: /var/lib/postgresql
size: 10240
- name: lv_landscape
type: xfs
mountpoint: /var/lib/landscape
size: 40960
GPL 3.0
Christian Stankowic ([email protected])