# SPDX-License-Identifier: MIT
---
- name: Check if grafana-pcp is installed
  changed_when: false
  shell: |
    set -eu
    if set -o | grep -q pipefail; then
      set -o pipefail  # no pipefail on debian, some ubuntu
    fi
    (cd /tmp && /usr/sbin/grafana-cli plugins ls) | grep performancecopilot
