1.backup origin deploy.yml to backup_deploy_yml_file

2.merge small task file to one directory
This commit is contained in:
fumingwei
2020-11-27 16:56:49 +06:00
parent 6fc0a90da7
commit cf2e80c4d7
31 changed files with 0 additions and 412 deletions

View 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"