mirror of
https://github.com/geerlingguy/ansible-role-apache
synced 2024-11-09 23:43:30 +01:00
Leaves the NameVirtualHost in the same location in the file
This commit is contained in:
parent
ac77f7835e
commit
ea4186e794
2 changed files with 2 additions and 2 deletions
|
@ -15,5 +15,5 @@ __apache_packages:
|
|||
apache_ports_configuration_items:
|
||||
- regexp: "^Listen "
|
||||
line: "Listen {{ apache_listen_port }}"
|
||||
- regexp: "^NameVirtualHost "
|
||||
- regexp: "^#?NameVirtualHost "
|
||||
line: "NameVirtualHost *:{{ apache_listen_port }}"
|
||||
|
|
|
@ -7,6 +7,6 @@ apache_ports_configuration_items:
|
|||
line: "Listen {{ apache_listen_port }}"
|
||||
}
|
||||
- {
|
||||
regexp: "^NameVirtualHost ",
|
||||
regexp: "^#?NameVirtualHost ",
|
||||
line: "NameVirtualHost *:{{ apache_listen_port }}"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue