main.yml 483 B

1234567891011121314151617
  1. ---
  2. # tasks file for oso_monitoring_tools
  3. - name: Install the Openshift Tools RPMS
  4. yum:
  5. name: "{{ item }}"
  6. state: latest
  7. with_items:
  8. - openshift-tools-scripts-monitoring-zagg-client
  9. - python-openshift-tools-monitoring-zagg
  10. - debug: var=g_zagg_client_config
  11. - name: Generate the /etc/openshift_tools/zagg_client.yaml config file
  12. copy:
  13. content: "{{ osomt_zagg_client_config | to_nice_yaml }}"
  14. dest: /etc/openshift_tools/zagg_client.yaml
  15. mode: "644"