dashboard.yml 467 B

123456789101112131415161718192021
  1. ---
  2. # tasks/Ubuntu/dashboard.yml: Deployment of the Uchiwa dashboard
  3. # Specific to Ubuntu
  4. - name: Include ansible_distribution vars
  5. include_vars:
  6. file: "{{ ansible_distribution }}.yml"
  7. tags: dashboard
  8. - name: Install Uchiwa
  9. tags: dashboard
  10. apt:
  11. name: uchiwa
  12. state: present
  13. - name: Deploy Uchiwa config
  14. tags: dashboard
  15. template:
  16. src: uchiwa_config.json.j2
  17. dest: "{{ sensu_config_path }}/uchiwa.json"
  18. notify: restart uchiwa service