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