File tree 3 files changed +7
-9
lines changed
3 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -15,20 +15,14 @@ apache_vhosts:
15
15
# apache_mods:
16
16
# - name: rewrite
17
17
# state: present
18
- apache_mods :
19
- - name : rewrite
20
- state : present
21
- - name : ssl
22
- state : present
18
+ apache_mods : []
23
19
24
20
# Only used on Debian/Ubuntu.
25
21
# Example:
26
22
# apache_confs:
27
23
# - name: trace
28
24
# state: absent
29
- apache_confs :
30
- - name : trace
31
- state : absent
25
+ apache_confs : []
32
26
33
27
# httpd.conf
34
28
#
Original file line number Diff line number Diff line change 20
20
_apache_vhost_ssl : " {{ _apache_vhost_ssl_item }}"
21
21
loop : " {{ apache_vhost.ssl }}"
22
22
loop_control :
23
+ label : " {{ apache_vhost | to_vhost_filename }}"
23
24
loop_var : _apache_vhost_ssl_item
24
25
when :
25
26
- apache_skip_vhost_on_missing_ssl_cert
Original file line number Diff line number Diff line change 22
22
vars :
23
23
apache_vhost : " {{ item }}"
24
24
loop : " {{ apache_vhosts }}"
25
+ # NOTE(zstyblik): cannot use to_vhost_filename until validated.
25
26
loop_control :
26
- label : " {{ item | to_vhost_filename }}"
27
+ label : " {{ item.servername | default('unknown') }}:{{ item.port | default(0) }}"
27
28
28
29
- name : Gather Binding to Addresses and Ports information.
29
30
apache_ports_generator :
203
204
vars :
204
205
apache_vhost : " {{ item }}"
205
206
loop : " {{ apache_vhosts }}"
207
+ loop_control :
208
+ label : " {{ item | to_vhost_filename }}"
206
209
207
210
# NOTE(zstyblik): run a2en* regardless
208
211
# re-add check "is in a2q STDOUT", if necessary to save cycles.
You can’t perform that action at this time.
0 commit comments