disable the socket and the service

This commit is contained in:
packetcat 2024-02-28 07:41:47 -05:00
parent 03b90b70ce
commit c752206a5a
1 changed files with 8 additions and 1 deletions

View File

@ -3,7 +3,14 @@
- name: Disable and mask the rpcbind service
systemd:
name: rpcbind
name: rpcbind.service
enabled: false
state: stopped
masked: true
- name: Disable and mask the rpcbind socket
systemd:
name: rpcbind.socket
enabled: false
state: stopped
masked: true