add dependency structure
This commit is contained in:
parent
7e7ce2bd40
commit
5d1b066d98
18 changed files with 44 additions and 35 deletions
|
@ -7,11 +7,12 @@
|
|||
become: true
|
||||
apt_repository:
|
||||
repo: "deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/oracle_vbox_2016.asc] https://download.virtualbox.org/virtualbox/debian {{ ansible_distribution_release }} contrib"
|
||||
state: present
|
||||
register: apt_repository
|
||||
- name: Update APT cache
|
||||
apt:
|
||||
update_cache: true
|
||||
when: apt_repository.changed
|
||||
- name: Install VirtualBox
|
||||
become: true
|
||||
apt:
|
||||
state: latest
|
||||
update_cache: yes
|
||||
cache_valid_time: 86400 # One day
|
||||
name: virtualbox-6.1
|
||||
|
|
Reference in a new issue