2 - name: Install NFS tools
8 path: "{{ efs_mount_path }}"
17 url: http://169.254.169.254/latest/meta-data/placement/availability-zone
19 register: aws_current_az
21 - name: Mount EFS volume
23 name: "{{ efs_mount_path }}"
24 src: "{{ efs_id }}.efs.{{ aws_current_az.content[:-1] }}.amazonaws.com:/"
26 opts: "nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2,_netdev"