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_process_md5_hash.yml

14 lines
342 B
YAML
Raw Normal View History

2021-01-31 22:43:40 +08:00
- hosts: adc_mcn0
remote_user: root
tasks:
- name: "verify sapp md5 in mcn0"
shell: md5sum /home/mesasoft/sapp_run/sapp
register: sapp_md5sum
- name: assert
assert:
that:
- sapp_md5sum.stdout.find('1ca2eb92e4269066c6a056e41bb394b3') != -1
fail_msg: "FAIL"
success_msg: "PASS"