Skip to content
Snippets Groups Projects
Verified Commit 6dc0c6bc authored by Giancarlo Razzolini's avatar Giancarlo Razzolini
Browse files

playbooks/soyuz: Reverted the postgres variables, since they now have defaults.

roles/postgres: Added default values to the max_connections and shared_buffers variables.
parent 4a87de92
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,7 @@
- { role: archusers, tags: ['archusers'] }
- { role: nginx, letsencrypt_validation_dir: "/var/lib/letsencrypt", tags: ["nginx"] }
- { role: sudo, tags: ['sudo', 'archusers'] }
- { role: postgres, postgres_max_connections: 100, postgres_shared_buffers: 128MB, tags: ['postgres'] }
- { role: postgres, tags: ['postgres'] }
- { role: quassel, quassel_domain: "quassel.archlinux.org", tags: ['quassel'] }
- { role: syncrepo, mirror_domain: "mirror.pkgbuild.com", tags: ['syncrepo', 'nginx'] }
- { role: sogrep, tags: ['sogrep'] }
......
......@@ -61,7 +61,7 @@
# defaults to 'localhost'; use '*' for all
# (change requires restart)
#port = 5432 # (change requires restart)
max_connections = {{ postgres_max_connections }} # (change requires restart)
max_connections = {{ postgres_max_connections | default('100') }} # (change requires restart)
#superuser_reserved_connections = 3 # (change requires restart)
#unix_socket_directories = '/run/postgresql' # comma-separated list of directories
# (change requires restart)
......@@ -110,7 +110,7 @@ max_connections = {{ postgres_max_connections }} # (change requires restart)
# - Memory -
shared_buffers = {{ postgres_shared_buffers }} # min 128kB
shared_buffers = {{ postgres_shared_buffers | default('128MB') }} # min 128kB
# (change requires restart)
#huge_pages = try # on, off, or try
# (change requires restart)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment