Created
December 29, 2015 16:36
-
-
Save clementcohen/686467c367044e0411bd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% from "apache/map.jinja" import apache with context %} | |
apache: | |
pkg.installed: | |
- name: {{ apache.server }} | |
service.running: | |
- name: {{ apache.service }} | |
- enable: True | |
# The following states are inert by default and can be used by other states to | |
# trigger a restart or reload as needed. | |
apache-reload: | |
module.wait: | |
- name: service.reload | |
- m_name: {{ apache.service }} | |
apache-restart: | |
module.wait: | |
- name: service.restart | |
- m_name: {{ apache.service }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment