- hosts: doi-service
  roles:
    - common
    - java
    - postfix
    - {role: db-backup, db: postgres}
    - {role: postgresql, pg_version: "9.6"}
    - {role: pg_instance, extensions: ["citext", "pgcrypto"]}
    - {role: ansible-elasticsearch, es_version: 5.5.3, es_templates:false,  es_instance_name: 'doi-elasticsearch', es_data_dirs: ['/data/elasticsearch'], tags: ['elasticsearch']}
    - webserver
    - doi-service

- hosts: doi-service
  roles:
    - common
    - java
    - postfix
    - {role: db-backup, db: postgres}
    - {role: postgresql, pg_version: "9.6"}
    - {role: pg_instance, extensions: ["citext", "pgcrypto"]}
    - {role: ansible-elasticsearch, es_version: 5.5.3, es_templates:false,  es_instance_name: 'doi-elasticsearch', es_data_dirs: ['/data/elasticsearch'], tags: ['elasticsearch'], es_heap_size: '1g'}
    - webserver
    - doi-service

Set elasticsearch heap to 1G.
Set elasticsearch heap to 1G.
