- name: restart fail2ban service: name=fail2ban state=restarted - name: restart apache2 service: name=apache2 state=restarted