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.*'
|
||||
state: absent
|
||||
check_mode: yes
|
||||
register: nvidia_detected
|
||||
register: nvidia_driver_detected
|
||||
|
||||
- name: set_fact | nvidia_driver_installed
|
||||
set_fact:
|
||||
nvidia_driver_installed: '{{ nvidia_detected.changed }}'
|
||||
nvidia_driver_installed: '{{ nvidia_driver_detected.changed | bool }}'
|
||||
|
||||
- name: unload nouveau driver, replace with nvidia
|
||||
block:
|
||||
|
@ -47,11 +47,11 @@
|
||||
regexp: '.*nvidia.*'
|
||||
state: absent
|
||||
check_mode: yes
|
||||
register: nvidia_detected
|
||||
register: nvidia_driver_detected
|
||||
|
||||
- name: set_fact | nvidia_driver_installed
|
||||
set_fact:
|
||||
nvidia_driver_installed: '{{ nvidia_detected.changed }}'
|
||||
nvidia_driver_installed: '{{ nvidia_driver_detected.changed | bool }}'
|
||||
|
||||
- name: unload nouveau driver, replace with nvidia
|
||||
block:
|
||||
|
Loading…
Reference in New Issue
Block a user