Ingen beskrivning
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

main.yml 1.0KB

123456789101112131415161718192021222324
  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') }}"