Skip to content
Snippets Groups Projects
Commit f69b20b4 authored by Jafar Lie's avatar Jafar Lie
Browse files

fixed nfs export issue with ubuntu

Former-commit-id: a11f6ac9
parent 102219d4
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,15 @@
become: true
when: ansible_os_family == "RedHat" and ansible_distribution_major_version == "7"
- name: "Run exportfs"
command: /usr/sbin/exportfs -a
become: true
when: ansible_os_family == "Debian"
- name: "Start the Server"
service: "name=nfs-kernel-server state=started enabled=true"
become: true
when: ansible_os_family == "Debian"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment