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

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.

1 REPLY 1

Jeffrey_Fynboh
Dynatrace Helper
Dynatrace Helper

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.


Featured Posts