2013-09-03 21:28:00 +02:00
|
|
|
{% from "apache/map.jinja" import apache with context %}
|
2013-08-13 23:03:16 +02:00
|
|
|
|
|
|
|
apache:
|
|
|
|
pkg:
|
|
|
|
- installed
|
2013-08-23 05:14:28 +02:00
|
|
|
- name: {{ apache.server }}
|
2013-08-13 23:03:16 +02:00
|
|
|
service:
|
|
|
|
- running
|
2013-08-23 05:14:28 +02:00
|
|
|
- name: {{ apache.service }}
|
2013-08-13 23:03:16 +02:00
|
|
|
- enable: True
|
2013-11-05 20:34:06 +01:00
|
|
|
|
|
|
|
apache-reload:
|
2013-11-05 23:54:35 +01:00
|
|
|
module.wait:
|
2014-01-04 12:59:39 +01:00
|
|
|
- name: service.reload
|
|
|
|
- m_name: {{ apache.service }}
|
2013-11-05 20:34:06 +01:00
|
|
|
|
|
|
|
apache-restart:
|
2013-11-05 23:54:35 +01:00
|
|
|
module.wait:
|
2014-01-04 12:59:39 +01:00
|
|
|
- name: service.restart
|
|
|
|
- m_name: {{ apache.service }}
|