mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 16:55:00 +01:00
Prometheus
This commit is contained in:
parent
a61ddf813c
commit
861ddee778
3 changed files with 45 additions and 1 deletions
|
|
@ -15,6 +15,26 @@
|
|||
hour: "7"
|
||||
job: "/apps/backup.sh"
|
||||
#####
|
||||
# APP: prometheus, /apps/prometheus
|
||||
- name: Create /apps/prometheus
|
||||
ansible.builtin.file:
|
||||
path: "/apps/prometheus"
|
||||
state: directory
|
||||
mode: "u=rwx,g=rx,o=rx"
|
||||
- name: Copy Prometheus config
|
||||
ansible.builtin.copy:
|
||||
dest: /apps/prometheus/prometheus.yml
|
||||
src: ../apps/prometheus/prometheus.yml
|
||||
mode: "u=r,g=r,o=r"
|
||||
owner: 1001
|
||||
- name: Create /apps/prometheus/data
|
||||
ansible.builtin.file:
|
||||
path: "/apps/prometheus/data"
|
||||
state: directory
|
||||
mode: "u=rwx,g=rx,o="
|
||||
owner: 1001
|
||||
#####
|
||||
#####
|
||||
# APP: docker registry, /apps/registry
|
||||
#####
|
||||
- name: Create /apps/registry
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue