]> arthur.barton.de Git - AnsibleRoles.git/commit
New "lvm-lv" role
authorAlexander Barton <alex@barton.de>
Mon, 19 Feb 2018 17:10:43 +0000 (18:10 +0100)
committerAlexander Barton <alex@barton.de>
Mon, 19 Feb 2018 17:10:43 +0000 (18:10 +0100)
commit66c4f77a70adab622690a0b5cd6076b5640b2690
tree63ceaf201c18786e2cc5b34781d212d565badd4c
parent2d7c4ba300b59c2bbcb6db62f6250f4735900234
New "lvm-lv" role

This role creates an Logical Volume (LV) in an existing LVM Volume
Group (VG), including the ext4 file system. And it even resizes
(enlarges) existing LV and file systems.

The code has been used by the mysql-server role already, but this
patch refactors it into its own reusable "role".
roles/lvm-lv/defaults/main.yml [new file with mode: 0644]
roles/lvm-lv/tasks/main.yml [new file with mode: 0644]
roles/mysql-server/defaults/main.yml
roles/mysql-server/tasks/main.yml