feature:9140环境下新增tsg-start.sh脚本

This commit is contained in:
fumingwei
2021-08-20 16:44:49 +08:00
committed by 付明卫
parent f287ddf95b
commit 445dafdc13
2 changed files with 12 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
#!/bin/bash -xe
/opt/tsg/tsg-os-provision/provision.sh
systemctl start default.target

View File

@@ -150,6 +150,13 @@
when: PROFILE_ID == '9000-NPB-P01R01'
##### tsg-os-provison-guard.service enable end###################
- name: "tsg-os-provision: copy tsg-start.sh to dest - tsg9140"
copy:
src: "{{ role_path }}/files/script/tsg-start.sh"
dest: /opt/tsg/tsg-os-provision/exec/
mode: 0755
when: PROFILE_ID == '9000-NPB-P01R01'
- name: "tsg-os-provision: install yaml module using pip3"
pip:
name: PyYAML