From 269a9a5b7b31f54684a809a779315173d6cbdc90 Mon Sep 17 00:00:00 2001 From: vincent Date: Mon, 22 Mar 2021 21:29:09 +0100 Subject: [PATCH] review inventory --- defaults/main.yml | 2 +- tasks/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index 1b63f90..a83f762 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -86,7 +86,7 @@ nginx_log_format: |- '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"' -nginx_realIP_Proxy: None +nginx_realIP_Proxy: nginx_logrotate_number: 4 ## weekly,dailly.. nginx_logrotate_period: "weekly" diff --git a/tasks/main.yml b/tasks/main.yml index 5dae387..3ac10d1 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -51,7 +51,7 @@ mode: "0644" notify: - reload nginx - when: nginx_realIP_Proxy is defined + when: nginx_realIP_Proxy - name: Apply logrotate file template: