From d9a20fccb2f282bbb07d220bab1a100a064be04a Mon Sep 17 00:00:00 2001 From: boite Date: Tue, 18 Oct 2016 22:50:57 +0100 Subject: [PATCH 1/3] Remove module name and project config. --- README.md | 2 +- droid.yml | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 980adbb..ca4975c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Droid Module: droid/nginx +# Droid Module: nginx Setup NGINX as a load balancing, SSL terminating reverse proxy. For more information on Droid, please see [droidphp.com](http://droidphp.com). diff --git a/droid.yml b/droid.yml index 835067e..548de0f 100644 --- a/droid.yml +++ b/droid.yml @@ -1,7 +1,4 @@ ---- -project: - name: "droid/nginx" - description: "Setup NGINX" +description: "Setup NGINX" variables: nginx: From 7696318550ddcdf3f5b1c1ede23f367108184156 Mon Sep 17 00:00:00 2001 From: boite Date: Tue, 1 Nov 2016 21:22:16 +0000 Subject: [PATCH 2/3] Continue to use Lightncandy syntax. --- droid.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/droid.yml b/droid.yml index 548de0f..643bb26 100644 --- a/droid.yml +++ b/droid.yml @@ -1,6 +1,7 @@ description: "Setup NGINX" variables: + use_legacy_templating: true nginx: worker_processes: "4" error_log: "/var/log/nginx/error.log warn" From 594617b04590dd0254baa9d8361c95c600cb6fb2 Mon Sep 17 00:00:00 2001 From: boite Date: Tue, 29 Nov 2016 10:48:45 +0000 Subject: [PATCH 3/3] Correct with_items_filter expression. --- droid.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/droid.yml b/droid.yml index 643bb26..0896e59 100644 --- a/droid.yml +++ b/droid.yml @@ -93,7 +93,7 @@ tasks: src: "!{{ item.auth_cacert }}" dest: "/etc/ssl/certs/{{ item.name }}.cacert.pem" with_items: nginx_vhosts - with_items_filter: "item['auth_cacert']" + with_items_filter: "'auth_cacert' in item" - name: "Copy HTTPS private key" command: "fs:copy" @@ -102,7 +102,7 @@ tasks: src: "!{{ item.https_private_key }}" dest: "/etc/ssl/private/{{ item.name }}.key" with_items: nginx_vhosts - with_items_filter: "item['https_private_key']" + with_items_filter: "'https_private_key' in item" - name: "Copy HTTPS certificate" command: "fs:copy" @@ -111,7 +111,7 @@ tasks: src: "!{{ item.https_certificate }}" dest: "/etc/ssl/certs/{{ item.name }}.crt.pem" with_items: nginx_vhosts - with_items_filter: "item['https_certificate']" + with_items_filter: "'https_certificate' in item" - name: "Create vhosts" command: "fs:copy"