fix string comparisons
This commit is contained in:
parent
c70d6f97c6
commit
68396b3797
@ -3190,8 +3190,8 @@ The tool ubuntu-drivers is used to install the matching driver version for nvidi
|
|||||||
- name: let ubuntu-drivers automatically install additional drivers
|
- name: let ubuntu-drivers automatically install additional drivers
|
||||||
command: ubuntu-drivers --package-list /etc/yavdr/autoinstalled autoinstall
|
command: ubuntu-drivers --package-list /etc/yavdr/autoinstalled autoinstall
|
||||||
when:
|
when:
|
||||||
- ansible_virtualization_type =! "virtualbox"
|
- ansible_virtualization_type != "virtualbox"
|
||||||
- ansible_virtualization_role =! "guest"
|
- ansible_virtualization_role != "guest"
|
||||||
- ansible_distribution == "Ubuntu"
|
- ansible_distribution == "Ubuntu"
|
||||||
- ansible_distribution_version != "16.04" # ubuntu-drivers-common tries to autoinstall
|
- ansible_distribution_version != "16.04" # ubuntu-drivers-common tries to autoinstall
|
||||||
# conflicting packages for virtualbox :(
|
# conflicting packages for virtualbox :(
|
||||||
|
@ -11,8 +11,8 @@
|
|||||||
- name: let ubuntu-drivers automatically install additional drivers
|
- name: let ubuntu-drivers automatically install additional drivers
|
||||||
command: ubuntu-drivers --package-list /etc/yavdr/autoinstalled autoinstall
|
command: ubuntu-drivers --package-list /etc/yavdr/autoinstalled autoinstall
|
||||||
when:
|
when:
|
||||||
- ansible_virtualization_type =! "virtualbox"
|
- ansible_virtualization_type != "virtualbox"
|
||||||
- ansible_virtualization_role =! "guest"
|
- ansible_virtualization_role != "guest"
|
||||||
- ansible_distribution == "Ubuntu"
|
- ansible_distribution == "Ubuntu"
|
||||||
- ansible_distribution_version != "16.04" # ubuntu-drivers-common tries to autoinstall
|
- ansible_distribution_version != "16.04" # ubuntu-drivers-common tries to autoinstall
|
||||||
# conflicting packages for virtualbox :(
|
# conflicting packages for virtualbox :(
|
||||||
|
Loading…
Reference in New Issue
Block a user