Fix mount not actually being a mount task
This commit is contained in:
parent
6e9af61025
commit
3866fa159d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user