Sha256: 8587b16aabd36521e5193093d6e63be7ac1d4d53758ac40658d8237268871e6c

Contents?: true

Size: 626 Bytes

Versions: 69

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

69 entries across 69 versions & 1 rubygems

Version Path
subspace-2.5.2 ansible/roles/postgis/tasks/main.yml
subspace-2.5.1 ansible/roles/postgis/tasks/main.yml
subspace-2.5 ansible/roles/postgis/tasks/main.yml
subspace-2.4.2 ansible/roles/postgis/tasks/main.yml
subspace-2.4.1 ansible/roles/postgis/tasks/main.yml
subspace-2.4.0 ansible/roles/postgis/tasks/main.yml
subspace-2.3.3 ansible/roles/postgis/tasks/main.yml
subspace-2.3.2 ansible/roles/postgis/tasks/main.yml
subspace-2.3.1 ansible/roles/postgis/tasks/main.yml
subspace-2.3.0 ansible/roles/postgis/tasks/main.yml
subspace-2.2.3 ansible/roles/postgis/tasks/main.yml
subspace-2.2.2 ansible/roles/postgis/tasks/main.yml
subspace-2.2.1 ansible/roles/postgis/tasks/main.yml
subspace-2.2.0 ansible/roles/postgis/tasks/main.yml
subspace-2.1.2 ansible/roles/postgis/tasks/main.yml
subspace-2.1.1 ansible/roles/postgis/tasks/main.yml
subspace-2.1.0 ansible/roles/postgis/tasks/main.yml
subspace-2.0.4 ansible/roles/postgis/tasks/main.yml
subspace-2.0.3 ansible/roles/postgis/tasks/main.yml
subspace-2.0.2 ansible/roles/postgis/tasks/main.yml