feature:9140环境下新增tsg-start.sh脚本
This commit is contained in:
5
ansible/roles/tsg-os-provision/files/script/tsg-start.sh
Normal file
5
ansible/roles/tsg-os-provision/files/script/tsg-start.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash -xe
|
||||
|
||||
/opt/tsg/tsg-os-provision/provision.sh
|
||||
|
||||
systemctl start default.target
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user