Ansible role that install Logserver onto aws through terraform
-
aws_access_key:
access key for AWS -
aws_secret_key:
secret key for AWS -
aws_region_name:
region for AWS -
aws_vpc:
VPC Name -
aws_subnet_id:
VPC Subnet ID for the Elasticsearch domain endpoint to be created in. -
aws_cidr_block_from_port_80:
-
ec2_name:
uniquie identifier for proxy logserver -
ec2_instance_type:
instance type to use for proxy logserver -
ec2_ami:
The ID of the AMI with which the instance was launched -
ec2_docker_compose:
docker-compose version -
ec2_add_ssh_key:
ssh public key -
ec2_nginx_version:
nginx version -
ec2_logstash_version:
logstash version -
es_domain_name:
unique identifier for the domain. -
es_version:
elasticsearch version -
es_instance_count:
number of instances in the cluster elasticsearch. -
es_instance_type:
elasticsearch instance type to use for data nodes. -
es_volume_size:
size in GB of EBS volume to attach to each node and use for data storage. -
kibana_login:
username for kibana -
kibana_htpasswd:
md5 hash password for kibana -
route53_domain_name:
-
route53_prefix_domain_name:
requirements.yml
- name: terraform-logserver
src: https://github.com/Ambisafe/ansible-role-tf-logserver.git
playbook.yml
- name: testing role ansible-role-tf-logserver
hosts: localhost
gather_facts: false
vars:
aws_region : "eu-west-2"
aws_cidr_block_from_port_80: "0.0.0.0/0"
ec2_name: "logserver-proxy"
ec2_instance_type: "t2.small"
ec2_docker_compose: "1.19.0"
ec2_ssh_public_key: "ssh-rsa XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
ec2_nginx_version: "1.13"
ec2_logstash_version: "6.2.1"
es_domain_name: "elasticsearch_cluster"
es_version: "6.0"
es_instance_count: "1"
es_instance_type: "t2.small.elasticsearch"
es_volume_size: "10"
kibana_login: "login"
kibana_htpasswd: "XXXXXXXXXXXXXXXXXXXXXXXXX"
route53_domain_name: "ambi.rocks."
route53_prefix_domain_name: "logs"
roles:
- { role: terraform-logserver }
Artem Yushkov
DevOps@Ambisafe