Deleting hypervisors and proxmox role, updating postgres role to fit Debian 11

This commit is contained in:
VC
2024-07-05 11:53:07 +02:00
parent 6fe982c2cd
commit 98e3bf10c7
4 changed files with 9 additions and 7 deletions

View File

@@ -1 +1 @@
pg_version: "{% if ansible_facts['os_family'] == 'Debian' and ansible_facts['distribution_major_version'] == '9' %}9.6{% elif ansible_facts['os_family'] == 'Debian' and ansible_facts['distribution_major_version'] == '10' %}11{% endif %}"
pg_version: "{% if ansible_facts['os_family'] == 'Debian' and ansible_facts['distribution_major_version'] == '9' %}9.6{% elif ansible_facts['os_family'] == 'Debian' and ansible_facts['distribution_major_version'] == '10' %}11{% elif ansible_facts['os_family'] == 'Debian' and ansible_facts['distribution_major_version'] == '11' %}13{% endif %}"

View File

@@ -40,13 +40,13 @@
data_directory = '/srv/postgresql' # use data in another directory
# (change requires restart)
hba_file = '/etc/postgresql/11/main/pg_hba.conf' # host-based authentication file
hba_file = '/etc/postgresql/13/main/pg_hba.conf' # host-based authentication file
# (change requires restart)
ident_file = '/etc/postgresql/11/main/pg_ident.conf' # ident configuration file
ident_file = '/etc/postgresql/13/main/pg_ident.conf' # ident configuration file
# (change requires restart)
# If external_pid_file is not explicitly set, no extra PID file is written.
external_pid_file = '/var/run/postgresql/11-main.pid' # write an extra PID file
external_pid_file = '/var/run/postgresql/13-main.pid' # write an extra PID file
# (change requires restart)
@@ -484,7 +484,7 @@ log_timezone = 'Europe/Paris'
# PROCESS TITLE
#------------------------------------------------------------------------------
cluster_name = '11/main' # added to process titles if nonempty
cluster_name = '13/main' # added to process titles if nonempty
# (change requires restart)
#update_process_title = on
@@ -500,7 +500,7 @@ cluster_name = '11/main' # added to process titles if nonempty
#track_io_timing = off
#track_functions = none # none, pl, all
#track_activity_query_size = 1024 # (change requires restart)
stats_temp_directory = '/var/run/postgresql/11-main.pg_stat_tmp'
stats_temp_directory = '/var/run/postgresql/13-main.pg_stat_tmp'
# - Monitoring -

View File

@@ -106,6 +106,9 @@ score LOCAL_BITCOIN 10.0
whitelist_from *@chichiclothing.com
# Blacklist manuel
blacklist_from *@starhold.ru
blacklist_from *@*.rodeo
blacklist_from *@gotomorgen.com.se
blacklist_from cyriltruka1999@outlook.com
blacklist_from *@*.ink
blacklist_from anatoliy.sidorov521o8i@hotmail.com

View File

@@ -1,6 +1,5 @@
- import_playbook: system.yml
- import_playbook: usb.yml
- import_playbook: proxmox.yml
- import_playbook: smtprelay.yml
- import_playbook: borgbackup.yml
- import_playbook: nut.yml