Fix mount not actually being a mount task

This commit is contained in:
Salt 2020-08-15 05:54:22 -05:00
parent 6e9af61025
commit 3866fa159d

View File

@ -107,11 +107,12 @@
security_groups: [ "{{ gitea.efs.security_group }}" ]
register: efs
- name: Mount EFS
path: "{{ gitea.root }}"
src: "{{ efs.efs.filesystem_address }}"
fstype: nfs4
opts: "nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2,noresvport"
state: mounted
mount:
path: "{{ gitea.root }}"
src: "{{ efs.efs.filesystem_address }}"
fstype: nfs4
opts: "nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2,noresvport"
state: mounted
when: gitea.efs.name is defined
tags: [ giteaefs ]
- name: Check for config