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 729be8c739 Merge pull request 'Fix permissions after mount + kitchen' (#4) from hotfix/perms into master 3 months ago
defaults Import pre-commit 3 months ago
meta Initial Commit 1 year ago
tasks Import pre-commit 3 months ago
test/integration/default Add changed_when to AWS API 1 year ago
tests fix 1 year ago
vars Add changed_when to AWS API 1 year ago
.pre-commit-config.yaml Import pre-commit 3 months ago
CHANGELOG.md Fix changelog 3 months ago
Jenkinsfile Add changed_when to AWS API 1 year ago
LICENSE Correction License 1 year ago
README.md Add changed_when to AWS API 1 year ago
kitchen.yml Fix kitchen 3 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