It should be just <, not <= when comparing salt version.
This commit is contained in:
parent
da1405c5e7
commit
7684d6b0a9
@ -65,7 +65,7 @@ nginx_user:
|
||||
- makedirs: True
|
||||
|
||||
get-build-tools:
|
||||
{% if salt['pkg.version']('salt') <= '2015.8.0' and grains['os_family'] == 'RedHat' %}
|
||||
{% if salt['pkg.version']('salt') < '2015.8.0' and grains['os_family'] == 'RedHat' %}
|
||||
module.run:
|
||||
- name: pkg.group_install
|
||||
- m_name: {{ nginx_map.group_pkg }}
|
||||
|
Loading…
Reference in New Issue
Block a user