Mount EFS volume for CentOS / RHEL / Amazon Linux 2 / Debian.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Julien Cabillot defaf11328 Merge branch 'feature/better' of fxinnovation-public/ansible-role-aws-efs into master 10 months ago
defaults Default value 10 months ago
meta Initial Commit 1 year ago
tasks Default value 10 months ago
test/integration/default Add changed_when to AWS API 10 months ago
tests fix 10 months ago
vars Add changed_when to AWS API 10 months ago
Jenkinsfile Add changed_when to AWS API 10 months ago
LICENSE Correction License 1 year ago
README.md Add changed_when to AWS API 10 months ago
kitchen.yml Add changed_when to AWS API 10 months ago

README.md

ansible-role-aws-efs

Mount EFS volume for CentOS / RHEL / Amazon Linux 2 / Debian

Requirements

N/A

Role Variables

Mount mappings

Notes:

  • Filesystem must be in the same security group with the EC2 instances using it

Options:

  • path: Local path to mount target folder in your EC2 instance
  • owner: Owner of the folder (default value “root”)
  • group: Group of the folder (default value “root”)
  • mode: Permissions for the folder (default value “0755”)
  • region: In what region filesystem is
  • filesystem_id: Filesystem ID

Dependencies

N/A

Example Playbook

  tasks:
  - name: 'Mount EFS volume'
    vars:
      aws_efs_paths:
      - path: '/data/mft'
        owner: 'ec2-user'
        group: 'ec2-user'
        mode: '0755'
        region: 'ca-central-1'
        filesystem_id: 'fs-8da74460'

    include_role:
      name: ansible-role-aws-efs

License

MIT

Author Information

FXInnovation Inc