mirror of
https://gitlab.com/s3lph/ansible-collection-prometheus
synced 2024-11-23 02:01:10 +01:00
copy->template
This commit is contained in:
parent
45b515e52e
commit
b018ca2b2a
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
||||||
notify: restart prometheus
|
notify: restart prometheus
|
||||||
|
|
||||||
- name: render /etc/prometheus/alert_rules.yml
|
- name: render /etc/prometheus/alert_rules.yml
|
||||||
ansible.builtin.copy:
|
ansible.builtin.template:
|
||||||
src: etc/prometheus/alert_rules.yml.j2
|
src: etc/prometheus/alert_rules.yml.j2
|
||||||
dest: /etc/prometheus/alert_rules.yml
|
dest: /etc/prometheus/alert_rules.yml
|
||||||
owner: root
|
owner: root
|
||||||
|
|
Loading…
Reference in a new issue