You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After installing NGINX Management Suite on Debian/Ubuntu the file /etc/apt/sources.list.d/nms.list is removed through tasks/nms/remove-certs.yaml together with the NGINX license certificate and key. This makes it impossible to find & install nms-nap-compiler-*.
To reproduce
Steps to reproduce the behavior:
Deploy the Ansible NGINX Management Suite role using playbook.yml
Run apt-cache search nms-nap-compiler
No packages are found
Expected behavior
After installing NGINX Management Suite using this role it should be possible to apt-get install the nms-nap-compiler module without having to recreate /etc/apt/sources.list.d/nms.list
Your environment
Ansible NGINX Management Suite role 0.3.0
Version of Ansible: ansible [core 2.12.10]
Target deployment platform: Ubuntu 20.04
Additional context
One potential improvement might be having the ability to specifiy one or more nms-nap-compiler versions to be installed, directly in the playbook.
The text was updated successfully, but these errors were encountered:
You are right that I delete the NGINX Certs but I don't think I delete the license though.. I remove the certs by default mimicking the ansible-role-nginx role. I didn't make much of an issue out of this behavior because it made sense to be on the safer side so the certs can't be stolen if a host were somehow compromised.
You can bypass this behavior though.. When you run your role, you can make sure to set the following variable nms_remove_certs to false
Describe the bug
After installing NGINX Management Suite on Debian/Ubuntu the file
/etc/apt/sources.list.d/nms.list
is removed throughtasks/nms/remove-certs.yaml
together with the NGINX license certificate and key. This makes it impossible to find & installnms-nap-compiler-*
.To reproduce
Steps to reproduce the behavior:
playbook.yml
apt-cache search nms-nap-compiler
Expected behavior
After installing NGINX Management Suite using this role it should be possible to
apt-get install
thenms-nap-compiler
module without having to recreate/etc/apt/sources.list.d/nms.list
Your environment
ansible [core 2.12.10]
Additional context
One potential improvement might be having the ability to specifiy one or more
nms-nap-compiler
versions to be installed, directly in the playbook.The text was updated successfully, but these errors were encountered: