mvilrokx.new_relic_deployment_marker

Ansible Role: new_relic_deployment_marker

This role helps you create Deployment Markers in New Relic.

Requirements

No special requirements.

Role Variables

Here are the variables you can use, along with their default values (found in defaults/main.yml):

  • new_relic_api_base_url: "https://api.newrelic.com/v2/"

    • This is the base URL for the New Relic API. Do not change it!
  • new_relic_api_timeout: 10

    • This sets a timeout (in seconds) for calls to the New Relic APIs.
  • revision: ""

    • This is the revision number for the New Relic Deployment Marker API.
  • changelog: ""

    • This is where you can add a changelog for the New Relic Deployment Marker API.
  • description: ""

    • This is a description for the New Relic Deployment Marker API.
  • {{ new_relic_api_key }}

    • Your New Relic API key, which you can find in Account Settings > API Keys.
  • {{ inventory_hostname }}

    • This is used to find the application ID.

Dependencies

You need a New Relic account and an application that New Relic is monitoring.

Example Playbook

- hosts: servers
  tasks:
    - include_role:
        name: new_relic_deployment_marker
      vars:
        revision: "1.0"
        changelog: "New release"

License

This role is licensed under BSD.

Author Information

This role was created in 2019 by Mark Vilrokx.

Informazioni sul progetto

Add New Relic Deployment Markers to your playbooks.

Installa
ansible-galaxy install mvilrokx.new_relic_deployment_marker
Licenza
Unknown
Download
100
Proprietario
Senior Architect with 20+ years of experience designing and building Enterprise Applications on Cloud platforms (SaaS, PaaS and IaaS)