Fix condition to ubuntu-drivers autoinstall
This commit is contained in:
parent
3708289de7
commit
a7bc7a4386
10
Manual.org
10
Manual.org
@ -3198,12 +3198,10 @@ The tool ubuntu-drivers is used to install the matching driver version for nvidi
|
|||||||
|
|
||||||
- name: use ubuntu-drivers to install additional drivers automatically
|
- name: use ubuntu-drivers to install additional drivers automatically
|
||||||
command: ubuntu-drivers --package-list /etc/yavdr/autoinstalled autoinstall
|
command: ubuntu-drivers --package-list /etc/yavdr/autoinstalled autoinstall
|
||||||
when:
|
when: (ansible_virtualization_type != "virtualbox" and ansible_virtualization_role != "guest") or
|
||||||
- ansible_virtualization_type != "virtualbox"
|
ansible_distribution_version != "16.04"
|
||||||
- ansible_virtualization_role != "guest"
|
# ubuntu-drivers-common tries to autoinstall
|
||||||
- ansible_distribution == "Ubuntu"
|
# conflicting packages for virtualbox in Ubuntu 16.04 :(
|
||||||
- ansible_distribution_version != "16.04" # ubuntu-drivers-common tries to autoinstall
|
|
||||||
# conflicting packages for virtualbox :(
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** autoinstall-virtualbox-guest
|
** autoinstall-virtualbox-guest
|
||||||
This role installs the guest additions for virtualbox guests on Ubuntu 16.04
|
This role installs the guest additions for virtualbox guests on Ubuntu 16.04
|
||||||
|
@ -10,9 +10,7 @@
|
|||||||
|
|
||||||
- name: use ubuntu-drivers to install additional drivers automatically
|
- name: use ubuntu-drivers to install additional drivers automatically
|
||||||
command: ubuntu-drivers --package-list /etc/yavdr/autoinstalled autoinstall
|
command: ubuntu-drivers --package-list /etc/yavdr/autoinstalled autoinstall
|
||||||
when:
|
when: (ansible_virtualization_type != "virtualbox" and ansible_virtualization_role != "guest") or
|
||||||
- ansible_virtualization_type != "virtualbox"
|
ansible_distribution_version != "16.04"
|
||||||
- ansible_virtualization_role != "guest"
|
# ubuntu-drivers-common tries to autoinstall
|
||||||
- ansible_distribution == "Ubuntu"
|
# conflicting packages for virtualbox in Ubuntu 16.04 :(
|
||||||
- ansible_distribution_version != "16.04" # ubuntu-drivers-common tries to autoinstall
|
|
||||||
# conflicting packages for virtualbox :(
|
|
||||||
|
Loading…
Reference in New Issue
Block a user