From 0c531fc919786a5c9925b43109b932c878f35172 Mon Sep 17 00:00:00 2001 From: reqwizz Date: Fri, 29 Nov 2024 17:31:53 +0300 Subject: [PATCH] update nginx_proxy main tasks --- ansible/roles/nginx_proxy/tasks/main.yml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/ansible/roles/nginx_proxy/tasks/main.yml b/ansible/roles/nginx_proxy/tasks/main.yml index cbb613f..198eb3d 100644 --- a/ansible/roles/nginx_proxy/tasks/main.yml +++ b/ansible/roles/nginx_proxy/tasks/main.yml @@ -38,16 +38,6 @@ notify: - Restart Nginx -- name: Test Nginx Configuration - command: nginx -t - register: nginx_test - ignore_errors: yes - -- name: Fail if Nginx Configuration Test Failed - fail: - msg: "Nginx configuration test failed. Check the configuration files." - when: nginx_test.rc != 0 - - name: Ensure Nginx is enabled and started systemd: name: nginx