Commit 10f41161 authored by nanahira's avatar nanahira

prom

parent 0c803f3a
......@@ -65,3 +65,4 @@ typings/
/roles/init
/files/samba-data
/files/services
/files/prometheus.yaml
- hosts: prom
remote_user: root
tasks:
- name: upload
copy:
src: ./files/prometheus.yaml
dest: '{{prom_file}}'
notify: restart_prometheus
handlers:
- name: restart_prometheus
docker_compose:
project_src: '{{prom_path}}'
services:
- prometheus
restarted: true
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment