Skip to content

ndgit/ansible-role-icinga2_client

 
 

Repository files navigation

ROLE ICINGA2_CLIENT

image

image

image

This role is used to configure the icinga2 client and request certificates from the icinga2 master.

Role Variables

# The icinga2 parent hosts. Only 2 allowed.
# https://github.com/Icinga/icinga2/issues/3533
icinga2_client_monitoring_parents:
  - monitoring-master1.example.com
  - monitoring-master2.example.com

# The default icinga2 parent zone
icinga2_client_parent_zone: "monitoring-master"

# The API url of the icinga2 master. Defaults to the first parent
icinga2_client_api_url: "https://{{ icinga2_client_monitoring_parents[0] }}:5665"

# The API user of the icinga2 master
# The user needs at least permissions to create ticket tokens.
icinga2_client_api_user: "root"

# The API password of the icinga2 master
icinga2_client_api_pass: "passw0rd"

Dependencies

This role depends on the role adfinis-sygroup.icinga2_agent, which installs the icinga2 binary.

Example Playbook

- hosts: servers
  roles:
   - { role: adfinis-sygroup.icinga2_agent }
   - { role: adfinis-sygroup.icinga2_client }

License

GPL-3.0

Author Information

icinga2_client role was written by:

About

This role is used to configure an icinga2 client

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 100.0%