step 01
This commit is contained in:
parent
8d2429bc77
commit
4ad26ed735
1 changed files with 6 additions and 0 deletions
|
@ -3,6 +3,9 @@
|
|||
###############
|
||||
## {{ env }}
|
||||
|
||||
{% for key, value in groups.iteritems() %}
|
||||
{% if groups[key] %}
|
||||
|
||||
define hostgroup{
|
||||
hostgroup_name {{ key }}
|
||||
alias {{ key }}
|
||||
|
@ -10,3 +13,6 @@ define hostgroup{
|
|||
|
||||
}
|
||||
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue