summaryrefslogtreecommitdiffstats
path: root/roles/oso_monitoring_tools/tasks/main.yml
blob: c90fc56e241c8bade09e7a3a81378cfff2eb500f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
# tasks file for oso_monitoring_tools
- name: Install the Openshift Tools RPMS
  yum:
    name: "{{ item }}"
    state: latest
  with_items:
    - openshift-tools-scripts-monitoring-zagg-client
    - python-openshift-tools-monitoring-zagg
    - python-openshift-tools-monitoring-zabbix

- debug: var=g_zagg_client_config

- name: Generate the /etc/openshift_tools/zagg_client.yaml config file
  copy:
    content: "{{ osomt_zagg_client_config | to_nice_yaml }}"
    dest: /etc/openshift_tools/zagg_client.yaml
    mode: "644"