--- # 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