Skip to content

Commit

Permalink
Merge pull request #164 from Verticaleap/patch-1
Browse files Browse the repository at this point in the history
Ansible doesn't verify docker as running
  • Loading branch information
alpar-t authored Sep 21, 2022
2 parents 09bf023 + 244b992 commit f31f507
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tasks/ece-bootstrap/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@
owner: elastic
when: docker_config != ""

- name: Ensure the docker service is started
systemd:
name: docker
state: started

- name: Check if an installation or upgrade should be performed
shell: docker ps -a -f name=frc-runners-runner --format {%raw%}"{{.Image}}"{%endraw%}
register: existing_runner
Expand All @@ -49,4 +54,4 @@
when: existing_runner.stdout == ""

- include_tasks: upgrade.yml
when: existing_runner.stdout != ""
when: existing_runner.stdout != ""

0 comments on commit f31f507

Please sign in to comment.