library/roles/ubuntugis: Fix the packages list so that the dev package for gdal 1 is installed.

This commit is contained in:
Andrea Dell'Amico 2017-05-12 19:45:11 +02:00
parent 91dc2da301
commit 7b916e8fc1
2 changed files with 6 additions and 2 deletions

View File

@ -3,4 +3,8 @@ ubuntugis_repo_install: False
ubuntugis_repo: 'ppa:ubuntugis/ppa'
ubuntugis_pkg_state: latest
ubuntugis_packages:
- gdal
- gdal-bin
- libgdal-dev
- libgdal1-dev
- libgdal20

View File

@ -3,7 +3,7 @@
- name: Add the ubuntugis repository
apt_repository: repo='{{ ubuntugis_repo }}' update_cache=yes
- name: Install the ansible package
- name: Install packages from the ubuntugis repository
apt: pkg={{ item }} state={{ ubuntugis_pkg_state }} update_cache=yes cache_valid_time=1800
with_items: '{{ ubuntugis_packages }}'