From b6761e351f9ab38b3ab3f88edf19e7e50a602542 Mon Sep 17 00:00:00 2001 From: "Oleg \"Zmey!\" Vasiliev" Date: Thu, 5 Oct 2023 00:56:38 +0300 Subject: [PATCH] Fixes --- defaults/main.yml | 3 --- tasks/main.yml | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index 49be669..06e6328 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -1,8 +1,5 @@ --- - -nginx_unit_version: 1.31.0-1 - nginx_unit_packages: - nginx-unitd - nginx-unit-php-legacy diff --git a/tasks/main.yml b/tasks/main.yml index ab2d756..428fa04 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -2,7 +2,7 @@ - name: Nginx Unit | Install packages package: - name: "{{ nginx_unit_packages | product([nginx_unit_version]) | map('join', '=') | list }}" + name: "{{ nginx_unit_packages }}" state: present - name: Nginx Unit | Deploy config @@ -18,7 +18,7 @@ service: name: unit state: started - enables: yes + enabled: yes - name: Nginx Unit | Run handlers meta: flush_handlers