ctucx.git: ansible-configs

My personal ansible roles and playbooks [deprecated in favor of nixos]

1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 
13 
14 
15 
16 
17 
18 
19 
20 
21 
22 
#
# !!! This file is managed by Ansible !!!
#

[cert]
name      = "{{ item.key }}"
dns_names = [
	"{{ item.key }}",
{% if item.value.extraDnsNames is defined %}
{% for domain in item.value.extraDnsNames %}
    "{{ domain }}",
{% endfor %}
{% endif %}
]
exec = [
	"sudo /usr/local/bin/acme-redirect-fixpermissions",
{% if item.value.renewTasks is defined %}
{% for task in item.value.renewTasks %}
    "{{ task }}",
{% endfor %}
{% endif %}
]