nginx : fix variable name and debug

nginx_minimal defined the nginx_package_name_default variable which was not
used instead of the nginx_default_package_name variable

also fixed debug which was reversed, and add another one to be sure which mode
is used
pull/136/head
Jérémy Dubois 1 year ago
parent 7586881f4d
commit d38119eb0f

@ -22,6 +22,8 @@ The **patch** part changes is incremented if multiple releases happen the same m
### Fixed
* nginx : fix variable name and debug to actually use nginx-light
### Removed
### Security

@ -2,6 +2,10 @@
- debug:
msg: "Nginx minimal mode has been removed, falling back to normal mode."
when: not nginx_minimal | bool
- debug:
msg: "Nginx minimal mode has been set, using minimal mode."
when: nginx_minimal | bool
- include: packages.yml

@ -1,7 +1,7 @@
- set_fact:
nginx_package_name_default: nginx-light
nginx_default_package_name: nginx-light
when: nginx_minimal | bool
- include: packages_backports.yml

Loading…
Cancel
Save