Make sure all disks are mounted on vmhosts
This commit is contained in:
parent
1cf67e6b24
commit
b46804a55d
1 changed files with 29 additions and 0 deletions
|
@ -7,6 +7,35 @@
|
||||||
vars_files:
|
vars_files:
|
||||||
- "{{ ansible_private }}/vars.yml"
|
- "{{ ansible_private }}/vars.yml"
|
||||||
|
|
||||||
|
pre_tasks:
|
||||||
|
- name: mount /export
|
||||||
|
ansible.builtin.mount:
|
||||||
|
name: /export/hdd
|
||||||
|
src: LABEL=hdd
|
||||||
|
fstype: xfs
|
||||||
|
opts: noatime,noexec,nosuid,nodev
|
||||||
|
passno: "0"
|
||||||
|
dump: "0"
|
||||||
|
state: mounted
|
||||||
|
- name: mount /export
|
||||||
|
ansible.builtin.mount:
|
||||||
|
name: /export/nvme
|
||||||
|
src: LABEL=nvme
|
||||||
|
fstype: xfs
|
||||||
|
opts: noatime,noexec,nosuid,nodev
|
||||||
|
passno: "0"
|
||||||
|
dump: "0"
|
||||||
|
state: mounted
|
||||||
|
- name: mount /export
|
||||||
|
ansible.builtin.mount:
|
||||||
|
name: /export/ssd
|
||||||
|
src: LABEL=ssd
|
||||||
|
fstype: xfs
|
||||||
|
opts: noatime,noexec,nosuid,nodev
|
||||||
|
passno: "0"
|
||||||
|
dump: "0"
|
||||||
|
state: mounted
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- base
|
- base
|
||||||
- kvm_host
|
- kvm_host
|
||||||
|
|
Loading…
Add table
Reference in a new issue