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

fixed nfs export issue with ubuntu

parent 9801de9b
No related branches found
No related tags found
1 merge request!293Ubuntu
......@@ -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