infrastructure-services: a playbook that configures an HVM and installs vagrant and virtualbox on it.

This commit is contained in:
Andrea Dell'Amico 2015-07-31 16:31:09 +02:00
parent cd4ce10bca
commit bee4f5f420
1 changed files with 13 additions and 13 deletions

View File

@ -28,42 +28,42 @@
apt_repository: repo='deb http://http.debian.net/debian-backports squeeze-backports main' state=present
register: update_apt_cache
when: is_debian6
tags:
- squeeze-backports
tags: squeeze-backports
- name: Install the squeeze-lts repository on debian 6
apt_repository: repo='deb http://http.debian.net/debian squeeze-lts main contrib non-free' state=present
register: update_apt_cache
when: is_debian6
tags:
- squeeze-lts
tags: squeeze-lts
- name: Install the backports repository on debian 7
apt_repository: repo='deb http://http.debian.net/debian wheezy-backports main' state=present
register: update_apt_cache
when: is_debian7
tags:
- wheezy-backports
tags: wheezy-backports
- name: Install the wheezy-lts repository on debian 7
apt_repository: repo='deb http://http.debian.net/debian wheezy-lts main contrib non-free' state=present
register: update_apt_cache
when: is_debian7
tags: wheeze-lts
- name: Install the backports repository on debian 8
apt_repository: repo='deb http://http.debian.net/debian jessie-backports main' state=present
register: update_apt_cache
when: is_debian8
tags:
- wheezy-backports
tags: jessie-backports
- name: apt key for the internal ppa repository
apt_key: url=http://ppa.research-infrastructures.eu/system/keys/system-archive.asc state=present
when: is_ubuntu
tags:
- packages
tags: packages
- name: setup system apt repository
apt_repository: repo='deb http://ppa.research-infrastructures.eu/system stable main'
register: update_apt_cache
when: is_ubuntu
tags:
- packages
tags: packages
- name: Update the apt cache
apt: update_cache=yes
@ -80,5 +80,5 @@
- name: Install additional packages, if any
apt: pkg={{ item }} state={{ pkg_state }}
with_items: additional_packages
tags: [ 'packages', 'common_pkgs' ]
tags: [ 'packages', 'common_pkgs', 'additional_packages' ]