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 }}" ]
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user