1.delete tsg-dianose-verify role

2.add tasks of restart tfe,sapp,certstore and verify_tsg_diagnose
This commit is contained in:
fumingwei
2020-11-16 15:09:05 +06:00
parent f2348cb686
commit 7ed1eb79b6
9 changed files with 64 additions and 24 deletions

View File

@@ -0,0 +1,13 @@
- hosts: adc_mcn0
remote_user: root
tasks:
- name: "register tsg-diagnose exec result"
shell: docker exec -it unittest_tsg-diagnose /bin/sh -c 'python3 /root/unittest/tsg_diagnose.py'
register: tsgdiagnoseresults
- name: assert
assert:
that:
- tsgdiagnoseresults.stdout.find('FAIL') == -1
fail_msg: "FAIL"
success_msg: "PASS"