{"id":19014991,"url":"https://github.com/adfinis/ansible-role-icinga2_web","last_synced_at":"2025-08-27T11:18:11.786Z","repository":{"id":34388975,"uuid":"159235495","full_name":"adfinis/ansible-role-icinga2_web","owner":"adfinis","description":"This role is used to configure icingaweb2","archived":false,"fork":false,"pushed_at":"2024-12-19T10:12:25.000Z","size":146,"stargazers_count":1,"open_issues_count":4,"forks_count":4,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-23T01:47:03.108Z","etag":null,"topics":["ansible","ansible-galaxy","ansible-role","automation","icinga2","infrastructure","monitoring"],"latest_commit_sha":null,"homepage":"","language":"Jinja","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adfinis.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,"zenodo":null}},"created_at":"2018-11-26T21:31:02.000Z","updated_at":"2024-12-19T10:07:56.000Z","dependencies_parsed_at":"2025-04-17T07:33:07.925Z","dependency_job_id":"e3351f2b-ba19-45d5-b12a-ab514c4e5a99","html_url":"https://github.com/adfinis/ansible-role-icinga2_web","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/adfinis/ansible-role-icinga2_web","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adfinis%2Fansible-role-icinga2_web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adfinis%2Fansible-role-icinga2_web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adfinis%2Fansible-role-icinga2_web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adfinis%2Fansible-role-icinga2_web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adfinis","download_url":"https://codeload.github.com/adfinis/ansible-role-icinga2_web/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adfinis%2Fansible-role-icinga2_web/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272325406,"owners_count":24914642,"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","status":"online","status_checked_at":"2025-08-27T02:00:09.397Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-galaxy","ansible-role","automation","icinga2","infrastructure","monitoring"],"created_at":"2024-11-08T19:34:39.165Z","updated_at":"2025-08-27T11:18:11.756Z","avatar_url":"https://github.com/adfinis.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"ROLE ICINGA2_WEB\n================\n\n[![image](https://img.shields.io/github/license/adfinis/ansible-role-icinga2_web.svg?style=flat-square)](https://github.com/adfinis/ansible-role-icinga2_web/blob/master/LICENSE)\n\n[![image](https://img.shields.io/github/actions/workflow/status/adfinis/ansible-role-icinga2_web/ansible-ci.yml?branch=master\u0026style=flat-square)](https://github.com/adfinis/ansible-role-icinga2_web/actions/workflows/ansible-ci.yml)\n\n[![image](https://img.shields.io/badge/galaxy-adfinis.icinga2_web-660198.svg?style=flat-square)](https://galaxy.ansible.com/ui/standalone/roles/adfinis/icinga2_web/)\n\nThis role installs and configures icingaweb2.\n\n# Requirements\n\nWhat you will need to benefit from this role is a webserver installed on\nthe system. At Adfinis, we use the following role:\n\n-   [adfinis-sygroup.nginx](https://galaxy.ansible.com/adfinis-sygroup/nginx)\n\n## Role dependencies\nThis role has the following dependencies:\n\n``` yaml\nroles:\n- name: 'adfinis.icinga2_agent'\n\ncollections:\n  - ansible.posix\n  - community.general\n  - community.mysql\n  - robertdebock.roles\n```\n\nFor all dependencies to be correcty installed, you need to create a\n`requirements.yml` in your project with the content above.\n\n\n# Role Variables\n\n``` yaml\n# The icingaweb2 web ui password\nicinga2_web_admin_pass: 'passw0rd'\n\n# icinga2 API host\nicinga2_web_api_host: 127.0.0.1\n\n# icinga2 API port\nicinga2_web_api_port: 5665\n\n# icinga2 API user\nicinga2_web_api_user: icingaweb2\n\n# icinga2 API password\nicinga2_web_api_pass: 'passw0rd'\n\n\n## icingaweb2 database settings\n# The icingaweb2 database name\nicinga2_web_icingaweb2_database_name: icingaweb2\n\n# The icingaweb2 database user\nicinga2_web_icingaweb2_database_user: icingaweb2\n\n# The icingaweb2 database password\nicinga2_web_icingaweb2_database_pass: 'passw0rd'\n\n# The icingaweb2 database host\nicinga2_web_icingaweb2_database_host: 127.0.0.1\n\n# The icingaweb2 database port\nicinga2_web_icingaweb2_database_port: 3306\n\n\n## Icinga2 database settings\n# icinga2 database name\nicinga2_web_icinga2_database_name: icinga2\n#\n# icinga2 database host\nicinga2_web_icinga2_database_host: 127.0.0.1\n\n# icinga2 database port\nicinga2_web_icinga2_database_port: 3306\n\n# icinga2 database user\nicinga2_web_icinga2_database_user: icinga2\n\n# icinga2 database password\nicinga2_web_icinga2_database_pass: 'passw0rd'\n```\n\n## LDAP Authentication\n\nTo configure LDAP authentication, the following variables MUST be\nconfigured. It is possible to enable multiple configuration backends.\n\n``` yaml\n# Icingaweb2 LDAP authentication\n# For further information, consult the official icingaweb2 documentation at\n# https://icinga.com/docs/icingaweb2/latest/doc/04-Resources/#ldap\n#icinga2_web_ldap:\n#  - name: res_ldap_example_com\n#    host: ldap.example.com\n#    port: 636\n#    encryption: ldaps\n#    root_dn: 'cn=accounts,dc=ldap,dc=example,dc=com'\n#    bind_dn: 'uid=icingaweb2.auth,cn=systems,dc=ldap,dc=example,dc=com'\n#    bind_pw: 'ldap password'\n#    timeout: 5\n```\n\n``` yaml\n# Icingaweb2 LDAP User configuration\n# For further information, consult the official icingaweb2 documentation at\n# https://icinga.com/docs/icingaweb2/latest/doc/05-Authentication/#ldap\n#\n#icinga2_web_ldap_userconf:\n#  - name: user_ldap_example_com # required\n#    resource: 'res_ldap_example_com' # required\n#    user_class: 'inetOrgPerson' # required\n#    user_name_attribute: 'uid' # required\n#    base_dn: 'cn=accounts,dc=ldap,dc=example,dc=com' # optional\n#    filter: \"(somefilter)\" # optional\n\nicinga2_web_ldap_userconf: []\n```\n\n``` yaml\n# Icingaweb2 LDAP Group configuration\n# For further information, consult the official icingaweb2 documentation at\n# https://icinga.com/docs/icingaweb2/latest/doc/05-Authentication/#ldap-groups\n#\n#icinga2_web_ldap_groupconf:\n#  - name: group_ldap_example_com # required\n#    resource: 'res_ldap_example_com' # required\n#    user_backend = \"user_ldap_examle_com\" # required\n#    user_class: 'user' # optional\n#    user_name_attribute: 'uid' # optional\n#    group_class: 'group' # optional\n#    group_name_attribute: 'gid' # optional\n#    group_member_attribute: 'memberUid' # optional\n#    group_filter: '(somefilter)' # optional\n```\n\n## Icingaweb2 permissions\n\n``` yaml\n# Icinga2 Permissions configuration\n# For further information, consult the official icingaweb2 documentation at\n# https://icinga.com/docs/icingaweb2/latest/doc/06-Security/#configuration\n#\n#icinga2_web_permissions:\n#  - name: Administrators\n#    users:\n#      - admin\n#    groups:\n#      - Administrators\n#    permissions:\n#      '*'\n#    object_filter: \"\"\n#  - name: customer\n#    users:\n#      - customer1\n#    permissions:\n#      'monitoring/command/*,module/*'\n#    object_filter: 'host_name=*.customer.example.com\"'\n```\n\n# Example Playbook\n\n``` yaml\n- hosts: servers\n  roles:\n     - { role: adfinis.icinga2_web }\n```\n\n# License\n\n[GPL-3.0](https://github.com/adfinis/ansible-role-icinga2_web/blob/master/LICENSE)\n\n# Author Information\n\nicinga2_web role was written by:\n\n-   Adfinis AG \\| [Website](https://www.adfinis.com/) \\|\n    [Twitter](https://twitter.com/adfinis) \\|\n    [GitHub](https://github.com/adfinis)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadfinis%2Fansible-role-icinga2_web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadfinis%2Fansible-role-icinga2_web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadfinis%2Fansible-role-icinga2_web/lists"}