cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Perform 2019 HOT for Auto-Healing with Ansible not working at work.

mao_phu
Newcomer
 
2 REPLIES 2

mao_phu
Newcomer

I am trying to take the Perform 2019 HOT for Auto-Healing with Ansible and apply it at work, however, i am having issue with the {PID} not being declare.

The variable that's giving me problem is :

dtcommentapiurl: "{{dturl}}/api/v1/problem/details/{{pid}}/comments?Api-Token={{apitoken}}".

How does AnsibleTower get the {PID} from Dynatrace once there there is a problem? The deck that i got from HOT day did not mention any of this.


Jeffrey_Fynboh
Dynatrace Organizer
Dynatrace Organizer

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.