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

refactor: start dashmate services depending on status #503

Merged
merged 33 commits into from
Jul 12, 2023
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
3c6c3a3
feat: start and stop dashmate depending on status
pshenmic May 16, 2023
ba6a4cf
fix: zero ssl check
pshenmic May 18, 2023
d08a3b7
fix: ansible lint
pshenmic May 18, 2023
42227a9
Merge branch 'master' into fix/dashmate-status
pshenmic May 18, 2023
1eb6539
fix: code review
pshenmic May 18, 2023
12a8d98
fix: revert some changes from separate pr
pshenmic May 18, 2023
51c5968
feat: add start platform
pshenmic May 18, 2023
788e861
fix: replace drive with tenderdash
pshenmic May 18, 2023
1adec64
Merge branch 'master' into fix/dashmate-status
pshenmic Jun 22, 2023
b656904
feat: smart start / restart logic
pshenmic Jun 25, 2023
7fff8ce
fix: template idempotency
pshenmic Jun 26, 2023
e9cb556
fix: remove comments
pshenmic Jun 26, 2023
414a3e9
chore: remove force
pshenmic Jun 28, 2023
a4bbad3
Merge branch 'master' into fix/dashmate-status
pshenmic Jul 3, 2023
02b08e5
chore: print
pshenmic Jul 3, 2023
0c92a06
chore: revert
pshenmic Jul 3, 2023
1b8484c
chore: fix print
pshenmic Jul 3, 2023
b5dbe2a
chore: revert
pshenmic Jul 3, 2023
7848224
fix: pretty print and fix var name
pshenmic Jul 5, 2023
0ce0f7d
fix: lint issues
pshenmic Jul 5, 2023
4a06b95
fix: cleanup
pshenmic Jul 5, 2023
f02b30d
fix: revert check
pshenmic Jul 5, 2023
cec1346
fix: escape
pshenmic Jul 5, 2023
b51fb42
fix: code review
pshenmic Jul 7, 2023
1bd0879
feat: extract dashmate version
pshenmic Jul 7, 2023
371c2ba
fix: lint fix
pshenmic Jul 7, 2023
21c6582
feat: improve conditions
pshenmic Jul 10, 2023
bbd8e38
feat: cleanup
pshenmic Jul 10, 2023
5ad5dfd
feat: look by not_started
pshenmic Jul 10, 2023
cdd4049
feat: refactor to core_running
pshenmic Jul 10, 2023
fa503a0
refactor: start/restart logic
shumkov Jul 10, 2023
ec8f134
fix: add bindIp
pshenmic Jul 10, 2023
883475f
fix: issues
pshenmic Jul 10, 2023
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
feat: look by not_started
pshenmic committed Jul 10, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 5ad5dfd146d4fcb67982563981ec0b27979085ee
2 changes: 1 addition & 1 deletion ansible/roles/dashmate/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -185,7 +185,7 @@
{{
dashmate_services_status.stdout |
from_json |
json_query('[?service!=`core`&&service!=`sentinel`&&status==`running`]') |
json_query('[?service!=`core`&&service!=`sentinel`&&status!=`not_started`]') |
length | int > 0
}}
core_images_updated: >-