Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ansible doesn't verify docker as running #164

Merged
merged 4 commits into from
Sep 21, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update main.yml
Verticaleap authored Sep 20, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit a735c26477a632a3eca213a913f265c023c85b53
7 changes: 6 additions & 1 deletion tasks/ece-bootstrap/main.yml
Original file line number Diff line number Diff line change
@@ -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
@@ -49,4 +54,4 @@
when: existing_runner.stdout == ""

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