mirror of https://github.com/jumpserver/jumpserver
fix: win主机硬件信息内存单位与其他主机一致;cpu信息字段与其他主机一致
parent
bb6d60b46d
commit
c42913c15e
|
@ -11,8 +11,10 @@
|
|||
vendor: "{{ ansible_system_vendor }}"
|
||||
model: "{{ ansible_product_name }}"
|
||||
sn: "{{ ansible_product_serial }}"
|
||||
cpu_count: "{{ ansible_processor_count }}"
|
||||
cpu_cores: "{{ ansible_processor_cores }}"
|
||||
cpu_vcpus: "{{ ansible_processor_vcpus }}"
|
||||
memory: "{{ ansible_memtotal_mb }}"
|
||||
memory: "{{ (ansible_memtotal_mb / 1024) | round(2) }}"
|
||||
|
||||
- debug:
|
||||
var: info
|
||||
|
|
Loading…
Reference in New Issue