从硬件设备读取SN,初始化device_info类型改为20.
This commit is contained in:
@@ -63,6 +63,13 @@
|
||||
src: "{{ role_path }}/../tsg-common-files/tsg_device_tag.json.j2"
|
||||
dest: "/opt/tsg/etc/tsg_device_tag.json"
|
||||
tags: template
|
||||
|
||||
- name: Template the tsg_series.json
|
||||
template:
|
||||
src: "{{ role_path }}/templates/tsg_series.json.j2"
|
||||
dest: "/opt/tsg/etc/tsg_series.json"
|
||||
tags: template
|
||||
|
||||
|
||||
- name: "copy tsg-monitor.service to destination server"
|
||||
synchronize:
|
||||
|
||||
3
roles/tsg-cli-mxn/templates/tsg_series.json.j2
Normal file
3
roles/tsg-cli-mxn/templates/tsg_series.json.j2
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"series": "20"
|
||||
}
|
||||
Reference in New Issue
Block a user