We found an issue where ansible would fail to enable nfs-kernel-server
on vivid. It's already enabled by default anyway, so let's remove that
to avoid the error.
Also, ceph-qa-chef used to only restart nfs-kernel-server for ubuntu and
didn't enable so let's go back to that functionality.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
state: started
enabled: yes
-- name: start nfs-server
+- name: restart nfs-server
service:
name: "{{ nfs_service }}"
- state: started
- enabled: yes
+ state: restarted
- name: restart cron
service:
mode: 0644
notify:
- start rpcbind
- - start nfs-server
+ - restart nfs-server