kaihei777.ansible_role_efs_lightsail
ansible-role-efs-lightsail
This role helps you connect Amazon EFS (Elastic File System) to Lightsail instances that are set up with VPC peering.
Galaxy link
You can find the role here:
Galaxy Link
Requirements
You need:
- An Amazon AWS account
- EFS file system(s)
- VPC Peering Lightsail virtual server(s) running RedHat.
Role Variables
You can find a list of available variables and their default values in the defaults/main.yml
file.
Dependencies
There are no dependencies required for this role.
Example Playbook
Here’s an example of how to use this role, including how to pass variables:
- hosts: servers
roles:
- {
role: kaihei777.ansible_role_efs_lightsail,
mount_type: "vpc-peering",
aws_efs_paths:
[
{
path: "/mnt/efs",
owner: "root",
group: "root",
mode: "0644",
region: "ap-northeast-1",
filesystem_id: "fs-xxxxx",
mount_target_ip: "172.31.xx.xx",
state: "mounted",
opts: "nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2",
},
],
}
License
This role is licensed under MIT / BSD.
Author Information
This role was created by Kaihei Sameshima in 2019.
Informazioni sul progetto
Mount Amazon EFS file systems to VPC Peering Lightsail instances.
Installa
ansible-galaxy install kaihei777.ansible_role_efs_lightsail
Licenza
other
Download
1.5k
Proprietario