Nessuna descrizione
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

main.yml 1.3KB

1234567891011121314151617181920212223242526272829
  1. grafana_subdomain: "iot"
  2. grafana_domain: "{{ grafana_subdomain }}.{{ domain }}"
  3. grafana_internal_port: '2942'
  4. mqtt_admin_version: '1.0.0'
  5. mqtt_admin_release: "https://github.com/hobbyquaker/mqtt-admin/releases/download/v{{ mqtt_admin_version }}/mqtt-admin_{{ mqtt_admin_version }}.zip"
  6. grafana_main_user: "{{ main_user_name }}"
  7. grafana_main_user_password: "{{ lookup('password', secret + '/' + 'grafana_main_user_password length=20 chars=hexdigits') }}"
  8. mosquitto_users:
  9. - name: "{{ main_user_name }}"
  10. password: "{{ lookup('password', secret + '/' + 'mosquitto_main_user_password length=20 chars=hexdigits') }}"
  11. grafana_signing_key: "{{ lookup('password', secret + '/' + 'grafana_signing_key length=20 chars=hexdigits') }}"
  12. grafana_db_username: grafanauser
  13. grafana_db_password: "{{ lookup('password', secret + '/' + 'grafana_db_password length=32 chars=hexdigits') }}"
  14. grafana_db_database: grafana
  15. # must match values in roles/common
  16. db_admin_username: 'postgres'
  17. db_admin_password: "{{ lookup('password', secret + '/' + 'db_admin_password length=32') }}"
  18. lights_web_release: "https://git.xythobuz.de/thomas/lights-web/archive/master.zip"
  19. lights_web_username: "{{ main_user_name }}"
  20. lights_web_password: "{{ lookup('password', secret + '/' + 'mosquitto_main_user_password length=20 chars=hexdigits') }}"