diff --git a/roles/nfs-client/tasks/main.yml b/roles/nfs-client/tasks/main.yml index 7137d1d..7bade02 100644 --- a/roles/nfs-client/tasks/main.yml +++ b/roles/nfs-client/tasks/main.yml @@ -8,17 +8,17 @@ - name: Create mountable dir file: - path: {{ nfs-mount-path }} + path: {{ nfs.mount-path }} state: directory mode: 0644 - owner: {{ nfs-dir-owner }} - group: {{ nfs-dir-group }} + owner: {{ nfs.dir-owner }} + group: {{ nfs.dir-group }} - name: Mount and add to fstab mount: state: mounted # actively mounted and configured in fstab - src: {{ nfs-src }} - path: {{ nfs-mount-path }} + src: {{ nfs.src }} + path: {{ nfs.mount-path }} fstype: nfs opts: defaults # don't specify dump and fsck to keep the 0 (don't) variable