DCD-224: Fix mountpoint creation and remove old task.

This commit is contained in:
Steve Smith
2019-04-01 15:43:56 +11:00
parent 54baed6cca
commit 47210ebb69
2 changed files with 1 additions and 5 deletions

View File

@@ -1,10 +1,6 @@
--- ---
- name: Enable mountpoint in fstab - name: Enable mountpoint in fstab
# lineinfile:
# path: "/etc/fstab"
# line: "{{ efs_target }}:/ /media/atl nfs4 rw,vers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2 0 0"
# notify: mount_all
mount: mount:
path: "{{ atl_shared_mountpoint }}" path: "{{ atl_shared_mountpoint }}"
src: "{{ efs_target }}:/" src: "{{ efs_target }}:/"

View File

@@ -8,6 +8,6 @@
- name: Create mountpoint - name: Create mountpoint
file: file:
state: directory state: directory
path: "{{ atl_shared_mount }}" path: "{{ atl_shared_mountpoint }}"
owner: "{{ product_user }}" owner: "{{ product_user }}"
mode: 0755 mode: 0755