From b23e9400c36acf9856606165489e8828c2cf8dd5 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Fri, 11 Oct 2019 06:25:21 +0200 Subject: ipa-client and fine tunning --- roles/ands_storage/tasks/ipecompute2.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 roles/ands_storage/tasks/ipecompute2.yml (limited to 'roles/ands_storage/tasks/ipecompute2.yml') diff --git a/roles/ands_storage/tasks/ipecompute2.yml b/roles/ands_storage/tasks/ipecompute2.yml new file mode 100644 index 0000000..9b2cef8 --- /dev/null +++ b/roles/ands_storage/tasks/ipecompute2.yml @@ -0,0 +1,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" -- cgit v1.2.3