Skip to content

Instantly share code, notes, and snippets.

Created September 14, 2017 04:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/f893b97e1ea0805b2fe68c332d95caa5 to your computer and use it in GitHub Desktop.
Save anonymous/f893b97e1ea0805b2fe68c332d95caa5 to your computer and use it in GitHub Desktop.
{% from "apache/map.jinja" import apache with context %}
include:
- apache
{% if grains['os_family']=='RedHat' %}
# Download mod_jk installation media & verify MD5
{% set httpd_version = apache.version.split('.') %}
{% set httpd_major_version = httpd_version[0]|int %}
{% set httpd_minor_version = httpd_version[1]|int %}
{% set mod_jk = apache.get('mod_jk', {}) %}
check_mod_jk_dict:
test.show_notification:
- name: mod_jk_full_yn
- text: {{ mod_jk.version }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment