ansible-debops-infrastructure

DebOps and Ansible scripts to manage my infrastructure
git clone git://git.erethon.com/ansible-debops-infrastructure
Log | Files | Refs

postgresql_server.yml (632B)


      1 ---
      2 
      3 postgresql_server__listen_addresses: [ "{{ hostvars[inventory_hostname].ansible_host }}" ]
      4 postgresql_server__allow: [ "{{ hostvars['productionmatrix'].ansible_host }}" ]
      5 
      6 postgresql_server__cluster_main:
      7   name: 'main'
      8   port: '5432'
      9   shared_buffers: "256MB"
     10   work_mem: "655kB"
     11   maintenance_work_mem: "64MB"
     12   effective_io_concurrency: 200
     13   wal_buffers: "7864kB"
     14   checkpoint_completion_target: 0.7
     15   random_page_cost: 1.1
     16   effective_cache_size: "768MB"
     17 
     18   hba:
     19     - type: 'host'
     20       database: 'synapse'
     21       user: 'synapse'
     22       address: [ "{{ hostvars['productionmatrix'].ansible_host }}/32" ]
     23       method: 'md5'