--- - name: install the postgresql GIS packages apt: pkg={{ postgres_gis_pkgs }} state={{ psql_pkg_state }} notify: Restart postgresql tags: [ 'postgresql', 'postgres', 'postgis' ]