Browse Source

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 7 months ago
parent
commit
d38119eb0f
  1. 2
      CHANGELOG.md
  2. 4
      nginx/tasks/main.yml
  3. 2
      nginx/tasks/packages.yml

2
CHANGELOG.md

@ -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

4
nginx/tasks/main.yml

@ -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

2
nginx/tasks/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