require rpcbind
This commit is contained in:
parent
8c08a1f0fa
commit
68886a9410
|
@ -1,4 +1,19 @@
|
||||||
---
|
---
|
||||||
|
- name: install rpcbind
|
||||||
|
apt:
|
||||||
|
name: rpcbind
|
||||||
|
- name: disable rpcbind from the internet
|
||||||
|
iptables:
|
||||||
|
action: insert
|
||||||
|
chain: INPUT
|
||||||
|
comment: drop portmapper
|
||||||
|
in_interface: "!nodevpn"
|
||||||
|
jump: DROP
|
||||||
|
protocol: "{{item}}"
|
||||||
|
destination_port: "111"
|
||||||
|
with_items:
|
||||||
|
- tcp
|
||||||
|
- udp
|
||||||
- name: install gluster package
|
- name: install gluster package
|
||||||
apt:
|
apt:
|
||||||
name: glusterfs-server
|
name: glusterfs-server
|
||||||
|
@ -15,7 +30,7 @@
|
||||||
mount:
|
mount:
|
||||||
path: /mnt/gluster
|
path: /mnt/gluster
|
||||||
src: /dev/sdb
|
src: /dev/sdb
|
||||||
options: noatime
|
opts: noatime
|
||||||
fstype: ext4
|
fstype: ext4
|
||||||
state: mounted
|
state: mounted
|
||||||
- name: gluster peers
|
- name: gluster peers
|
||||||
|
|
Loading…
Reference in New Issue