--- - name: Install the packages needed by postgres when running behind a pgpool server apt: pkg={{ item }} state={{ psql_pkg_state }} with_items: '{{ postgresql_pgpool_pkgs }}' when: psql_pgpool_install notify: Restart postgresql tags: [ 'postgresql', 'postgres', 'pgpool' ]