Add datadisk to mail hosts

This commit is contained in:
Timo Makinen 2021-03-11 06:19:27 +00:00
parent 856fb13822
commit 41d26d2b55
2 changed files with 14 additions and 0 deletions

View file

@ -1,4 +1,7 @@
---
datadisks:
- 10
firewall_in:
- {proto: tcp, port: 22, from: [172.20.20.0/22]}
- {proto: tcp, port: 25}

View file

@ -6,6 +6,17 @@
user: root
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:
- "{{ ansible_private }}/vars.yml"