Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add ansible_managed to templates
When looking at configuration files on a host, it's often helpful to
know when the file was generated by a configuration management tool.
Ansible provides this through the `ansible_managed` context variable.
  • Loading branch information
dirn committed Mar 1, 2016
commit d2e2287ed546618bb3e09fd3f75cdddd8d412879
1 change: 1 addition & 0 deletions templates/HOWTO.postgresql.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# {{ ansible_managed }}
How to add a new PostgreSQL version
===================================

Expand Down
1 change: 1 addition & 0 deletions templates/etc_monit_conf.d_postgresql.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# {{ ansible_managed }}
check process postgresql with pidfile /var/run/postgresql/{{postgresql_version}}-{{postgresql_cluster_name}}.pid
group database
start program = "/etc/init.d/postgresql start"
Expand Down
1 change: 1 addition & 0 deletions templates/pg_hba.conf.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# {{ ansible_managed }}
# PostgreSQL Client Authentication Configuration File
# ===================================================
#
Expand Down
1 change: 1 addition & 0 deletions templates/postgresql.conf-9.1.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# {{ ansible_managed }}
# -----------------------------
# PostgreSQL configuration file
# -----------------------------
Expand Down
1 change: 1 addition & 0 deletions templates/postgresql.conf-9.2.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# {{ ansible_managed }}
# -----------------------------
# PostgreSQL configuration file
# -----------------------------
Expand Down
1 change: 1 addition & 0 deletions templates/postgresql.conf-9.3.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# {{ ansible_managed }}
# -----------------------------
# PostgreSQL configuration file
# -----------------------------
Expand Down
1 change: 1 addition & 0 deletions templates/postgresql.conf-9.4.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# {{ ansible_managed }}
# -----------------------------
# PostgreSQL configuration file
# -----------------------------
Expand Down
1 change: 1 addition & 0 deletions templates/postgresql.conf-9.5.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# {{ ansible_managed }}
# -----------------------------
# PostgreSQL configuration file
# -----------------------------
Expand Down