put distribution release as host variable to accomodate linux mint
This commit is contained in:
parent
65307e24fb
commit
6dc05a945c
7 changed files with 7 additions and 6 deletions
|
@ -7,7 +7,7 @@
|
|||
- name: Install VirtualBox APT repository
|
||||
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"
|
||||
repo: "deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/oracle_vbox_2016.asc] https://download.virtualbox.org/virtualbox/debian {{ distribution_release }} contrib"
|
||||
register: apt_repository
|
||||
tags: update
|
||||
- name: Update APT cache
|
||||
|
|
Reference in a new issue