{"repo":"moira-alert/moira-trigger-role","free":true,"listed":false,"github":"https://github.com/moira-alert/moira-trigger-role","clone":"git clone https://github.com/moira-alert/moira-trigger-role.git","description":"Ansible role to create, update and delete Moira triggers","language":"Python","stars":11,"topics":["ansible","ansible-modules","ansible-roles","moira","alerting","monitoring","graphite"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"moira-trigger-role If you're new here, better check out our main README. Ansible role to create, update and delete Moira triggers based on python-moira-client Role usage Installation - Ansible Galaxy - Ansible Role with Makefile Configuration - Authentication - Trigger state Role tasks - Manage dependencies - Manage triggers Installation Ansible Galaxy Ansible Role with Makefile Place the contents from example inside your Makefile to download role from Ansible Galaxy and create playbook to manage triggers with predefined parameters inside your vars files: Note: All tasks must be done from your ansible control machine Configuration Predefine following parameters inside your vars files. Working examples can be found here Authentication Parameter Description Type Required Default Example ------------------- ------------------------------ ------------ ---------- --------- ------------------------- moira api Url of Moira API String True N/A moira auth custom Custom authorization headers Dictionary False None Authorization: apiKey moira auth user Auth User (Basic Auth) String False None admin moira auth pass Auth Password (Basic Auth) String False None pass moira auth login Auth Login (Basic Auth) String False None admin Note: Use moira auth custom if you're using additional authentication mechanisms instead of single basic auth, use moira auth user, moira auth pass and moira auth login otherwise. moira auth login must contain value for X-Webauth-User header. Trigger state Paramete","default_branch":null,"files":null,"tree":[],"storefront":"/r/moira-alert","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/moira-alert/moira-trigger-role/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}