--- - name: install the postgresql GIS packages apt: pkg={{ item }} state=installed with_items: postgres_gis_pkgs notify: Restart postgresql tags: - postgresql - postgres