Playbooks to a new Lilik
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
463 B

object Host "{{ item.key }}" {
import "generic-host"
address = "{{ item.value.address }}"
vars.os = "Linux"
vars.sla = "24x7"
{% if 'vhosts' in item.value %}
{% for vhost in item.value.vhosts %}
vars.http_vhosts["{{ vhost }}"] = {
http_uri = "/"
http_vhost = "{{ vhost }}"
http_onredirect = "follow"
http_sni = true
/* Check remaining days before cert expiration */
http_certificate = "30,20"
}
{% endfor %}
{% endif %}
}