1.add new city Kokshetau deploy config
2.add verify tfe and sapp service
This commit is contained in:
16
tasks/verify_systemctl_tfe.yml
Normal file
16
tasks/verify_systemctl_tfe.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
- hosts:
|
||||
- adc_mcn1
|
||||
- adc_mcn2
|
||||
- adc_mcn3
|
||||
remote_user: root
|
||||
tasks:
|
||||
- name: "register systemctl status tfe result"
|
||||
shell: systemctl status tfe
|
||||
register: tfe_results
|
||||
|
||||
- name: assert
|
||||
assert:
|
||||
that:
|
||||
- tfe_results.stdout.find('active (running)') != -1
|
||||
fail_msg: "FAIL"
|
||||
success_msg: "PASS"
|
||||
Reference in New Issue
Block a user