Skip to content

Commit a1f8153

Browse files
authored
Fingerprint RHEL System Role managed config files (linux-system-roles#25)
- Add role name to the generated config files. # system_role:postgresql Signed-off-by: Noriko Hosoi <[email protected]>
1 parent 06cf198 commit a1f8153

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

templates/pg_hba.conf.j2

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{{ ansible_managed | comment }}
2+
{{ "system_role:postgresql" | comment(prefix="", postfix="") }}
23
# system_role:postgresql
34
# PostgreSQL Client Authentication Configuration File
45
# ===================================================

templates/postgresql-internal.conf.j2

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{{ ansible_managed | comment }}
2+
{{ "system_role:postgresql" | comment(prefix="", postfix="") }}
23

34
{% if postgresql_server_tuning %}
45
shared_buffers = {{ (ansible_memory_mb.real.total / 4) | int | abs }}MB

templates/postgresql.conf.j2

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{{ ansible_managed | comment }}
2+
{{ "system_role:postgresql" | comment(prefix="", postfix="") }}
23

34
{% for key, value in postgresql_server_conf.items() %}
45
{{ key }} = {{ value }}

0 commit comments

Comments
 (0)