- name: restart nagios4 service: name: nagios4 state: restarted enabled: yes - name: restart apache2 service: name: apache2 state: restarted enabled: yes - name: restart postfix service: name: postfix state: restarted enabled: yes