23 lines
463 B
YAML
23 lines
463 B
YAML
---
|
|
# This role disables the rpcbind service on hosts
|
|
|
|
- name: Disable and mask the rpcbind service
|
|
systemd:
|
|
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
|
|
|
|
- name: Disable and mask the rpcbind target
|
|
systemd:
|
|
name: rpcbind.target
|
|
enabled: false
|
|
state: stopped
|
|
masked: true |