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
|
|
|
|
|
|
|
- name: restart systemd unit apache2
|
2016-11-26 14:17:14 +01:00
|
|
|
systemd:
|
|
|
|
name: apache2
|
|
|
|
state: restarted
|
|
|
|
|
|
|
|
- name: update apt cache
|
|
|
|
apt:
|
|
|
|
update_cache: yes
|
2018-07-24 17:09:02 +02:00
|
|
|
|
|
|
|
- name: reload systemd
|
|
|
|
systemd:
|
|
|
|
daemon_reload: yes
|