Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

Commit

Permalink
Fixed adding ansible comment in templates (#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
carpenterbees authored and paulfantom committed Sep 27, 2018
1 parent bcc312c commit 6a148c6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion templates/alert.rules.j2
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# {{ ansible_managed }}
{{ ansible_managed | comment }}

groups:
- name: ansible managed alert rules
rules:
Expand Down
3 changes: 2 additions & 1 deletion templates/prometheus.service.j2
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# {{ ansible_managed }}
{{ ansible_managed | comment }}

[Unit]
Description=Prometheus
After=network.target
Expand Down
2 changes: 1 addition & 1 deletion templates/prometheus.yml.j2
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#jinja2: trim_blocks: True, lstrip_blocks: True
# {{ ansible_managed }}
{{ ansible_managed | comment }}
# http://prometheus.io/docs/operating/configuration/

global:
Expand Down

0 comments on commit 6a148c6

Please sign in to comment.