Fixes #171: Log format gets strange newline in Ansible 2.7.

pull/129/head^2 2.6.1
Jeff Geerling 6 years ago
parent 67c8be8106
commit 638047eff0
  1. 2
      README.md
  2. 2
      defaults/main.yml

@ -130,7 +130,7 @@ Extra lines to be inserted in the top of `nginx.conf`. The value should be defin
See the template in `templates/nginx.conf.j2` for more details on the placement.
nginx_log_format: |
nginx_log_format: |-
'$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"'

@ -81,7 +81,7 @@ nginx_upstreams: []
# "srv3.example.com"
# }
nginx_log_format: |
nginx_log_format: |-
'$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"'