Skip to content

Latest commit

 

History

History
45 lines (27 loc) · 1.01 KB

README.md

File metadata and controls

45 lines (27 loc) · 1.01 KB

Ansible Role: AWS EFS

Role to mount EFS filesystems to EC2 instances.

Galaxy link

https://galaxy.ansible.com/back-2-95/aws-efs/

Requirements

Amazon AWS account, EFS filesystem(s) and EC2 virtual server(s) with Ubuntu or RedHat.

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

aws_efs_paths:
- { path: "/some/path", owner: "root", group: "root", mode: "0644", region: "eu-west-1", filesystem_id: "fs-someid"}
- { path: "/some/other/path", owner: "root", group: "root", mode: "0755", region: "eu-west-1", filesystem_id: "fs-someotherid"}

Dependencies

None.

Used in requirements.yml

- src: https://github.com/back-2-95/ansible-role-aws-efs
  version: master
  name: back-2-95.aws-efs

Example Playbook

- hosts: your_ec2_servers
  vars_files:
    - vars/main.yml
  roles:
    - { role: back-2-95.aws-efs }

License

MIT / BSD

Author Information

This role was created in 2016 by Marko Korhonen.