# SPDX-License-Identifier: MIT
---
- name: Check if pmproxy responds
  uri:
    url: http://localhost:44322/series/ping
    method: GET
    status_code: 200
  when: __metrics_is_booted | bool

- name: Check the ansible_managed header in the configuration file
  vars:
    __test_config_path: /etc/sysconfig/pmproxy
  include_tasks: check_header.yml
