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"
There are issue with this task, ansible can’t validate config file at same time with copy file, jist do it in 2 separate tasks ant all will be okay