2
0

Simplify pkgrepo logic, made possible by 3b265a544

This commit is contained in:
Ivan Kadochnikov 2016-10-07 15:55:15 +03:00
parent 01043740dc
commit 13ea551011
2 changed files with 2 additions and 6 deletions

View File

@ -1,2 +1,2 @@
include: include:
- .{{ grains['os']|lower }}.absent - .{{ grains['os_family']|lower }}.absent

View File

@ -1,6 +1,2 @@
{% set name = {
'RedHat': 'redhat',
'Debian': grains['os_family']|lower,
}.get(grains.os_family) %}
include: include:
- .{{ name }} - .{{ grains['os_family']|lower }}