File tree Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Expand file tree Collapse file tree 1 file changed +18
-4
lines changed Original file line number Diff line number Diff line change 53
53
54
54
nginx_blacklist_vhost_check_include_file : ~
55
55
56
- https_termination_hosts :
57
- - name : " {{ shlink_short_domain }}"
58
- server_name : " {{ shlink_short_domain }}"
59
- letsencrypt : yes
56
+ https_termination_hosts : []
57
+
60
58
https_termination_proxy_http_port : yes
61
59
62
60
https_termination_upstream_host : 127.0.0.1
66
64
https_termination_crt_acme_email :
[email protected]
67
65
68
66
pre_tasks :
67
+ - name : Initialize short domain list
68
+ set_fact :
69
+ shlink_domains : " {{ [shlink_short_domain] + shlink_short_domains_extra | default([]) }}"
70
+
71
+ - name : Compute vhost configuration
72
+ set_fact :
73
+ https_termination_hosts : " {{ https_termination_hosts + [host] }}"
74
+ vars :
75
+ host :
76
+ name : " {{ domain }}"
77
+ server_name : " {{ domain }}"
78
+ letsencrypt : yes
79
+ loop : " {{ shlink_domains }}"
80
+ loop_control :
81
+ loop_var : domain
82
+
69
83
- name : Automatically configure MySQL host as RDS instance
70
84
when : >-
71
85
aws_use
You can’t perform that action at this time.
0 commit comments