PR #156 follow-up: Fix code linting issue.

pull/156/head
Jeff Geerling 5 years ago
parent 630cf44e8d
commit d2f244b5b6
  1. 2
      README.md
  2. 6
      defaults/main.yml

@ -151,7 +151,7 @@ Configures Nginx's [`log_format`](http://nginx.org/en/docs/http/ngx_http_log_mod
nginx_service_state: started
nginx_service_enabled: yes
The last task in the role configures the current state and the boot time state of the nginx service. Default settings start nginx and set it to startup at boot time. These can be overridden if installing in a container or further control over the service state is needed.
By default, this role will ensure Nginx is running and enabled at boot after Nginx is configured. You can use these variables to override this behavior if installing in a container or further control over the service state is required.
## Overriding configuration templates

@ -12,6 +12,9 @@ nginx_ppa_version: stable
# The name of the nginx package to install.
nginx_package_name: "nginx"
nginx_service_state: started
nginx_service_enabled: true
nginx_conf_template: "nginx.conf.j2"
nginx_vhost_template: "vhost.j2"
@ -84,6 +87,3 @@ nginx_log_format: |
'$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"'
nginx_service_state: started
nginx_service_enabled: yes