2016-10-28 16:37:37 +02:00
|
|
|
---
|
|
|
|
- name: check apache syntax
|
2016-11-26 14:17:14 +01:00
|
|
|
command: /usr/sbin/apachectl -t
|
2016-10-28 16:37:37 +02:00
|
|
|
become: true
|
|
|
|
|
|
|
|
- name: restart systemd unit apache2
|
2016-11-26 14:17:14 +01:00
|
|
|
systemd:
|
|
|
|
name: apache2
|
|
|
|
state: restarted
|
|
|
|
become: true
|
|
|
|
|
|
|
|
- name: update apt cache
|
|
|
|
apt:
|
|
|
|
update_cache: yes
|
2016-10-28 16:37:37 +02:00
|
|
|
become: true
|