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:
Alexander Grothe 2019-05-23 16:36:42 +02:00
parent 6cf02c5304
commit 9648bae2bd
2 changed files with 4 additions and 4 deletions

View File

@ -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:

View File

@ -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: