aws efs mount connection time out

20 views
Skip to first unread message

Sandy Hung

unread,
Apr 1, 2020, 2:58:55 AM4/1/20
to Ansible Project
Hi

i try inbound rule add nfs port 2049 to scertiy group id 
but still show error connection time out
no idea how to solved 

  - name: mount efs volume
       mount:
         path: "/home/ec2-user/{{ efs_vol_name }}"
         src: "{{ efs_fact_id }}.efs.ap-southeast-1.amazonaws.com:/"
         fstype: "nfs4"
         opts: "nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2,noresvport"
         state: mounted
       become: yes

     - name: change directory owner
       file:
         dest: "/home/ec2-user/{{ efs_vol_name }}"
         owner: "ec2-user"
         group: "ec2-user"
         state: directory
       become: yes

Dick Visser

unread,
Apr 1, 2020, 3:13:53 AM4/1/20
to ansible...@googlegroups.com
Hi

This seems to be an issue with the specifics of your environment, and
not with ansible.
> --
> You received this message because you are subscribed to the Google Groups "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/3e4b5af7-db5c-46e9-82c1-cf63d5845d35%40googlegroups.com.



--
Dick Visser
Trust & Identity Service Operations Manager
GÉANT
Reply all
Reply to author
Forward
0 new messages