Skip to content

Commit

Permalink
exporter: add validate.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rpelisse committed Dec 29, 2023
1 parent bf6c394 commit 85e5e1a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
5 changes: 5 additions & 0 deletions playbooks/playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@
name: amq_streams_connect
tasks_from: validate.yml

- name: "Validate that Exporter deployment is functional."
ansible.builtin.include_role:
name: amq_streams_exporter
tasks_from: validate.yml

- name: "Ensures topics exist."
ansible.builtin.include_role:
name: amq_streams_broker
Expand Down
10 changes: 1 addition & 9 deletions roles/amq_streams_exporter/tasks/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,4 @@
name: amq_streams_common
tasks_from: validation/service.yml
vars:
service_name: "{{ amq_streams_connect_service_name }}"

- name: "Ensure required parameter(s) are provided."
ansible.builtin.include_role:
name: amq_streams_common
tasks_from: validation/logfile.yml
vars:
server_log_validation_min_size: "{{ amq_streams_connect_server_log_validation_min_size }}"
server_log_dir: "{{ amq_streams_connect_logs_dir }}connect.log"
service_name: "{{ amq_streams_exporter_service_name }}"

0 comments on commit 85e5e1a

Please sign in to comment.