Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nginx_version is applied only on main package but not module #861

Open
mixman68 opened this issue Feb 28, 2025 · 0 comments
Open

nginx_version is applied only on main package but not module #861

mixman68 opened this issue Feb 28, 2025 · 0 comments

Comments

@mixman68
Copy link

Caution

Remember to redact any sensitive information such as authentication credentials or license keys.

Describe the bug

I set explicit version of nginx (1.27.3) and I get 1.27.4 when modules are installed. but 1.27.3 if not modules installed

To reproduce

Steps to reproduce the bug:

Play this playbook

---
- name: Reverse proxy
  hosts:
    - reverseProxies
  vars:
    nginx_version: =1.27.3-1~bookworm
    nginx_modules:
       - geoip
       - image-filter
       - njs
       - perl
       - xslt
  tasks:
    - name: "NGINX role"
      ansible.builtin.include_role:
        name: nginxinc.nginx

Expected behavior

Have Nginx 1.27.3

Your environment

  • Version of the Ansible NGINX role (or specific commit): 0.25.0
  • Version of Ansible: 2.17.5
  • How is Ansible being managed (CLI/pipeline/Automation Hub/etc...): ansible-playbook
  • Target deployment platform(s): Debian 12

Additional context (optional)

Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant