dynatrace_innovationlab.dynatrace_collection.dynatrace_comment (1.0.6) — module

Comment on Dynatrace detected problems

| "added in version" 2.3 of dynatrace_innovationlab.dynatrace_collection"

Authors: Juergen Etzlstorfer (@jetzlstorfer)

preview | supported by community

Install collection

Install with ansible-galaxy collection install dynatrace_innovationlab.dynatrace_collection:==1.0.6


Add to requirements.yml

  collections:
    - name: dynatrace_innovationlab.dynatrace_collection
      version: 1.0.6

Description

Push a comment to a Dynatrace problem ticket

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- dynatrace_comment:
    tenant_url: https://mytenant.live.dynatrace.com
    api_token: XXXXXXXX
    comment: 'Comment sent from Ansible'
    user: 'user@dynatrace.com'

Inputs

    
user:
    description:
    - User that pushes the comments
    required: true
    type: str

comment:
    description:
    - Content of comment to push to Dynatrace
    required: true
    type: str

context:
    description:
    - Source where the comment originates from (default Ansible)
    required: false
    type: str

api_token:
    description:
    - Dynatrace API Token
    required: true
    type: str

problem_id:
    description:
    - Dynatrace Problem ID to add the comment to
    required: true
    type: str

tenant_url:
    description:
    - Tenant URL for the Dynatrace Tenant
    required: true
    type: str