diff --git a/Manual.org b/Manual.org index 0e1b152..184c349 100644 --- a/Manual.org +++ b/Manual.org @@ -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: diff --git a/roles/yavdr-xorg/tasks/detect-xorg.yml b/roles/yavdr-xorg/tasks/detect-xorg.yml index d54a7c6..1bbe709 100644 --- a/roles/yavdr-xorg/tasks/detect-xorg.yml +++ b/roles/yavdr-xorg/tasks/detect-xorg.yml @@ -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: