From ef619ba77fb172cea9b16fdebb9cd4c46381c6d3 Mon Sep 17 00:00:00 2001 From: Ludovic Claude Date: Fri, 4 Dec 2015 17:16:56 +0100 Subject: [PATCH] Fix detection of local certificate files --- tasks/main.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 4e356d9..ed07c80 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -8,15 +8,13 @@ file: path={{ssl_certs_patch}} state=directory owner="{{ssl_certs_path_owner}}" group="{{ssl_certs_path_group}}" mode=700 tags: [ssl-certs,configuration] - - stat: path={{ssl_certs_local_privkey_path}} + - local_action: stat path={{ssl_certs_local_privkey_path}} register: stat_privkey - connection: local sudo: false tags: [ssl-certs,configuration] - - stat: path={{ssl_certs_local_cert_path}} + - local_action: stat path={{ssl_certs_local_cert_path}} register: stat_cert - connection: local sudo: false tags: [ssl-certs,configuration]