diff --git a/playbooks/apollo.yml b/playbooks/apollo.yml index b9a1bf7f3439ebddc4277183f5a3a873d973de9d..6a9b0b2261865b7b7e9c5f5faa6387a8cb07fee4 100644 --- a/playbooks/apollo.yml +++ b/playbooks/apollo.yml @@ -17,8 +17,8 @@ - { role: dovecot, tags: ['mail', "dovecot"] } - { role: postfwd, tags: ['mail', "postfwd"] } - { role: postgres, postgres_listen_addresses: "'*'", postgres_max_connections: 1000, postgres_ssl: 'on', postgres_shared_buffers: 4096MB, - postgres_ssl_hosts: ["{{ hostvars['orion.archlinux.org']['ipv4_address'] }}/32", - "{{ hostvars['orion.archlinux.org']['ipv6_address'] }}"], tags: ['postgres'] } + postgres_ssl_hosts: ["{{ hostvars['orion.archlinux.org']['ipv4_address'] }}{{ hostvars['orion.archlinux.org']['ipv4_netmask'] }}", + "{{ hostvars['orion.archlinux.org']['ipv6_address'] }}{{ hostvars['orion.archlinux.org']['ipv6_netmask'] }}"], tags: ['postgres'] } - { role: sudo, tags: ['sudo'] } - { role: uwsgi, tags: ['uwsgi'] } - { role: memcached, tags: ['memcached'] }