diff --git a/ubuntugis/defaults/main.yml b/ubuntugis/defaults/main.yml index 675e211..8a64ea4 100644 --- a/ubuntugis/defaults/main.yml +++ b/ubuntugis/defaults/main.yml @@ -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 + diff --git a/ubuntugis/tasks/main.yml b/ubuntugis/tasks/main.yml index ca67603..2ad0b6c 100644 --- a/ubuntugis/tasks/main.yml +++ b/ubuntugis/tasks/main.yml @@ -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 }}'