- name: Restart rsyslog
service:
name: rsyslog
state: restarted
- name: Restart ssh
name: '{{ ssh_service_name }}'
when: not ansible_facts.is_chroot