This role will instantiate a ilo-exporter container on targeted hosts.
Docker must be available and running on the targeted hosts.
The EPEL repository must be available on the targeted hosts.
Default values of variables:
ilo_exporter_image: 'quay.io/redhat-cop/monitoring-hpilo-exporter'
ilo_exporter_image_version: 'latest'
ilo_exporter_port: '9416'
provision_state: "started"
ilo_exporter_image
- The ilo exporter image to deploy.
ilo_exporter_image_version
- The image tag to deploy.
ilo_exporter_port
- The port to expose on the target hosts.
provision_state
- Options: [absent, killed, present, reloaded, restarted, started (default), stopped]
Snippet below configures targets for the iLO exporter.
ilo_user: "Administrator"
ilo_password: "password123"
ilo_port: 443
ilo_hosts:
- 10.0.0.1
- 10.0.0.2
- 10.0.0.3
The docker server >= 0.10.0
- name: Setup ilo exporters
hosts: prometheus_scraper
become: True
vars:
provision_state: "started"
roles:
- prometheus/generic/setup-ilo-exporter
Apache License 2.0
Red Hat Community of Practice & staff of the Red Hat Open Innovation Labs.