X-Git-Url: https://freie-schul-it.de/gitweb/fsit_smgt.git/blobdiff_plain/aa8bc731bf88603beafcf6744a4a08bb68c12a5a..76764d173a5c86618b179733af5962160f632b51:/tasks/nfs.yml diff --git a/tasks/nfs.yml b/tasks/nfs.yml index 5cdd68d..9378ab6 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/{{ fsit_smgt_nfs_export_dir }}" + state: directory + notify: + - Restart nfs-kernel-server service +