--- - 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