Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion hooks/playbooks/pcp-metrics-post.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# The best place to call this hook is under post_tests actions.
#
- name: Collect performance metrics
hosts: all,!localhost
hosts: "{{ cifmw_pcp_metrics_hosts }}"
gather_facts: false
tasks:
- name: Gather metrics
Expand Down
2 changes: 1 addition & 1 deletion hooks/playbooks/pcp-metrics-pre.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
tasks_from: repo

- name: Start collecting performance metrics
hosts: all,!localhost
hosts: "{{ cifmw_pcp_metrics_hosts }}"
gather_facts: false
tasks:
- name: Setup PCP
Expand Down
3 changes: 3 additions & 0 deletions roles/pcp_metrics/defaults/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ pcp_metrics_setup: false
pcp_metrics_gather: false
pcp_metrics_plot: false

# Host pattern for PCP hook playbooks (setup and gather)
cifmw_pcp_metrics_hosts: "all,!localhost"

# Setup-related variables
pcp_metrics_packages:
- pcp # for pmlogger
Expand Down
Loading