This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
solutions-tsg-scripts/tasks/verify/verify_tfe_md5_hash.yml
2021-01-31 22:50:33 +08:00

17 lines
368 B
YAML

- hosts:
- adc_mcn1
- adc_mcn2
- adc_mcn3
remote_user: root
tasks:
- name: "verify tfe md5 in mcn0"
shell: md5sum /opt/tsg/tfe/bin/tfe
register: tfe_md5sum
- name: assert
assert:
that:
- tfe_md5sum.stdout.find('0f45d2844dbff2edbde44bab0359cead') != -1
fail_msg: "FAIL"
success_msg: "PASS"