From 6b1366298f6de7af1fcce7537da5693af76b5291 Mon Sep 17 00:00:00 2001 From: Emilien Mantel Date: Wed, 2 Nov 2016 14:48:49 +0100 Subject: [PATCH] no_log on sensitive data --- tasks/htpasswd.yml | 1 + tasks/ssl.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/tasks/htpasswd.yml b/tasks/htpasswd.yml index b52c953..c0d9fef 100644 --- a/tasks/htpasswd.yml +++ b/tasks/htpasswd.yml @@ -17,3 +17,4 @@ - "{{ nginx_htpasswd }}" - users when: item.0.state is not defined or item.0.state == 'present' + no_log: true diff --git a/tasks/ssl.yml b/tasks/ssl.yml index e489f0e..d744978 100644 --- a/tasks/ssl.yml +++ b/tasks/ssl.yml @@ -28,6 +28,7 @@ with_items: "{{ nginx_ssl_pairs }}" when: item.key is defined notify: reload nginx + no_log: true - name: COPY | Deploy SSL certs copy: >