summaryrefslogtreecommitdiffstats
path: root/roles/ands_storage/tasks/ipecompute2.yml
blob: db3cb756c9519e5f24257ba15eb3be359ac6cbe0 (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" opts="defaults,nofail,nodiratime,noatime" dump=0 passno=0