Sha256: 8587b16aabd36521e5193093d6e63be7ac1d4d53758ac40658d8237268871e6c

Contents?: true

Size: 626 Bytes

Versions: 68

Compression:

Stored size: 626 Bytes

Contents

---
- name: Configure the PostgreSQL APT key
  apt_key: url=https://www.postgresql.org/media/keys/ACCC4CF8.asc state=present

- name: Configure the PostgreSQL APT repositories
  apt_repository: repo="deb http://apt.postgresql.org/pub/repos/apt/ {{ ansible_distribution_release}}-pgdg main"
                  state=present

- name: Install PostGIS
  apt: pkg={{ item }} state=present
  with_items:
    - postgresql-{{ postgresql_version }}-postgis-{{ postgis_version }}

- name: "Enable postgres postgis"
  become: true
  become_user: postgres
  postgresql_ext:
    db: "{{database_name}}"
    name: postgis
    state: present

Version data entries

68 entries across 68 versions & 1 rubygems

Version Path
subspace-3.0.12 ansible/roles/postgis/tasks/main.yml
subspace-3.0.11 ansible/roles/postgis/tasks/main.yml
subspace-3.0.10 ansible/roles/postgis/tasks/main.yml
subspace-3.0.9 ansible/roles/postgis/tasks/main.yml
subspace-3.0.6 ansible/roles/postgis/tasks/main.yml
subspace-3.0.5 ansible/roles/postgis/tasks/main.yml
subspace-3.0.4 ansible/roles/postgis/tasks/main.yml
subspace-3.0.3 ansible/roles/postgis/tasks/main.yml
subspace-3.0.2 ansible/roles/postgis/tasks/main.yml
subspace-3.0.0 ansible/roles/postgis/tasks/main.yml
subspace-2.5.10 ansible/roles/postgis/tasks/main.yml
subspace-3.0.0.rc1 ansible/roles/postgis/tasks/main.yml
subspace-2.5.9 ansible/roles/postgis/tasks/main.yml
subspace-2.5.8 ansible/roles/postgis/tasks/main.yml
subspace-2.5.7 ansible/roles/postgis/tasks/main.yml
subspace-2.5.6 ansible/roles/postgis/tasks/main.yml
subspace-2.5.5 ansible/roles/postgis/tasks/main.yml
subspace-2.5.4 ansible/roles/postgis/tasks/main.yml
subspace-2.5.3 ansible/roles/postgis/tasks/main.yml
subspace-2.5.2 ansible/roles/postgis/tasks/main.yml