Ansible role to format and mount disks/volumes.
Building and improving this Ansible role have been sponsored by my current and previous employers like Cloudpunks GmbH and Proact Deutschland GmbH.
- Minimum Ansible version:
2.10
List of volume partitions
volume_partitions: []
volume_partitions:
- name: mysql
number: 1
path: /var/lib/mysql
filesystem: ext4
device: /dev/sdb
options:
- discard
- nofail
- defaults
- name: foobar
number: 1
path: /var/lib/foobar
filesystem: ext4
device: /dev/sdc
state: present
part_start: 0%
part_end: 100%
part_type: primary
unit: %
flags: []
options:
- discard
- nofail
- defaults
volume
Apache-2.0