Setting up Monitoring Server and Log Server on Press App

Has anybody been able to setup the Monitoring Server and the Log Server successfully? A few Ansible tasks are ending up in error state every time. I have tried to use Ubuntu 20.04 and 22.04 image servers without success.

- name: Configure Prometheus
  # become: yes
  # become_user: frappe
  template:
    src: prometheus.yml
    dest: /home/frappe/prometheus/prometheus.yml
    force: true
    mode: 0600
    validate: "/home/frappe/prometheus/promtool check config %s"