Leaves the NameVirtualHost in the same location in the file

This commit is contained in:
Solomon Gifford 2015-11-16 23:20:54 -05:00
parent ac77f7835e
commit ea4186e794
2 changed files with 2 additions and 2 deletions

View file

@ -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 }}"

View file

@ -7,6 +7,6 @@ apache_ports_configuration_items:
line: "Listen {{ apache_listen_port }}"
}
- {
regexp: "^NameVirtualHost ",
regexp: "^#?NameVirtualHost ",
line: "NameVirtualHost *:{{ apache_listen_port }}"
}