ansible/roles/docker-cluster/tasks/nfs-client.yml
2020-05-26 00:08:01 +02:00

26 lines
475 B
YAML

---
- become: yes
block:
- name: install nfs-client
apt:
update_cache: yes
pkg:
- nfs-common
- name: update rpc config
copy:
src: lib/systemd/system/rpc-statd.service
dest: /lib/systemd/system/rpc-statd.service
- name: stop and disable rpc
systemd:
name: rpc-statd
state: stopped
enabled: false
- name: start and enable rpc
systemd:
name: rpc-statd
state: started
enabled: true