summaryrefslogtreecommitdiffstats
path: root/roles/storage/tasks/ipecompute2.yml
blob: 9b2cef81cefcf0e0f2e9135943f4c6144ac00dd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
- name: Delete partitions
  parted: device="/dev/sda" label="gpt" number="{{ item }}" state="absent"
  with_items: [ 2, 3, 4 ]

- name: Create partition
  parted: 
    device: "/dev/sda" 
    label: "gpt" 
    number: 1 
    name: "fast" 
    state: "present" 

- name: arrays | Creating Array(s) Filesystem
  filesystem: dev="/dev/sda1" fstype="xfs"

- name: arrays | Mounting Array(s)
  mount: name="/mnt/fast" src="/dev/sda1" fstype="xfs" state="mounted"