Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
chore: split stack configuration and start into two tasks (#2044)
Browse files Browse the repository at this point in the history
(cherry picked from commit 6d13132)
  • Loading branch information
mdelapenya authored and mergify-bot committed Jan 24, 2022
1 parent 53016a4 commit 791f613
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .ci/ansible/playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,17 @@
tags:
- setup-stack

- name: Start stack
- name: Configure stack files
shell: |
sed -i '' -e 's,http://elasticsearch,http://{{inventory_hostname}},g' /home/{{ansible_user}}/e2e-testing/cli/config/compose/profiles/fleet/default/kibana.config.yml
sed -i '' -e 's,http://fleet-server,http://{{inventory_hostname}},g' /home/{{ansible_user}}/e2e-testing/cli/config/compose/profiles/fleet/default/kibana.config.yml
sed -i '' -e 's,http://package-registry:8080,https://epr-staging.elastic.co,g' /home/{{ansible_user}}/e2e-testing/cli/config/compose/profiles/fleet/default/kibana.config.yml
sudo docker-compose -f /home/{{ansible_user}}/e2e-testing/cli/config/compose/profiles/fleet/docker-compose.yml up -d
tags:
- setup-stack

- name: Start stack
become: true
shell: docker-compose -f /home/{{ansible_user}}/e2e-testing/cli/config/compose/profiles/fleet/docker-compose.yml up -d
tags:
- setup-stack

Expand Down

0 comments on commit 791f613

Please sign in to comment.