07 Feb 2019 04:41 PM - last edited on 10 Dec 2021 12:32 PM by MaciejNeumann
I am trying to take the Perform 2019 HOT for Auto-Healing with Ansible and apply it at work, however, i am having an issue with the {PID} not being declared.
The variable that's giving me the problem is :
dtcommentapiurl: "{{dturl}}/api/v1/problem/details/{{pid}}/comments?Api-Token={{apitoken}}".
How does AnsibleTower get the {PID} from Dynatrace once there is a problem? The deck that I got from HOT day did not mention any of this.
Solved! Go to Solution.
08 Feb 2019 01:51 PM
The variable “pid” is passed in from dynatrace as part of the problem details when the integration with Ansible Tower is triggered.
You need to make sure “prompt on launch” is checked for the extra variables is checked on your job template.