Skip to content

Changing the nms_cred_path breaks NMS #48

Open
@nginx-danieloc

Description

@nginx-danieloc

Describe the bug

The nms_cred_path cannot be changed. If it is then NGINX in front of NMS cannot find the password file.

To reproduce

Steps to reproduce the behavior:

  1. Create a playbook like the following
- hosts: nms
  become: yes
  vars:
    nginx_license:
      certificate: ./nginx-repo.crt
      key: ./nginx-repo.key
    nms_setup: install
    nms_cred_path: /etc/.htpasswd
  collections:
    - nginxinc.nginx_core
  roles:
    - ansible-role-nginx-management-suite
  1. Deploy the Ansible NGINX Management Suite role using playbook.yml

Expected behavior

NMS works after setting variables

Your environment

  • Version of the Ansible NGINX Management Suite role or specific commit - 0.3.0
  • Version of Ansible - 2.12

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions