Fix quoting
This commit is contained in:
parent
75cd1eb560
commit
0d01ee282b
@ -560,15 +560,15 @@ APT::Install-Suggests "0";
|
|||||||
|
|
||||||
- name: set variable nvidia_detected
|
- name: set variable nvidia_detected
|
||||||
set_fact:
|
set_fact:
|
||||||
nvidia_detected: 'true if {{ gpus | selectattr("VendorName", "nvidia") | list }}' else false
|
nvidia_detected: 'true if {{ gpus | selectattr("VendorName", "nvidia") | list }} else false'
|
||||||
|
|
||||||
- name: set variable intel_detected
|
- name: set variable intel_detected
|
||||||
set_fact:
|
set_fact:
|
||||||
intel_detected: 'true if {{ gpus | selectattr("VendorName", "intel") | list }}' else false
|
intel_detected: 'true if {{ gpus | selectattr("VendorName", "intel") | list }} else false'
|
||||||
|
|
||||||
- name: set variable amd_detected
|
- name: set variable amd_detected
|
||||||
set_fact:
|
set_fact:
|
||||||
amd_detected: 'true if {{ gpus | selectattr("VendorName", "amd") | list }}' else false
|
amd_detected: 'true if {{ gpus | selectattr("VendorName", "amd") | list }} else false'
|
||||||
|
|
||||||
- debug:
|
- debug:
|
||||||
var: '{{ item }}'
|
var: '{{ item }}'
|
||||||
|
@ -8,15 +8,15 @@
|
|||||||
|
|
||||||
- name: set variable nvidia_detected
|
- name: set variable nvidia_detected
|
||||||
set_fact:
|
set_fact:
|
||||||
nvidia_detected: 'true if {{ gpus | selectattr("VendorName", "nvidia") | list }}' else false
|
nvidia_detected: 'true if {{ gpus | selectattr("VendorName", "nvidia") | list }} else false'
|
||||||
|
|
||||||
- name: set variable intel_detected
|
- name: set variable intel_detected
|
||||||
set_fact:
|
set_fact:
|
||||||
intel_detected: 'true if {{ gpus | selectattr("VendorName", "intel") | list }}' else false
|
intel_detected: 'true if {{ gpus | selectattr("VendorName", "intel") | list }} else false'
|
||||||
|
|
||||||
- name: set variable amd_detected
|
- name: set variable amd_detected
|
||||||
set_fact:
|
set_fact:
|
||||||
amd_detected: 'true if {{ gpus | selectattr("VendorName", "amd") | list }}' else false
|
amd_detected: 'true if {{ gpus | selectattr("VendorName", "amd") | list }} else false'
|
||||||
|
|
||||||
- debug:
|
- debug:
|
||||||
var: '{{ item }}'
|
var: '{{ item }}'
|
||||||
|
Loading…
Reference in New Issue
Block a user