{"id":20260052,"url":"https://github.com/influxdata/ansible-kapacitor","last_synced_at":"2025-03-03T18:41:39.067Z","repository":{"id":27615859,"uuid":"108978248","full_name":"influxdata/ansible-kapacitor","owner":"influxdata","description":"Official Kapacitor Ansible Role for Linux","archived":false,"fork":false,"pushed_at":"2023-01-26T22:54:30.000Z","size":42,"stargazers_count":7,"open_issues_count":4,"forks_count":14,"subscribers_count":41,"default_branch":"master","last_synced_at":"2025-01-14T04:13:28.790Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.influxdata.com/time-series-platform/kapacitor/","language":"Jinja","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/influxdata.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}},"created_at":"2017-10-31T10:11:07.000Z","updated_at":"2023-06-15T04:02:41.000Z","dependencies_parsed_at":"2023-02-15T02:31:56.703Z","dependency_job_id":null,"html_url":"https://github.com/influxdata/ansible-kapacitor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/influxdata%2Fansible-kapacitor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/influxdata%2Fansible-kapacitor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/influxdata%2Fansible-kapacitor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/influxdata%2Fansible-kapacitor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/influxdata","download_url":"https://codeload.github.com/influxdata/ansible-kapacitor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241720405,"owners_count":20008973,"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":[],"created_at":"2024-11-14T11:17:47.627Z","updated_at":"2025-03-03T18:41:39.041Z","avatar_url":"https://github.com/influxdata.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible Kapacitor\n\n[![Ansible Galaxy](https://img.shields.io/badge/ansible--galaxy-influxdata.kapacitor-blue.svg)](https://galaxy.ansible.com/influxdata/kapacitor/)\n\nConfiguration management and change automation for Kapacitor on Linux.\n\nThis role will:\n* Install Kapacitor\n* Generate and install configs\n* Manage the Kapacitor service\n* Upload any TICK scripts specified\n* Manage any defined tasks\n\n## Installation\n\n`$ ansible-galaxy install influxdata.kapacitor`\n\n## Usage\n\nExample playbook usage:\n\n```\n- hosts: 'kapacitor'\n  become: true\n  roles:\n      - 'kapacitor'\n  vars:\n    kapacitor_influx:\n      - name: \"production01\"\n        enabled: true\n        default: true\n        urls: [\"https://influxdb.production01.megacorp.com:443\"]\n        username: \"username\"\n        password: \"password\"\n        ssl-ca: \"\"\n        ssl-cert: \"\"\n        ssl-key: \"\"\n        insecure-skip-verify: false\n        timeout: \"0s\"\n        disable-subscriptions: false\n        subscription-protocol: \"http\"\n        subscription-mode: \"cluster\"\n        kapacitor-hostname: \"{{ ansible_hostname }}\"\n        http-port: 0\n        udp-bind: \"\"\n        udp-buffer: 1000\n        udp-read-buffer: 0\n        startup-timeout: \"5m0s\"\n        subscriptions-sync-interval: \"1m0s\"\n    kapacitor_http_shared_secret: \"topsecretsuperlong\"\n    kapacitor_tick_script_dir: '../../shared/files/tick'\n    kapacitor_slack_enabled: true\n    kapacitor_slack_url: \"https://hooks.slack.com/services/XXX/ZZZ/SECRET\"\n    kapacitor_slack_channel: '#monitoring'\n    kapacitor_slack_global: false\n    kapacitor_slack_state_changes_only: false\n```\n\nSee the `test/integration/ansible` for examples.\n\n## Contributing\n\nClone this repository, hack and run tests with Kitchen. Then send us a pull-request!\n\n```\n$ bundle install\n$ kitchen test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfluxdata%2Fansible-kapacitor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finfluxdata%2Fansible-kapacitor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfluxdata%2Fansible-kapacitor/lists"}