From a6bb0546bea185c098b631fe85b8d631576f5962 Mon Sep 17 00:00:00 2001 From: Mark Meijerman Date: Tue, 11 Jun 2019 07:48:57 +0200 Subject: [PATCH] Ansible deprecation warning --- tasks/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/main.yml b/tasks/main.yml index 5b48a85..22220d7 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -76,7 +76,7 @@ with_items: - sites-available/default.conf - sites-enabled/default.conf - when: not nginx_set_default_server + when: not nginx_set_default_server | bool notify: Restart nginx - name: Write default server @@ -86,7 +86,7 @@ owner: root group: root mode: 0644 - when: nginx_set_default_server + when: nginx_set_default_server | bool notify: Restart nginx - name: Activate default server @@ -94,7 +94,7 @@ src: /etc/nginx/sites-available/default.conf dest: /etc/nginx/sites-enabled/default.conf state: link - when: nginx_set_default_server + when: nginx_set_default_server | bool notify: Restart nginx - name: Write other servers