Add datadisk to mail hosts
This commit is contained in:
parent
856fb13822
commit
41d26d2b55
2 changed files with 14 additions and 0 deletions
|
@ -1,4 +1,7 @@
|
||||||
---
|
---
|
||||||
|
datadisks:
|
||||||
|
- 10
|
||||||
|
|
||||||
firewall_in:
|
firewall_in:
|
||||||
- {proto: tcp, port: 22, from: [172.20.20.0/22]}
|
- {proto: tcp, port: 22, from: [172.20.20.0/22]}
|
||||||
- {proto: tcp, port: 25}
|
- {proto: tcp, port: 25}
|
||||||
|
|
|
@ -6,6 +6,17 @@
|
||||||
user: root
|
user: root
|
||||||
gather_facts: true
|
gather_facts: true
|
||||||
|
|
||||||
|
pre_tasks:
|
||||||
|
- name: mount /export
|
||||||
|
mount:
|
||||||
|
name: /export
|
||||||
|
src: LABEL=/export
|
||||||
|
fstype: xfs
|
||||||
|
opts: noatime,noexec,nosuid,nodev
|
||||||
|
passno: "0"
|
||||||
|
dump: "0"
|
||||||
|
state: mounted
|
||||||
|
|
||||||
vars_files:
|
vars_files:
|
||||||
- "{{ ansible_private }}/vars.yml"
|
- "{{ ansible_private }}/vars.yml"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue