example to parse ec2role
fix usage
fix indent
parse ec2 role