2018-03-03 19:34:17 +00:00
|
|
|
---
|
2018-03-03 21:31:41 +00:00
|
|
|
- name: Install the 'Development tools' package group
|
|
|
|
yum:
|
|
|
|
name: "@Development tools"
|
|
|
|
state: present
|
2018-03-03 19:34:17 +00:00
|
|
|
|
2018-03-03 21:31:41 +00:00
|
|
|
- name: Install dependencies
|
2019-12-04 12:54:56 +00:00
|
|
|
yum:
|
|
|
|
name:
|
|
|
|
- kernel-devel
|
|
|
|
- deltarpm
|
|
|
|
state: present
|
2018-03-03 19:34:17 +00:00
|
|
|
|
2018-03-03 21:31:41 +00:00
|
|
|
- copy: src=virtualbox_centos.repo dest=/etc/yum.repos.d/virtualbox.repo owner=root group=root mode=0644 force=no
|
|
|
|
|
|
|
|
- name: Install VirtualBox
|
|
|
|
command: yum install -y VirtualBox-{{ virtualbox_version }}
|
2018-03-03 19:34:17 +00:00
|
|
|
...
|