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