Skip to content

Commit

Permalink
scylla-monitoring: debugging
Browse files Browse the repository at this point in the history
Revert me!

Signed-off-by: Vlad Zolotarov <[email protected]>
  • Loading branch information
vladzcloudius committed Mar 13, 2024
1 parent 7170003 commit 2fa1118
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ansible-scylla-monitoring/tasks/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -247,12 +247,16 @@

- name: Auto detect Scylla version if dashboard versions were not explicitly specified
block:
- name: Get Scylla version from the first Scylla node
- name: Get Scylla version from "{{ groups['scylla'][0] }}"
shell: |
scylla --version | cut -d'.' -f1,2
delegate_to: "{{ groups['scylla'][0] }}"
register: _scylla_version_out

- name: Read Scylla version
debug:
var: _scylla_version_out

- name: Adding Scylla dashboard option if getting a Scylla version was successful
set_fact:
_scylla_monitoring_dashboards_versions: ["{{ _scylla_version_out.stdout }}"]
Expand Down

0 comments on commit 2fa1118

Please sign in to comment.