Hi Abhijeet,
Thanks for your help.
Please find the log below. Btrw, there is no error message upon running the playbook. But its not deployed the helm chart.
<34.69.209.68> SSH: EXEC ssh -C -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ‘User=“ansadmin”’ -o ConnectTimeout=10 -o ControlPath=/home/ansadmin/.ansible/cp/e12395894d 34.69.209.68 ‘/bin/sh -c ‘"’“‘rm -f -r /home/ansadmin/.ansible/tmp/ansible-tmp-1617268607.9522765-6383-1146126971822/ > /dev/null 2>&1 && sleep 0’”’"‘’
<34.69.209.68> (0, b’‘, b’')
changed: [34.69.209.68] => {
“ansible_facts”: {
“discovered_interpreter_python”: “/usr/bin/python”
},
“changed”: true,
“command”: “/usr/local/bin/helm upgrade -i --reset-values -f=/tmp/tmprp_GBW.yml newrelic newrelic/nri-bundle”,
“invocation”: {
“module_args”: {
“api_key”: null,
“atomic”: false,
“binary_path”: “/usr/local/bin/helm”,
“ca_cert”: null,
“chart_ref”: “newrelic/nri-bundle”,
“chart_repo_url”: null,
“chart_version”: null,
“context”: null,
“create_namespace”: false,
“disable_hook”: false,
“force”: false,
“host”: null,
“kubeconfig”: null,
“name”: “newrelic”,
“purge”: true,
“release_name”: “newrelic”,
“release_namespace”: “default”,
“release_state”: “present”,
“release_values”: {
“global.cluster”: " sample-cluster-instance-1 ",
“global.licenseKey”: “tempkey45878”,
“infrastructure.enabled”: true,
“prometheus.enabled”: true
},
“replace”: false,
“skip_crds”: false,
“update_repo_cache”: false,
“validate_certs”: true,
“values”: {
“global.cluster”: “sample-cluster-instance-1”,
“global.licenseKey”: “tempkey45878”,
“infrastructure.enabled”: true,
“prometheus.enabled”: true
},
“values_files”: ,
“wait”: false,
“wait_timeout”: null
}
},
“status”: {
“app_version”: “1.0”,
“chart”: “nri-bundle-2.6.0”,
“name”: “newrelic”,
“namespace”: “default”,
“revision”: “1”,
“status”: “deployed”,
“updated”: “2021-04-01 09:16:49.648228551 +0000 UTC”,
“values”: {
“global.cluster”: “sample-cluster-instance-1”,
“global.licenseKey”: “tempkey45878”,
“infrastructure.enabled”: true,
“prometheus.enabled”: true
}
},
“stderr”: “”,
“stderr_lines”: ,
“stdout”: “Release "newrelic" does not exist. Installing it now.\nNAME: newrelic\nLAST DEPLOYED: Thu Apr 1 09:16:49 2021\nNAMESPACE: default\nSTATUS: deployed\nREVISION: 1\nTEST SUITE: None\n”,
“stdout_lines”: [
“Release "newrelic" does not exist. Installing it now.”,
“NAME: newrelic”,
“LAST DEPLOYED: Thu Apr 1 09:16:49 2021”,
“NAMESPACE: default”,
“STATUS: deployed”,
“REVISION: 1”,
“TEST SUITE: None”
]
}
PLAY RECAP **********************************************************************************************************************************************************************************
34.69.209.68 : ok=1 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
Thanks,
Siva