Open davetapley opened 11 months ago
Hi @davetapley, you'll need to use an API (user) key instead of a license key, although I don't believe this is the source of the issue.
I looks like newrelic-infra
supports setting the license key with an object from Ansible vault via vars
, and we're using environment
for the user key, which likely is the source of the issue -- the 2.8 docs mention that this inlining only works for vars
.
I think we could and arguably should support both ways of setting the user key, especially since it seems environment
doesn't allow Ansible vault to be used for the key.
So although this isn't strictly a bug (we do not intend to have parity with the newrelic-infra
role), I'll treat it as such for now and will try to get this work prioritized. Please see if you can find a workaround in the meantime, and let me know how else I can help.
Description
Trying to switch from
newrelic.newrelic-infra
tonewrelic.newrelic_install
and getting error.Steps to Reproduce
Following instructions here: https://docs.newrelic.com/docs/infrastructure/install-infrastructure-agent/config-management-tools/configure-infrastructure-agent-using-ansible/#getting-started
I used to have:
So I tried updating to:
Expected Behavior
It works.
Relevant Logs / Console output