summaryrefslogtreecommitdiffstats
path: root/src/ceph-volume/ceph_volume/tests/functional/lvm/playbooks/setup_partitions.yml
blob: 4b9e6638ed512ca4e3b5ca5652e0a309fd9123c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---

- hosts: osds
  gather_facts: false
  become: yes
  tasks:

    - name: partition /dev/vdd for lvm data usage
      parted:
        device: /dev/vdd
        number: 1
        part_start: 0%
        part_end: 50%
        unit: '%'
        label: gpt
        state: present

    - name: partition /dev/vdd lvm journals
      parted:
        device: /dev/vdd
        number: 2
        part_start: 50%
        part_end: 100%
        unit: '%'
        state: present
        label: gpt