emcstack.parted

Parted

Partitioning Disks

Note: All disks will have the same partitioning. If you want different partitioning for different disks, separate them into multiple parts.

Requirements

Role Variables

Name Type Required Default Description
hdds list yes None List of the disks to partition
partitions list of dict yes [{'partition_type': 'primary', 'start_point': '0%', 'end_point': '100%'}] Partitions to create on each disk
create_label boolean no true Creates label on disks by default
label string no gpt Default label for disks

Dependencies

Example Playbook

- hosts:
  - nc-9
  roles:
  - parted
  vars:
  - hdds:
    - /dev/sdb
  - partitions:
    - {'partition_type': 'primary', 'start_point': '0%', 'end_point': '10%'}
    - {'partition_type': 'primary', 'start_point': '10%', 'end_point': '50%'}
    - {'partition_type': 'extended', 'start_point': '50%', 'end_point': '100%'}

License

GPLv3

Author Information

John Preston [John Mille]

Informazioni sul progetto

Create disks partitions

Installa
ansible-galaxy install emcstack.parted
Licenza
gpl-3.0
Download
161
Proprietario
Eucalyptus - Midokura - CEPH