---
- name: Reload the ssh service
  service: name=ssh state=reloaded
  when: ansible_distribution_file_variety == 'Debian'

- name: Reload the ssh service
  service: name=sshd state=reloaded
  when: ansible_distribution_file_variety == 'RedHat'