dashboard.yml 607 B

1234567891011121314151617181920
  1. ---
  2. # tasks/Ubuntu/dashboard.yml: Deployment of the Uchiwa dashboard
  3. # Specific to Ubuntu
  4. - include_vars: "{{ ansible_distribution }}.yml"
  5. - name: Retrieve the Uchiwa deb package
  6. get_url:
  7. url: "{{ uchiwa_pkg_download_url }}"
  8. dest: "{{ uchiwa_pkg_download_path }}"
  9. sha256sum: "{{ uchiwa_pkg_download_sha256sum }}"
  10. - name: Install Uchiwa from the retrieved deb package
  11. apt: deb={{ uchiwa_pkg_download_path }}
  12. - name: Deploy Uchiwa config
  13. template:
  14. src: uchiwa_config.json.j2
  15. dest: "{{ sensu_config_path }}/uchiwa.json"
  16. notify: restart uchiwa service