X-Git-Url: https://freie-schul-it.de/gitweb/fsit_smgt.git/blobdiff_plain/aa8bc731bf88603beafcf6744a4a08bb68c12a5a..9a0d771d618c96a5c204a3d9886a87ba315056fd:/tasks/nfs.yml?ds=inline diff --git a/tasks/nfs.yml b/tasks/nfs.yml index 5cdd68d..a790451 100644 --- a/tasks/nfs.yml +++ b/tasks/nfs.yml @@ -2,4 +2,18 @@ - name: Install server specific packages ansible.builtin.apt: pkg: - - + - nfs-kernel-server + - ldap-account-manager-lamdaemon +- name: Make sure nfs4 main dir exists + ansible.builtin.file: + path: /srv/nfs4 + state: directory + notify: + - Restart nfs-kernel-server service +- name: Create pseudo-dir for export + ansible.builtin.file: + path: "/srv/nfs4/{{ export_dir }}" + state: directory + notify: + - Restart nfs-kernel-server service +