Skip to content

Commit

Permalink
work in progress ansible scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
Michele Sciabarra committed Oct 8, 2017
1 parent 9d2078b commit a9e6c66
Show file tree
Hide file tree
Showing 15 changed files with 1,821 additions and 0 deletions.
9 changes: 9 additions & 0 deletions LAYOUT.md
@@ -0,0 +1,9 @@
# mosaico-root

Top Level Project

Subprojects:

- `plugin`: the sbt-mosaico plugin
- `ansible`: ansible Scripts
- `terraform`: scripts to build the aws cloud
1 change: 1 addition & 0 deletions ansible/.gitignore
@@ -0,0 +1 @@
*.retry
5 changes: 5 additions & 0 deletions ansible/ansible.cfg
@@ -0,0 +1,5 @@
[defaults]
host_key_checking = False
remote_user = centos
become = true
become_user = root
54 changes: 54 additions & 0 deletions ansible/ec2.ini
@@ -0,0 +1,54 @@
[ec2]
regions = us-east-1
destination_variable = public_ip

#hostname_variable = tag_Name
vpc_destination_variable = ip_address
route53 = False
rds = False
elasticache = False
all_instances = False

# By default, only EC2 instances in the 'running' state are returned. Specify
# EC2 instance states to return as a comma-separated list. This
# option is overridden when 'all_instances' is True.
instance_states = running

all_rds_instances = False
include_rds_clusters = False
all_elasticache_replication_groups = False
all_elasticache_clusters = False
all_elasticache_nodes = False

cache_path = ~/.ansible/tmp
cache_max_age = 30
nested_groups = False
replace_dash_in_groups = True
expand_csv_tags = False

group_by_instance_id = True
group_by_region = True
group_by_availability_zone = True
group_by_aws_account = False
group_by_ami_id = True
group_by_instance_type = True
group_by_instance_state = False
group_by_key_pair = True
group_by_vpc_id = True
group_by_security_group = True
group_by_tag_keys = True
group_by_tag_none = True
group_by_route53_names = True
group_by_rds_engine = True
group_by_rds_parameter_group = True
group_by_elasticache_engine = True
group_by_elasticache_cluster = True
group_by_elasticache_parameter_group = True
group_by_elasticache_replication_group = True
stack_filters = False
instance_filters = tag:Application=Mosaico

[credentials]
# aws_access_key_id = AXXXXXXXXXXXXXX
# aws_secret_access_key = XXXXXXXXXXXXXXXXXXX
# aws_security_token = XXXXXXXXXXXXXXXXXXXXXXXXXXXX

0 comments on commit a9e6c66

Please sign in to comment.