ansible/roles/docker-cluster/tasks/nfs-client.yml

26 lines
475 B
YAML
Raw Normal View History

2020-05-25 22:08:01 +00:00
---
- 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