- name: restart tomcat service: name: tomcat state: restarted