{"id":20757609,"url":"https://github.com/dodevops/ansible-teamcity-callback","last_synced_at":"2025-04-29T23:32:16.399Z","repository":{"id":90748080,"uuid":"183217248","full_name":"dodevops/ansible-teamcity-callback","owner":"dodevops","description":"An Ansible callback plugin to output suitable for TeamCity","archived":false,"fork":false,"pushed_at":"2019-09-25T12:30:39.000Z","size":613,"stargazers_count":22,"open_issues_count":1,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-30T12:22:27.641Z","etag":null,"topics":["ansible","ansible-playbook","output","python","teamcity"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dodevops.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-04-24T11:43:11.000Z","updated_at":"2024-12-09T23:33:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"72c97182-1f90-42aa-95e0-89f461ab7578","html_url":"https://github.com/dodevops/ansible-teamcity-callback","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dodevops%2Fansible-teamcity-callback","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dodevops%2Fansible-teamcity-callback/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dodevops%2Fansible-teamcity-callback/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dodevops%2Fansible-teamcity-callback/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dodevops","download_url":"https://codeload.github.com/dodevops/ansible-teamcity-callback/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251599669,"owners_count":21615565,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","ansible-playbook","output","python","teamcity"],"created_at":"2024-11-17T09:43:23.596Z","updated_at":"2025-04-29T23:32:16.386Z","avatar_url":"https://github.com/dodevops.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible Callback Plugin for Teamcity\n\n## Introduction\n\nThis [Ansible](https://ansible.com) [callback plugin]() formats the output of an Ansible playbook, so that it can be better interpreted by TeamCity.\n\n## Why?\n\nBecause Ansible logs in Teamcity look like this:\n\n![Log without this plugin](log_view_without.png)\n\nWith this plugin in place, they look like this:\n\n![Log with this plugin](log_view_with.png)\n\nAll plays and tasks are nicely put into their own blocks allowing TeamCity to collapse them and calculate the different times.\n\n## Usage\n\nYou have different options of using this plugin:\n\n* In your playbook repository:\n  * Create a folder named `callback_plugins` directly where your playbook lives\n  * Download the [file teamcity.py](https://raw.githubusercontent.com/dodevops/ansible-teamcity-callback/master/teamcity.py) and place it in inside the `callback_plugins` directory\n* Somewhere else:\n  * [Download](https://github.com/dodevops/ansible-teamcity-callback/archive/master.zip) or [clone](https://github.com/dodevops/ansible-teamcity-callback.git) the plugin, unzip it and place the folder somewhere accessible (i.e. use the [Teamcity tools feature](https://confluence.jetbrains.com/display/TCD18/Installing+Agent+Tools) to distribute the plugin to all agents)\n  * Use the following environment variable to tell Ansible where to find your plugin:\\\n    `export ANSIBLE_CALLBACK_PLUGINS=\u003cpath of your plugin\u003e`\n\nSet the following environment variable to use the plugin:\n\n    export ANSIBLE_STDOUT_CALLBACK=teamcity\n\nThen run your playbook.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdodevops%2Fansible-teamcity-callback","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdodevops%2Fansible-teamcity-callback","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdodevops%2Fansible-teamcity-callback/lists"}