forked from ISTI-ansible-roles/ansible-roles
library/roles/ubuntugis: Role that adds the ubuntugis repo.
This commit is contained in:
parent
9c36221e11
commit
1d69338f13
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
ubuntugis_repo_install: False
|
||||
ubuntugis_repo: 'ppa:ubuntugis/ppa'
|
||||
ubuntugis_pkg_state: latest
|
||||
ubuntugis_packages:
|
||||
- gdal
|
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
- name: Add the ansible ppa for ansible
|
||||
apt_repository: repo='{{ ubuntugis_repo }}' update_cache=yes
|
||||
tags: ubuntugis
|
||||
|
||||
- name: Install the ansible package
|
||||
apt: pkg={{ item }} state={{ ubuntugis_pkg_state }} update_cache=yes cache_valid_time=1800
|
||||
with_items: '{{ ubuntugis_packages }}'
|
||||
tags: ubuntugis
|
Loading…
Reference in New Issue