add disable-rpcbind role
This commit is contained in:
parent
d68f25b004
commit
03b90b70ce
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
- name: Disable rpcbind service
|
||||||
|
hosts: cloud
|
||||||
|
user: root
|
||||||
|
|
||||||
|
roles:
|
||||||
|
- disable-rpcbind
|
|
@ -0,0 +1,9 @@
|
||||||
|
---
|
||||||
|
# This role disables the rpcbind service on hosts
|
||||||
|
|
||||||
|
- name: Disable and mask the rpcbind service
|
||||||
|
systemd:
|
||||||
|
name: rpcbind
|
||||||
|
enabled: false
|
||||||
|
state: stopped
|
||||||
|
masked: true
|
|
@ -9,3 +9,4 @@
|
||||||
- turn-off-motd-news
|
- turn-off-motd-news
|
||||||
- apt-maintenance
|
- apt-maintenance
|
||||||
- ssh-enforcement
|
- ssh-enforcement
|
||||||
|
- disable-rpcbind
|
||||||
|
|
Loading…
Reference in New Issue