template.yaml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. ---
  2. kind: ansible
  3. metadata:
  4. name: Install Checkmk Agent
  5. description: |-
  6. Ansible playbook to install Checkmk monitoring agent on hosts. Uses the checkmk.general.agent role with automatic registration.
  7. ## References
  8. - **Project**: https://github.com/Checkmk/ansible-collection-checkmk.general
  9. - **Documentation**: https://docs.checkmk.com/
  10. version: 2.4.0
  11. author: Christian Lempa
  12. date: "2025-11-11"
  13. tags: []
  14. icon:
  15. provider: selfh
  16. id: checkmk
  17. draft: false
  18. next_steps: ""
  19. schema: "1.2"
  20. spec:
  21. general:
  22. vars:
  23. target_hosts:
  24. description: Target hosts
  25. type: str
  26. required: true
  27. checkmk:
  28. title: Checkmk Configuration
  29. vars:
  30. checkmk_server:
  31. type: str
  32. description: Checkmk Server
  33. required: true
  34. checkmk_protocol:
  35. type: str
  36. description: Checkmk Server Protocol
  37. enum:
  38. - http
  39. - https
  40. default: https
  41. required: true
  42. checkmk_site:
  43. type: str
  44. description: Checkmk Site
  45. default: cmk
  46. required: true
  47. checkmk_auto_activate:
  48. type: bool
  49. description: Auto Activate Agent
  50. checkmk_tls:
  51. type: bool
  52. description: Use TLS for Agent Communication
  53. checkmk_user:
  54. type: str
  55. description: Checkmk Automation User
  56. required: true
  57. checkmk_pass:
  58. type: str
  59. description: Checkmk Automation User Password
  60. required: true
  61. sensitive: true
  62. checkmk_host:
  63. type: str
  64. description: Checkmk Host Name
  65. required: true