Saltstack Official Apache Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
398B

  1. {% from "apache/map.jinja" import apache with context %}
  2. apache:
  3. pkg:
  4. - installed
  5. - name: {{ apache.server }}
  6. service:
  7. - running
  8. - name: {{ apache.service }}
  9. - enable: True
  10. apache-reload:
  11. module:
  12. - wait
  13. - name: service.reload
  14. - m_name: {{ apache.service }}
  15. apache-restart:
  16. module:
  17. - wait
  18. - name: service.restart
  19. - m_name: {{ apache.service }}