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 }}" ] security_groups: [ "{{ gitea.efs.security_group }}" ]
register: efs register: efs
- name: Mount EFS - name: Mount EFS
path: "{{ gitea.root }}" mount:
src: "{{ efs.efs.filesystem_address }}" path: "{{ gitea.root }}"
fstype: nfs4 src: "{{ efs.efs.filesystem_address }}"
opts: "nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2,noresvport" fstype: nfs4
state: mounted opts: "nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2,noresvport"
state: mounted
when: gitea.efs.name is defined when: gitea.efs.name is defined
tags: [ giteaefs ] tags: [ giteaefs ]
- name: Check for config - name: Check for config