Add Postgres monitoring for Prometheus

This commit is contained in:
Thomas Kleinendorst 2024-10-21 09:43:27 +02:00
parent 653aef8c38
commit 4054f1a02e
4 changed files with 27 additions and 0 deletions

View file

@ -13,6 +13,9 @@
- name: Register current user in a variable
ansible.builtin.set_fact:
container_user: "{{ whoami.stdout }}"
- name: Set default podman_simple_container_volumes if not provided
ansible.builtin.set_fact:
podman_simple_container_volumes: "{{ podman_simple_container_volumes | default([]) }}"
- name: Create mount directories
ansible.builtin.file:
path: "/home/{{ container_user }}/{{ item.name }}"