nfs-server: create 10 more 1gb persistent volumes for misc projects, the first 10 are used.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
05905e6904
commit
f9a95fc764
1 changed files with 4 additions and 4 deletions
|
@ -122,25 +122,25 @@
|
|||
|
||||
- name: create 1 GB communishift logical volumes
|
||||
lvol: vg=VG_nfs lv=openshift-01gb-{{item}} size=1g shrink=no
|
||||
with_items: ["00","01","02","03","04","05","06","07","08","09"]
|
||||
with_items: ["00","01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20"]
|
||||
tags:
|
||||
- drives
|
||||
|
||||
- name: Create FS for 1 GB communishift logical volules
|
||||
filesystem: fstype=xfs dev=/dev/VG_nfs/openshift-01gb-{{item}}
|
||||
with_items: ["00","01","02","03","04","05","06","07","08","09"]
|
||||
with_items: ["00","01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20"]
|
||||
tags:
|
||||
- drives
|
||||
|
||||
- name: Create openshift 1GB tree directories
|
||||
file: path=/srv/nfs/openshift-01gb-{{item}} state=directory owner=root group=root
|
||||
with_items: ["00","01","02","03","04","05","06","07","08","09"]
|
||||
with_items: ["00","01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20"]
|
||||
tags:
|
||||
- drives
|
||||
|
||||
- name: Mount openshift 1GB tree directories
|
||||
mount: name=/srv/nfs/openshift-01gb-{{item}} src=/dev/mapper/VG_nfs-openshift--01gb--{{item}} fstype=xfs state=mounted
|
||||
with_items: ["00","01","02","03","04","05","06","07","08","09"]
|
||||
with_items: ["00","01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20"]
|
||||
tags:
|
||||
- drives
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue