Skip to content
Snippets Groups Projects
Commit d2cbece0 authored by Simon Michnowicz's avatar Simon Michnowicz
Browse files

this fixes typos and logic errors in previous commit. Mea culpa

parent 50816996
No related branches found
No related tags found
1 merge request!43Simon nfs fix
...@@ -18,11 +18,11 @@ ...@@ -18,11 +18,11 @@
- name: "Enable the Server at boot" - name: "Enable the Server at boot"
service: "name=nfs enabled=true" service: "name=nfs enabled=true"
sudo: true sudo: true
when: ansible_os_family == "RedHat" and ansible_os_distribution_major == "7" when: ansible_os_family == "RedHat" and ansible_distribution_major_version < "7"
- name: "Enable the Server at boot" - name: "Enable the Server at boot"
service: "name=nfs-server.service enabled=true" service: "name=nfs-server.service enabled=true"
sudo: true sudo: true
when: ansible_os_family == "RedHat" and ansible_os_distribution_major < "7" when: ansible_os_family == "RedHat" and ansible_distribution_major_version == "7"
- name: "Start the Server" - name: "Start the Server"
service: "name=nfs-kernel-server state=started enabled=true" service: "name=nfs-kernel-server state=started enabled=true"
......
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