Skip to content

Commit

Permalink
Update for ES upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
oblodgett committed May 23, 2020
1 parent 159a7f3 commit a469ad8
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 7 deletions.
2 changes: 1 addition & 1 deletion custom_playbook_launch_instance.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---

- import_playbook: playbook_pre_tasks.yml
- import_playbook: playbook_launch_web_instance.yml
- import_playbook: playbook_launch_instance.yml

- name: Configure Servers
hosts: launched
Expand Down
23 changes: 23 additions & 0 deletions custom_playbook_launch_web_instance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---

- import_playbook: playbook_pre_tasks.yml
- import_playbook: playbook_launch_web_instance.yml

- name: Configure Servers
hosts: launched
user: core
gather_facts: False

roles:
- akirak.coreos-python

vars_files:
- "environments/{{ env }}/main.yml" # ENV must always be loaded first
- "environments/shared_secrets.yml"
- "environments/shared_variables.yml"

tasks:
- name: Setup Docker, Setup Neo, Run Loader, Push Images
block:
- include_tasks: tasks/install_docker_py.yml
- include_tasks: tasks/setup_docker.yml
3 changes: 1 addition & 2 deletions playbook_launch_instance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
zone: us-east-1b
vpc_subnet_id: subnet-df7c7487
assign_public_ip: yes
roles:
- S3DataAccess
instance_profile_name: S3DataAccess
aws_access_key: "{{ AWS_ACCESS_KEY }}"
aws_secret_key: "{{ AWS_SECRET_KEY }}"
volumes:
Expand Down
6 changes: 2 additions & 4 deletions tasks/start_es_env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@
- "9200:9200"
- "9300:9300"
env:
http.host: "0.0.0.0"
transport.host: "0.0.0.0"
xpack.security.enabled: "false"
discovery.type: single-node

- name: Run Cerebro
docker_container:
Expand All @@ -30,4 +28,4 @@
networks:
- name: "{{ NET }}"
ports:
- "9000:9000"
- "9000:9000"

0 comments on commit a469ad8

Please sign in to comment.