Fix variable name
so it won't clash with the existing nvidia_detected variable (which is based on PCI(e) devices.
This commit is contained in:
parent
6cf02c5304
commit
9648bae2bd
@ -2698,11 +2698,11 @@ preferred_refreshrates:
|
|||||||
regexp: '.*nvidia.*'
|
regexp: '.*nvidia.*'
|
||||||
state: absent
|
state: absent
|
||||||
check_mode: yes
|
check_mode: yes
|
||||||
register: nvidia_detected
|
register: nvidia_driver_detected
|
||||||
|
|
||||||
- name: set_fact | nvidia_driver_installed
|
- name: set_fact | nvidia_driver_installed
|
||||||
set_fact:
|
set_fact:
|
||||||
nvidia_driver_installed: '{{ nvidia_detected.changed }}'
|
nvidia_driver_installed: '{{ nvidia_driver_detected.changed | bool }}'
|
||||||
|
|
||||||
- name: unload nouveau driver, replace with nvidia
|
- name: unload nouveau driver, replace with nvidia
|
||||||
block:
|
block:
|
||||||
|
@ -47,11 +47,11 @@
|
|||||||
regexp: '.*nvidia.*'
|
regexp: '.*nvidia.*'
|
||||||
state: absent
|
state: absent
|
||||||
check_mode: yes
|
check_mode: yes
|
||||||
register: nvidia_detected
|
register: nvidia_driver_detected
|
||||||
|
|
||||||
- name: set_fact | nvidia_driver_installed
|
- name: set_fact | nvidia_driver_installed
|
||||||
set_fact:
|
set_fact:
|
||||||
nvidia_driver_installed: '{{ nvidia_detected.changed }}'
|
nvidia_driver_installed: '{{ nvidia_driver_detected.changed | bool }}'
|
||||||
|
|
||||||
- name: unload nouveau driver, replace with nvidia
|
- name: unload nouveau driver, replace with nvidia
|
||||||
block:
|
block:
|
||||||
|
Loading…
Reference in New Issue
Block a user