---

- name: Deploy configuration file
  template: src=postgres-exporter.conf.j2 dest={{ pg_exporter_root_dir }}/etc/postgres-exporter.conf group={{ pg_exporter_user }} mode='640'
  notify: restart postgres-exporter
  tags: pg
