blob: d1601c891c5733da5b1e9bb32c1e4e7de08e864c (
plain) (
tree)
|
|
- name: edit daemons flags
ansible.builtin.lineinfile:
path: /etc/rc.conf
regexp: "^{{ item[0] }}="
line: "{{ item[0] }}=\"{{ item[1] }}\""
loop:
- ["nfs_server_flags", "-tun {{ nfsd_nb_process }}"]
- ["rpcbind_enable=", "YES"]
- ["mountd_flags", "-r"]
- name: enable and restart rpcbind
ansible.builtin.service:
name: rpcbind
state: restarted
enabled: true
|