- name: install the sysV init file
  copy: src=ansible.sysv dest=/etc/init.d/ansible_test mode=0755
  register: install_sysv_result

- name: assert that the sysV init file was installed
  assert:
    that:
    - "install_sysv_result.dest == '/etc/init.d/ansible_test'"
    - "install_sysv_result.state == 'file'"
    - "install_sysv_result.mode == '0755'"
    - "install_sysv_result.md5sum == '174fa255735064b420600e4c8637ea0eff28d0c1'"


- name: install the sysV init file
  copy: src=ansible.sysv dest=/etc/init.d/ansible_test mode=0755
  register: install_sysv_result

- name: assert that the sysV init file was installed
  assert:
    that:
    - "install_sysv_result.dest == '/etc/init.d/ansible_test'"
    - "install_sysv_result.state == 'file'"
    - "install_sysv_result.mode == '0755'"
    - "install_sysv_result.checksum == '174fa255735064b420600e4c8637ea0eff28d0c1'"


Fix integration test to check for checksum, not md5sum
Fix integration test to check for checksum, not md5sum
